cmd

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 18 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 PolicyFilterConfig

type PolicyFilterConfig struct {
	// contains filtered or unexported fields
}

PolicyFilterConfig contains configuration information about the networking policy filter.

func (*PolicyFilterConfig) Apply

func (c *PolicyFilterConfig) Apply(config *controllerconfig.Config)

Apply applies the PolicyFilterOptions to the passed ControllerOptions instance.

func (*PolicyFilterConfig) ApplyHealthCheckConfig

func (c *PolicyFilterConfig) ApplyHealthCheckConfig(config *extensionsconfig.HealthCheckConfig)

ApplyHealthCheckConfig applies the HealthCheckConfig to the config.

func (*PolicyFilterConfig) Config

func (*PolicyFilterConfig) Oauth2Config

func (c *PolicyFilterConfig) Oauth2Config() *apisconfig.OAuth2Secret

type PolicyFilterOptions

type PolicyFilterOptions struct {
	ConfigLocation  string
	OAuth2ConfigDir string
	// contains filtered or unexported fields
}

PolicyFilterOptions holds options related to the policy filter controller.

func (*PolicyFilterOptions) AddFlags

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

AddFlags implements Flagger.AddFlags.

func (*PolicyFilterOptions) Complete

func (o *PolicyFilterOptions) Complete() error

Complete implements Completer.Complete.

func (*PolicyFilterOptions) Completed

func (o *PolicyFilterOptions) Completed() *PolicyFilterConfig

Completed returns the decoded PolicyFilterConfig 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