config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

type CompletedConfig struct {
	*Config
	ClientFactory    client.Factory
	KubeClient       kubernetes.Interface
	KahuClient       versioned.Interface
	InformerFactory  externalversions.SharedInformerFactory
	EventBroadcaster record.EventBroadcaster
}

func (*CompletedConfig) Print

func (cfg *CompletedConfig) Print()

type Config

type Config struct {
	ControllerWorkers    int               `json:"controllerWorkers"`
	EnableLeaderElection bool              `json:"enableLeaderElection"`
	DriverEndpoint       string            `json:"driverEndpoint"`
	DisableControllers   []string          `json:"disableControllers"`
	KahuClientConfig     client.Config     `json:",inline"`
	Provider             string            `json:"provider"`
	Version              string            `json:"version,omitempty"`
	Manifest             map[string]string `json:"manifest,omitempty"`
	LeaderLockNamespace  string            `json:"leaderLockNamespace,omitempty"`
	LeaderLeaseDuration  time.Duration
	LeaderRenewDeadline  time.Duration
	LeaderRetryPeriod    time.Duration
}

func (*Config) Complete

func (cfg *Config) Complete() (*CompletedConfig, error)

Jump to

Keyboard shortcuts

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