options

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0, BSD-3-Clause Imports: 9 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCServer

type MCServer struct {
	machineconfig.MachineControllerConfiguration

	ControlKubeconfig string
	TargetKubeconfig  string
}

MCServer is the main context object for the machine controller.

func NewMCServer

func NewMCServer() *MCServer

NewMCServer creates a new MCServer with a default config.

func (*MCServer) AddFlags

func (s *MCServer) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific CMServer to the specified FlagSet

func (*MCServer) Validate

func (s *MCServer) Validate() error

Validate is used to validate the options and config before launching the controller manager

Jump to

Keyboard shortcuts

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