cmd

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControllerSwitches

func ControllerSwitches() *cmd.SwitchOptions

SwitchOptions are the cmd.SwitchOptions for the provider controllers.

Types

type DNSServiceConfig

type DNSServiceConfig struct {
	GardenID string
	SeedID   string
	DNSClass string
}

DNSServiceConfig contains configuration information about the dns service.

func (*DNSServiceConfig) Apply

func (c *DNSServiceConfig) Apply(cfg *config.Config)

Apply applies the DNSServiceOptions to the passed ControllerOptions instance.

type DNSServiceOptions

type DNSServiceOptions struct {
	GardenID string
	SeedID   string
	DNSClass string
	// contains filtered or unexported fields
}

DNSServiceOptions holds options related to the dns service.

func (*DNSServiceOptions) AddFlags

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

AddFlags implements Flagger.AddFlags.

func (*DNSServiceOptions) Complete

func (o *DNSServiceOptions) Complete() error

Complete implements Completer.Complete.

func (*DNSServiceOptions) Completed

func (o *DNSServiceOptions) Completed() *DNSServiceConfig

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

type HealthConfig added in v1.2.0

type HealthConfig struct {
	HealthCheckSyncPeriod metav1.Duration
}

HealthConfig contains configuration information about the health check controller.

func (*HealthConfig) ApplyHealthCheckConfig added in v1.2.0

func (c *HealthConfig) ApplyHealthCheckConfig(config *config.HealthCheckConfig)

type HealthOptions added in v1.2.0

type HealthOptions struct {
	HealthCheckSyncPeriod time.Duration
	// contains filtered or unexported fields
}

func (*HealthOptions) AddFlags added in v1.2.0

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

AddFlags implements Flagger.AddFlags.

func (*HealthOptions) Complete added in v1.2.0

func (o *HealthOptions) Complete() error

Complete implements Completer.Complete.

func (*HealthOptions) Completed added in v1.2.0

func (o *HealthOptions) Completed() *HealthConfig

Completed returns the completed HealthOptions. 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