Documentation ¶
Index ¶
Constants ¶
View Source
const (
ServiceHashKey = "io.rancher.service.hash"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceHash ¶
type ServiceHash struct { Service string `json:"service,omitempty" yaml:"service,omitempty"` LaunchConfig string `json:"launch_config,omitempty" yaml:"launch_config,omitempty"` SecondaryLaunchConfigs map[string]string `json:"secondary_launch_configs,omitempty" yaml:"secondary_launch_configs,omitempty"` }
func CreateServiceHash ¶
func CreateServiceHash(rancherService interface{}, launchConfig *rancherClient.LaunchConfig, secondaryLaunchConfigs []rancherClient.SecondaryLaunchConfig) (ServiceHash, error)
func LookupHash ¶
func LookupHash(service *rancherClient.Service) (ServiceHash, bool)
func (ServiceHash) Equals ¶
func (s ServiceHash) Equals(hash ServiceHash) bool
Click to show internal directories.
Click to hide internal directories.