app

package
v0.0.0-...-b43e092 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0, MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(options *Options, fs *pflag.FlagSet)

AddFlags adds flags for a specific Gardener controller manager to the specified FlagSet.

func NewCommandStartGardenerControllerManager

func NewCommandStartGardenerControllerManager(stopCh chan struct{}) *cobra.Command

NewCommandStartGardenerControllerManager creates a *cobra.Command object with default parameters

Types

type Gardener

type Gardener struct {
	Config            *componentconfig.ControllerManagerConfiguration
	Identity          *gardenv1beta1.Gardener
	GardenerNamespace string
	K8sGardenClient   kubernetes.Client
	Logger            *logrus.Logger
	Recorder          record.EventRecorder
	LeaderElection    *leaderelection.LeaderElectionConfig
}

Gardener represents all the parameters required to start the Gardener controller manager.

func NewGardener

NewGardener is the main entry point of instantiating a new Gardener controller manager.

func (*Gardener) Run

func (g *Gardener) Run(stopCh chan struct{}) error

Run runs the Gardener. This should never exit.

type Options

type Options struct {
	// ConfigFile is the location of the Gardener controller manager's configuration file.
	ConfigFile string
	// contains filtered or unexported fields
}

Options has all the context and parameters needed to run a Gardener controller manager.

func NewOptions

func NewOptions() (*Options, error)

NewOptions returns a new Options object.

Jump to

Keyboard shortcuts

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