Documentation ¶
Index ¶
- type OperatorOptions
- type SearchlightOptions
- func (o SearchlightOptions) AddFlags(fs *pflag.FlagSet)
- func (o *SearchlightOptions) Complete(cmd *cobra.Command) error
- func (o SearchlightOptions) Config() (*server.SearchlightConfig, error)
- func (o SearchlightOptions) Run(stopCh <-chan struct{}) error
- func (o SearchlightOptions) Validate(args []string) error
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 (o SearchlightOptions) Config() (*server.SearchlightConfig, error)
func (SearchlightOptions) Run ¶
func (o SearchlightOptions) Run(stopCh <-chan struct{}) error
func (SearchlightOptions) Validate ¶
func (o SearchlightOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.