github.com/metux/go-metabuild@v0.0.0-20240118143255-d9ed5ab697f9/spec/distro/keys.go (about)

     1  package distro
     2  
     3  import (
     4  	"github.com/metux/go-magicdict/api"
     5  )
     6  
     7  type Key = api.Key
     8  
     9  const (
    10  	DistTypeDebian = "debian"
    11  	DistTypeRHEL   = "rhel"
    12  	DistTypeSLES   = "sles"
    13  )
    14  
    15  // attributes of per-distro blocks
    16  const (
    17  	KeyPackageFormat = Key("pkg-format")
    18  	KeyPackages      = Key("packages")
    19  )
    20  
    21  // supported packaging formats (KeyPackageFormat)
    22  const (
    23  	PkgFormatDeb = "deb"
    24  	PkgFormatRpm = "rpm"
    25  )