cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SyncPeriod = 30 * time.Second
	ChartPath  = "charts"
)

Variables

This section is empty.

Functions

func ControllerSwitches

func ControllerSwitches() *cmd.SwitchOptions

ControllerSwitches are the cmd.SwitchOptions for the provider controllers.

Types

type ExtensionOptions

type ExtensionOptions struct {
	HealthCheckSyncPeriod  time.Duration
	ChartPath              string
	AdditionalAllowedCidrs string
}

ExtensionOptions holds options related to the extension (not the extension controller)

func (*ExtensionOptions) AddFlags

func (o *ExtensionOptions) AddFlags(fs *pflag.FlagSet)

AddFlags implements Flagger.AddFlags.

func (*ExtensionOptions) Apply

func (o *ExtensionOptions) Apply(config *controllerconfig.Config)

Apply applies the ExtensionOptions to the passed ControllerConfig instance.

func (*ExtensionOptions) ApplyHealthCheckConfig

func (o *ExtensionOptions) ApplyHealthCheckConfig(config *healthcheckconfig.HealthCheckConfig)

func (*ExtensionOptions) Complete

func (o *ExtensionOptions) Complete() error

Complete implements Completer.Complete.

func (*ExtensionOptions) Completed

func (o *ExtensionOptions) Completed() *ExtensionOptions

Jump to

Keyboard shortcuts

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