Documentation ¶
Index ¶
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 PrometheusCrdGroup string PrometheusCrdKinds prom.CrdKinds }
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 RedisServerOptions ¶
type RedisServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions ExtraOptions *ExtraOptions StdOut io.Writer StdErr io.Writer }
func NewRedisServerOptions ¶
func NewRedisServerOptions(out, errOut io.Writer) *RedisServerOptions
func (RedisServerOptions) AddFlags ¶
func (o RedisServerOptions) AddFlags(fs *pflag.FlagSet)
func (*RedisServerOptions) Complete ¶
func (o *RedisServerOptions) Complete() error
func (RedisServerOptions) Config ¶
func (o RedisServerOptions) Config() (*server.RedisServerConfig, error)
func (RedisServerOptions) Run ¶
func (o RedisServerOptions) Run(stopCh <-chan struct{}) error
func (RedisServerOptions) Validate ¶
func (o RedisServerOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.