Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControllerSwitches ¶
func ControllerSwitches() *cmd.SwitchOptions
ControllerSwitches are the cmd.ControllerSwitches for the extension controllers.
Types ¶
type NetworkProblemDetectorConfig ¶
type NetworkProblemDetectorConfig struct {
// contains filtered or unexported fields
}
NetworkProblemDetectorConfig contains configuration information about the network problem detector.
func (*NetworkProblemDetectorConfig) Apply ¶
func (c *NetworkProblemDetectorConfig) Apply(config *controllerconfig.Config)
Apply applies the NetworkProblemDetectorOptions to the passed ControllerOptions instance.
func (*NetworkProblemDetectorConfig) ApplyHealthCheckConfig ¶
func (c *NetworkProblemDetectorConfig) ApplyHealthCheckConfig(config *healthcheckconfig.HealthCheckConfig)
ApplyHealthCheckConfig applies the HealthCheckConfig to the config.
type NetworkProblemDetectorOptions ¶
type NetworkProblemDetectorOptions struct { ConfigLocation string // contains filtered or unexported fields }
NetworkProblemDetectorOptions holds options related to the network problem detector controller.
func (*NetworkProblemDetectorOptions) AddFlags ¶
func (o *NetworkProblemDetectorOptions) AddFlags(fs *pflag.FlagSet)
AddFlags implements Flagger.AddFlags.
func (*NetworkProblemDetectorOptions) Complete ¶
func (o *NetworkProblemDetectorOptions) Complete() error
Complete implements Completer.Complete.
func (*NetworkProblemDetectorOptions) Completed ¶
func (o *NetworkProblemDetectorOptions) Completed() *NetworkProblemDetectorConfig
Completed returns the decoded NetworkProblemDetectorConfig instance. Only call this if `Complete` was successful.
Click to show internal directories.
Click to hide internal directories.