cmd

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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

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

Completed returns the decoded NetworkProblemDetectorConfig instance. Only call this if `Complete` was successful.

Jump to

Keyboard shortcuts

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