cmd

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControllerSwitchOptions

func ControllerSwitchOptions() *controllercmd.SwitchOptions

ControllerSwitchOptions are the controllercmd.SwitchOptions for the provider controllers.

func WebhookSwitchOptions

func WebhookSwitchOptions() *webhookcmd.SwitchOptions

WebhookSwitchOptions are the webhookcmd.SwitchOptions for the provider webhooks.

Types

type AuthOptions

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

RegistryOptions holds options related to the registry service.

func (*AuthOptions) AddFlags

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

AddFlags implements Flagger.AddFlags.

func (*AuthOptions) Complete

func (o *AuthOptions) Complete() error

Complete implements Completer.Complete.

func (*AuthOptions) Completed

func (o *AuthOptions) Completed() *AuthServiceConfig

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

type AuthServiceConfig

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

RegistryServiceConfig contains configuration information about the registry service.

func (*AuthServiceConfig) Apply

Apply applies the RegistryOptions to the passed ControllerOptions instance.

func (*AuthServiceConfig) ApplyHealthCheckConfig

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

ApplyHealthCheckConfig applies the HealthCheckConfig.

Jump to

Keyboard shortcuts

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