cmd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0, MIT Imports: 5 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.

Jump to

Keyboard shortcuts

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