bluegreen

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() parser.IngressAnnotation

NewParser creates a new blue/green annotation parser

Types

type Config

type Config struct {
	DeployWeight []DeployWeight
}

Config is the blue/green deployment configuration

func (*Config) Equal

func (b1 *Config) Equal(b2 *Config) bool

Equal tests equality between two Config objects

type DeployWeight

type DeployWeight struct {
	LabelName  string
	LabelValue string
	Weight     int
}

DeployWeight has one label name/value pair and it's weight

func (*DeployWeight) Equal

func (dw1 *DeployWeight) Equal(dw2 *DeployWeight) bool

Equal tests equality between two DeployWeight objects

Jump to

Keyboard shortcuts

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