digest

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2017 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 *client.LaunchConfig, secondaryLaunchConfigs []client.SecondaryLaunchConfig) (ServiceHash, error)

func LookupHash

func LookupHash(service *client.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