package options

import "k8s.io/kubernetes/cmd/kube-controller-manager/app/options"

Package options provides the flags used for the controller manager.

Index

Types

type CMServer

type CMServer struct {
	componentconfig.KubeControllerManagerConfiguration

	Master     string
	Kubeconfig string
}

CMServer is the main context object for the controller manager.

func NewCMServer

func NewCMServer() *CMServer

NewCMServer creates a new CMServer with a default config.

func (*CMServer) AddFlags

func (s *CMServer) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []string)

AddFlags adds flags for a specific CMServer to the specified FlagSet

func (*CMServer) Validate

func (s *CMServer) Validate(allControllers []string, disabledByDefaultControllers []string) error

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

Source Files

options.go

Version
v1.8.5-beta.0
Published
Nov 20, 2017
Platform
js/wasm
Imports
14 packages
Last checked
1 minute ago

Tools for package owners.