options

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	LeaderElect                bool
	LeaderElection             *leaderelection.LeaderElectionConfig
	LeaderElectionResourceLock string
	MaxConcurrent              int
	MaxRetry                   int
	RateLimiterOptions         utilcontroller.RateLimiterOptions
}

func NewOptions

func NewOptions() *Options

func (*Options) Flags

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

func (*Options) Validate

func (s *Options) Validate() []error

Jump to

Keyboard shortcuts

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