Help us shape the future of Go! Take the 2026 Go Developer Survey

options

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0, BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCMServer

type MCMServer struct {
	machineconfig.MachineControllerManagerConfiguration

	ControlKubeconfig string
	TargetKubeconfig  string
}

MCMServer is the main context object for the controller manager.

func NewMCMServer

func NewMCMServer() *MCMServer

NewMCMServer creates a new MCMServer with a default config.

func (*MCMServer) AddFlags

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

AddFlags adds flags for a specific CMServer to the specified FlagSet

func (*MCMServer) Validate

func (s *MCMServer) 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