cmd

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 17 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.

func WebhookSwitchOptions

func WebhookSwitchOptions() *webhookcmd.SwitchOptions

WebhookSwitchOptions are the webhookcmd.SwitchOptions for the oidc webhooks.

Types

type OIDCServiceConfig

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

OIDCServiceConfig contains configuration information about the OIDC service.

func (*OIDCServiceConfig) Apply

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

Apply applies the OIDCServiceOptions to the passed ControllerOptions instance.

func (*OIDCServiceConfig) ApplyHealthCheckConfig

func (c *OIDCServiceConfig) ApplyHealthCheckConfig(config *healthcheckconfig.HealthCheckConfig)

ApplyHealthCheckConfig applies the HealthCheckConfig to the config.

type OIDCServiceOptions

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

OIDCServiceOptions holds options related to the OIDC service.

func (*OIDCServiceOptions) AddFlags

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

AddFlags implements Flagger.AddFlags.

func (*OIDCServiceOptions) Complete

func (o *OIDCServiceOptions) Complete() error

Complete implements Completer.Complete.

func (*OIDCServiceOptions) Completed

func (o *OIDCServiceOptions) Completed() *OIDCServiceConfig

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