options

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 3 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
	Scope                    apiextv1b1.ResourceScope
	LeaderElection           *util.LeaderElectionConfiguration
	ClusterHealthCheckConfig util.ClusterHealthCheckConfig
}

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