server

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorOptions

type OperatorOptions struct {
	QPS            float64
	Burst          int
	ResyncPeriod   time.Duration
	MaxNumRequeues int
	NumThreads     int
}

func NewOperatorOptions

func NewOperatorOptions() *OperatorOptions

func (*OperatorOptions) AddFlags

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

func (*OperatorOptions) AddGoFlags

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

func (*OperatorOptions) ApplyTo

func (*OperatorOptions) Complete

func (s *OperatorOptions) Complete() error

func (OperatorOptions) Config

func (OperatorOptions) Run

func (s OperatorOptions) Run(ctx context.Context) error

func (*OperatorOptions) Validate

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

Jump to

Keyboard shortcuts

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