server

package
v0.0.0-...-d6d28ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

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

	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 (MongoDBServerOptions) Run

func (o MongoDBServerOptions) Run(stopCh <-chan struct{}) error

func (MongoDBServerOptions) Validate

func (o MongoDBServerOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL