Documentation ¶
Index ¶
- Constants
- func ControllerSwitches() *cmd.SwitchOptions
- type ExtensionOptions
- func (o *ExtensionOptions) AddFlags(fs *pflag.FlagSet)
- func (o *ExtensionOptions) Apply(config *controllerconfig.Config)
- func (o *ExtensionOptions) ApplyHealthCheckConfig(config *healthcheckconfig.HealthCheckConfig)
- func (o *ExtensionOptions) Complete() error
- func (o *ExtensionOptions) Completed() *ExtensionOptions
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
Click to show internal directories.
Click to hide internal directories.