cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0, MIT 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 added in v0.2.0

func WebhookSwitchOptions() *webhookcmd.SwitchOptions

WebhookSwitchOptions are the webhookcmd.SwitchOptions for the registry-cache webhook.

Types

type RegistryOptions

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

RegistryOptions holds options related to the registry service.

func (*RegistryOptions) AddFlags

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

AddFlags implements Flagger.AddFlags.

func (*RegistryOptions) Complete

func (o *RegistryOptions) Complete() error

Complete implements Completer.Complete.

func (*RegistryOptions) Completed

func (o *RegistryOptions) Completed() *RegistryServiceConfig

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

type RegistryServiceConfig

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

RegistryServiceConfig contains configuration information about the registry service.

func (*RegistryServiceConfig) Apply

func (c *RegistryServiceConfig) Apply(config *configapi.Configuration)

Apply applies the RegistryOptions to the passed ControllerOptions instance.

Jump to

Keyboard shortcuts

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