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: 12 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
	KahuInformer     kahuinformer.SharedInformerFactory
	DynamicClient    dynamic.Interface
	DiscoveryHelper  discovery.DiscoveryHelper
	EventBroadcaster record.EventBroadcaster
	HookExecutor     hooks.Hooks
	PodCmdExecutor   hooks.PodCommandExecutor
}

func (*CompletedConfig) Print

func (cfg *CompletedConfig) Print()

type Config

type Config struct {
	ControllerWorkers      int
	EnableLeaderElection   bool
	DisableControllers     []string
	KahuClientConfig       client.Config
	BackupControllerConfig backup.Config
	LeaderLockNamespace    string
	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