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