Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(globalConfig globalConfig) *maintenanceSwitch
New create a new instance of maintenanceSwitch.
func NewWithLooseCoupling ¶ added in v0.4.0
func NewWithLooseCoupling(globalConfig globalConfig, clientSet statefulSetInterface, serviceInterface serviceInterface) *looselyCoupledMaintenanceSwitch
NewWithLooseCoupling creates a switch that checks if the configuration registry (e.g., etcd) exists before switching. If the registry does not exist, no switch is executed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.