controllermanager

package
v1.4.5-rancher1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2016 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Overview

Package controllermanager is largely a clone of the upstream implementation, with additional functionality to select between stock or a customized endpoints controller.

Index

Constants

View Source
const (
	// Jitter used when starting controller managers
	ControllerStartJitter = 1.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CMServer

type CMServer struct {
	*options.CMServer
	UseHostPortEndpoints bool
}

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

func (*CMServer) Run

func (s *CMServer) Run(_ []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL