options

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerManagerUserAgent = "controller-manager"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	LeaderElection   componentbaseconfig.LeaderElectionConfiguration
	ClientConnection componentbaseconfig.ClientConnectionConfiguration

	Logs *logs.Options

	Master     string
	Kubeconfig string
}

func NewControllerManagerOptions

func NewControllerManagerOptions() (*Options, error)

func (*Options) Config

func (o *Options) Config() (*config.Config, error)

func (*Options) Flags

func (o *Options) Flags() cliflag.NamedFlagSets

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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