Documentation
¶
Overview ¶
Package strategies provides built-in deployment strategy implementations. Strategies control how application updates are rolled out to instances.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueGreen ¶
type BlueGreen struct{}
BlueGreen implements a blue-green deployment strategy that provisions a new environment and switches traffic once ready.
func NewBlueGreen ¶
func NewBlueGreen() *BlueGreen
NewBlueGreen returns a new blue-green deployment strategy.
type Canary ¶
type Canary struct{}
Canary implements a canary deployment strategy that routes a percentage of traffic to the new version before full promotion.
type Recreate ¶
type Recreate struct{}
Recreate implements a recreate deployment strategy that stops the current version before starting the new one, resulting in brief downtime.
func NewRecreate ¶
func NewRecreate() *Recreate
NewRecreate returns a new recreate deployment strategy.