Documentation ¶
Index ¶
- type ExtraOptions
- type MemcachedServerOptions
- func (o MemcachedServerOptions) AddFlags(fs *pflag.FlagSet)
- func (o *MemcachedServerOptions) Complete() error
- func (o MemcachedServerOptions) Config() (*server.MemcachedServerConfig, error)
- func (o MemcachedServerOptions) Run(stopCh <-chan struct{}) error
- func (o MemcachedServerOptions) Validate(args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
type MemcachedServerOptions ¶
type MemcachedServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions ExtraOptions *ExtraOptions StdOut io.Writer StdErr io.Writer }
func NewMemcachedServerOptions ¶
func NewMemcachedServerOptions(out, errOut io.Writer) *MemcachedServerOptions
func (MemcachedServerOptions) AddFlags ¶
func (o MemcachedServerOptions) AddFlags(fs *pflag.FlagSet)
func (*MemcachedServerOptions) Complete ¶
func (o *MemcachedServerOptions) Complete() error
func (MemcachedServerOptions) Config ¶
func (o MemcachedServerOptions) Config() (*server.MemcachedServerConfig, error)
func (MemcachedServerOptions) Run ¶
func (o MemcachedServerOptions) Run(stopCh <-chan struct{}) error
func (MemcachedServerOptions) Validate ¶
func (o MemcachedServerOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.