options

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 2

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                    apiextv1.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