options

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package options contains flags and options for initializing controller-manager

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Config               *util.ControllerConfig
	FeatureGates         map[string]bool
	ClusterMonitorPeriod time.Duration
	LimitedScope         bool
	InstallCRDs          bool
	LeaderElection       *util.LeaderElectionConfiguration
}

Options contains everything necessary to create and run controller-manager.

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

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

AddFlags adds flags to fs and binds them to options.

Jump to

Keyboard shortcuts

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