Documentation ¶
Index ¶
- Constants
- Variables
- func AllServices() ([]habpkg.HabPkg, error)
- func BinlinksForPackage(pkgName string) []string
- func ContainsCollection(needle string, haystack []string) bool
- func IsDataService(pkgName string) bool
- func ListProducts() []string
- func MetadataForPackage(pkgName string) *product.PackageMetadata
- func NormalizeNames(products []string)
- func RequiredProducts(productsIn []string) []string
- func ServicesInCollection(collection string) ([]habpkg.HabPkg, error)
- func ServicesInCollections(collections []string) ([]habpkg.HabPkg, error)
- func SupplementaryPackagesInCollection(collection string) ([]habpkg.HabPkg, error)
- func ValidateProductDeployment(products []string) error
Constants ¶
View Source
const ( AutomateCollectionName = "automate" BuilderCollectionName = "builder" ChefServerCollectionName = "chef-server" MonitoringCollectionName = "monitoring" )
well-known collections
Variables ¶
View Source
var AllBinds bind.Binds
AllBinds contains all the bindings that the deployment service is aware of
Functions ¶
func AllServices ¶
func BinlinksForPackage ¶
func ContainsCollection ¶
func IsDataService ¶
IsDataService is used during A1 -> A2 upgrades to start postgres/elasticsearch separately from the domain services.
func ListProducts ¶
func ListProducts() []string
func MetadataForPackage ¶
func MetadataForPackage(pkgName string) *product.PackageMetadata
func NormalizeNames ¶
func NormalizeNames(products []string)
func RequiredProducts ¶
func ServicesInCollections ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.