Documentation
¶
Overview ¶
Package rollout contains the rollout manager, allowing CloudNative-PG to spread Pod rollouts depending on the passed configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is the rollout manager. It is safe to use concurrently
type Result ¶
type Result struct {
// This is true when the Pod can be rolled out immediately
RolloutAllowed bool
// This is set with the amount of time the operator need
// to wait to rollout that Pod
TimeToWait time.Duration
}
Result is the output of the rollout manager, telling the operator how much time we need to wait to rollout a Pod
Click to show internal directories.
Click to hide internal directories.