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 (c *PolicyFilterConfig) Config() apisconfig.Configuration
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.
Click to show internal directories.
Click to hide internal directories.