digest

package
v0.8.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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