Documentation
¶
Overview ¶
Package switches provides new type that implements flag.Value interface -- Switches. It can be used for enabling/disabling controllers/webhooks in your controller manager.
Index ¶
Constants ¶
View Source
const (
All = "*"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Switches ¶
type Switches struct {
// contains filtered or unexported fields
}
func Make ¶ added in v0.3.0
Make creates an instance of Switches Same as New but returns copy of a struct, not a pointer
func (*Switches) DisabledByDefault ¶
DisabledByDefault returns names of all disabled items
func (*Switches) EnabledByDefault ¶ added in v0.3.0
EnabledByDefault returns names of all enabled items
Click to show internal directories.
Click to hide internal directories.