Versions in this module Expand all Collapse all v0 v0.8.3 Apr 19, 2016 Changes in this version + const BackendRE + const ColourBlue + const ColourGreen + const DeployGroup + const DeployGroupAltPort + const DeployGroupColour + const DeployProxyPort + const DeployStartedAt + const DeployTargetInstances + const HAProxyPidsQP + const HAProxyStatsQP + const ProxyAppId + var ErrorNoLabels = errors.New(...) + var ErrorNoServicePortSet = errors.New("No service port set") + var LabelFormatErr = "Please define the %s label" + type BGClient struct + func (c *BGClient) DeployBlueGreen(app *marathon.Application) (*marathon.Application, error) + func (c *BGClient) DeployBlueGreenFromFile(filename string) (*marathon.Application, error) + type BlueGreen interface + DeployBlueGreen func(app *marathon.Application) (*marathon.Application, error) + DeployBlueGreenFromFile func(filename string) (*marathon.Application, error) + func NewBlueGreenClient(marathon marathon.Marathon, opts *BlueGreenOptions) BlueGreen + type BlueGreenOptions struct + DryRun bool + EnvParams map[string]string + ErrorOnMissingParams bool + InitialInstances int + LoadBalancer string + ProxyWaitTimeout time.Duration + Resume bool + StepDelay time.Duration + Wait bool + func NewBlueGreenOptions() *BlueGreenOptions