package options

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

Package options provides the flags used for the controller manager.

CAUTION: If you update code in this file, you may need to also update code

in contrib/mesos/pkg/controllermanager/controllermanager.go

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)

AddFlags adds flags for a specific CMServer to the specified FlagSet

Source Files

options.go

Version
v1.4.12-beta.0
Published
Apr 20, 2017
Platform
js/wasm
Imports
7 packages
Last checked
1 minute ago

Tools for package owners.