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 ¶
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.