Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Concurrency is the number of servers that can be upgraded at a time. Concurrency int32 // CanaryNum is the number of canaries to do before proceeding with a general rollout. // Any canary failure fails the workflow. Canaries execute one at a time. CanaryNum int32 // MaxFailures is the maximum number of failures to tolerate before stopping. // You can have more failures than MaxFailures due to concurrency settings. MaxFailures int32 // Src is the path on disk to the binary to push. Src string // LB is the host:port of the load balancer. LB string // Pattern is the load balancer's Pool pattern. Pattern string // Backends are the backends that need to be updated, simply the host in IP:Port form. Backends []string }
Config represents the configuration file that details the work to be done.
Click to show internal directories.
Click to hide internal directories.