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.7.0-alpha.3
Published
May 5, 2017
Platform
js/wasm
Imports
12 packages
Last checked
2 minutes ago

Tools for package owners.