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 ¶
Validate is used to validate the options and config before launching the controller manager
Source Files ¶
options.go
- Version
- v1.6.0-beta.2
- Published
- Mar 8, 2017
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 10 minutes ago –
Tools for package owners.