app

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartGardenerControllerManager

func NewCommandStartGardenerControllerManager() *cobra.Command

NewCommandStartGardenerControllerManager creates a *cobra.Command object with default parameters

Types

type Gardener

type Gardener struct {
	Config                 *config.ControllerManagerConfiguration
	ClientMap              clientmap.ClientMap
	K8sGardenCoreInformers gardencoreinformers.SharedInformerFactory
	KubeInformerFactory    informers.SharedInformerFactory
	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(ctx context.Context) 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.

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

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

Jump to

Keyboard shortcuts

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