ctrlmgr

package
v1.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	KubernetesConfig string

	AllowPrivileged bool

	LeaderElect bool

	WebhookCert       string
	WebhookServerPort int
}

func (*Config) Validate

func (c *Config) Validate() []error

type ControllerManager

type ControllerManager struct {
	*Config

	CtrlMgr ctrl.Manager
}

func NewCtrlMgrWithOpts

func NewCtrlMgrWithOpts(options *Config) *ControllerManager

func (*ControllerManager) Initialize

func (m *ControllerManager) Initialize() error

func (*ControllerManager) Run

func (m *ControllerManager) Run(stop <-chan struct{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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