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