Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceTypeByName = map[ServiceType]string{
0: "Process",
1: "Container",
}
Functions ¶
This section is empty.
Types ¶
type ProvisionedService ¶
type ProvisionedServices ¶
type ProvisionedServices []*ProvisionedService
func CachedServices ¶
func CachedServices(machineClass string) (ProvisionedServices, error)
func Services ¶
func Services(machineClass string) (ProvisionedServices, error)
func (ProvisionedServices) Contains ¶
func (ps ProvisionedServices) Contains(name string, version uint64, typ ServiceType) bool
Contains will check if a list of provisioned services contains a specified service (specified by name, version and type)
type ServiceType ¶
type ServiceType uint
const ( ServiceTypeProcess ServiceType = 0 ServiceTypeContainer ServiceType = 1 )
Click to show internal directories.
Click to hide internal directories.