server

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtraOptions

type ExtraOptions struct {
	QPS   float64
	Burst int

	ResyncPeriod           time.Duration
	MaxConcurrentReconcile int // NumThreads
	RequeueAfterDuration   time.Duration
	MaxRetryOnFailure      int // MaxNumRequeues
	RetryAfterDuration     time.Duration
	BeforeDeadlineDuration time.Duration

	EnableValidatingWebhook bool
	EnableMutatingWebhook   bool
}

func NewExtraOptions

func NewExtraOptions() *ExtraOptions

func (*ExtraOptions) AddFlags

func (s *ExtraOptions) AddFlags(fs *pflag.FlagSet)

func (*ExtraOptions) AddGoFlags

func (s *ExtraOptions) AddGoFlags(fs *flag.FlagSet)

func (*ExtraOptions) ApplyTo

func (s *ExtraOptions) ApplyTo(cfg *controllers.Config) error

func (*ExtraOptions) Validate

func (c *ExtraOptions) Validate() []error

type SupervisorOperatorOptions

type SupervisorOperatorOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	ExtraOptions       *ExtraOptions

	StdOut io.Writer
	StdErr io.Writer
}

func NewSupervisorOperatorOptions

func NewSupervisorOperatorOptions(out, errOut io.Writer) *SupervisorOperatorOptions

func (SupervisorOperatorOptions) AddFlags

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

func (*SupervisorOperatorOptions) Complete

func (o *SupervisorOperatorOptions) Complete() error

func (SupervisorOperatorOptions) Config

func (SupervisorOperatorOptions) Run

func (SupervisorOperatorOptions) Validate

func (o SupervisorOperatorOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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