cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 14 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.SwitchOptions for the provider controllers.

func WebhookSwitchOptions

func WebhookSwitchOptions() *extensionscmdwebhook.SwitchOptions

WebhookSwitchOptions are the webhookcmd.SwitchOptions for the audit webhook.

Types

type AuditOptions

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

AuditOptions holds options related to the auditing service.

func (*AuditOptions) AddFlags

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

AddFlags implements Flagger.AddFlags.

func (*AuditOptions) Complete

func (o *AuditOptions) Complete() error

Complete implements Completer.Complete.

func (*AuditOptions) Completed

func (o *AuditOptions) Completed() *AuditServiceConfig

Completed returns the decoded AuditServiceConfiguration instance. Only call this if `Complete` was successful.

type AuditServiceConfig

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

AuditServiceConfig contains configuration information about the auditing service.

func (*AuditServiceConfig) Apply

func (c *AuditServiceConfig) Apply(config *apisconfig.Configuration)

Apply applies the AuditOptions to the passed ControllerOptions instance.

Jump to

Keyboard shortcuts

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