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 Mode string }
Config is the blue/green deployment configuration
type DeployWeight ¶
type DeployWeight struct { LabelName string LabelValue string PodWeight int PodCount int GroupWeight 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
Click to show internal directories.
Click to hide internal directories.