services

package
v0.0.0-...-7cac148 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 8

Documentation

Index

Constants

View Source
const (
	AutomateCollectionName   = "automate"
	BuilderCollectionName    = "builder"
	ChefServerCollectionName = "chef-server"
	WorkflowCollectionName   = "workflow"
	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 AllServices() ([]habpkg.HabPkg, error)

func BinlinksForPackage

func BinlinksForPackage(pkgName string) []string

func ContainsCollection

func ContainsCollection(needle string, haystack []string) bool

func IsDataService

func IsDataService(pkgName string) bool

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 RequiredProducts(productsIn []string) []string

func ServicesInCollection

func ServicesInCollection(collection string) ([]habpkg.HabPkg, error)

func ServicesInCollections

func ServicesInCollections(collections []string) ([]habpkg.HabPkg, error)

func SupplementaryPackagesInCollection

func SupplementaryPackagesInCollection(collection string) ([]habpkg.HabPkg, error)

func ValidateProductDeployment

func ValidateProductDeployment(products []string) error

Types

This section is empty.

Directories

Path Synopsis
internal
generated
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL