Documentation
¶
Index ¶
- type ElasticsearchServerOptions
- func (o ElasticsearchServerOptions) AddFlags(fs *pflag.FlagSet)
- func (o *ElasticsearchServerOptions) Complete() error
- func (o ElasticsearchServerOptions) Config() (*server.ElasticsearchServerConfig, error)
- func (o ElasticsearchServerOptions) Run(stopCh <-chan struct{}) error
- func (o ElasticsearchServerOptions) Validate(args []string) error
- type ExtraOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticsearchServerOptions ¶
type ElasticsearchServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions ExtraOptions *ExtraOptions StdOut io.Writer StdErr io.Writer }
func NewElasticsearchServerOptions ¶
func NewElasticsearchServerOptions(out, errOut io.Writer) *ElasticsearchServerOptions
func (ElasticsearchServerOptions) AddFlags ¶
func (o ElasticsearchServerOptions) AddFlags(fs *pflag.FlagSet)
func (*ElasticsearchServerOptions) Complete ¶
func (o *ElasticsearchServerOptions) Complete() error
func (ElasticsearchServerOptions) Config ¶
func (o ElasticsearchServerOptions) Config() (*server.ElasticsearchServerConfig, error)
func (ElasticsearchServerOptions) Run ¶
func (o ElasticsearchServerOptions) Run(stopCh <-chan struct{}) error
func (ElasticsearchServerOptions) Validate ¶
func (o ElasticsearchServerOptions) Validate(args []string) error
type ExtraOptions ¶
type ExtraOptions struct { EnableRBAC bool OperatorNamespace string RestrictToOperatorNamespace bool GoverningService string QPS float64 Burst int ResyncPeriod time.Duration MaxNumRequeues int NumThreads int EnableMutatingWebhook bool EnableValidatingWebhook 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 *controller.OperatorConfig) error
func (ExtraOptions) WatchNamespace ¶
func (s ExtraOptions) WatchNamespace() string