maintenance

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL