server

package
v0.0.0-...-425e462 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: Apache-2.0 Imports: 28 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 {
	ConfigRoot       string
	ConfigSecretName string
	ResyncPeriod     time.Duration
	MaxNumRequeues   int
	NumThreads       int
	IncidentTTL      time.Duration
	// contains filtered or unexported fields
}

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 (s *OperatorOptions) ApplyTo(cfg *operator.OperatorConfig) error

type SearchlightOptions

type SearchlightOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	OperatorOptions    *OperatorOptions

	StdOut io.Writer
	StdErr io.Writer
}

func NewSearchlightOptions

func NewSearchlightOptions(out, errOut io.Writer) *SearchlightOptions

func (SearchlightOptions) AddFlags

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

func (*SearchlightOptions) Complete

func (o *SearchlightOptions) Complete(cmd *cobra.Command) error

func (SearchlightOptions) Config

func (SearchlightOptions) Run

func (o SearchlightOptions) Run(stopCh <-chan struct{}) error

func (SearchlightOptions) Validate

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

Jump to

Keyboard shortcuts

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