cmd

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 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.ControllerSwitches for the provider controllers.

Types

type DNSServiceConfig

type DNSServiceConfig struct {
	SeedID                    string
	DNSClass                  string
	ManageDNSProviders        bool
	ReplicateDNSProviders     bool
	RemoteDefaultDomainSecret *types.NamespacedName
}

DNSServiceConfig contains configuration information about the dns service.

func (*DNSServiceConfig) Apply

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

Apply applies the DNSServiceOptions to the passed ControllerOptions instance.

type DNSServiceOptions

type DNSServiceOptions struct {
	SeedID                    string
	DNSClass                  string
	ManageDNSProviders        bool
	ReplicateDNSProviders     bool
	RemoteDefaultDomainSecret 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

type HealthConfig struct {
	HealthCheckSyncPeriod metav1.Duration
}

HealthConfig contains configuration information about the health check controller.

func (*HealthConfig) ApplyHealthCheckConfig

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

ApplyHealthCheckConfig applies the `HealthConfig` to the passed health configurtaion.

type HealthOptions

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

HealthOptions holds options for health checks.

func (*HealthOptions) AddFlags

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

AddFlags implements Flagger.AddFlags.

func (*HealthOptions) Complete

func (o *HealthOptions) Complete() error

Complete implements Completer.Complete.

func (*HealthOptions) Completed

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