# Functions

New create a new instance of maintenanceSwitch.
NewWithLooseCoupling creates a switch that checks if the configuration registry (e.g., etcd) exists before switching.