elasticsearch: kubedb.dev/elasticsearch/pkg/cmds/server Index | Files

package server

import "kubedb.dev/elasticsearch/pkg/cmds/server"

Index

Package Files

options.go start.go

type ElasticsearchServerOptions Uses

type ElasticsearchServerOptions struct {
    RecommendedOptions *genericoptions.RecommendedOptions
    ExtraOptions       *ExtraOptions

    StdOut io.Writer
    StdErr io.Writer
}

func NewElasticsearchServerOptions Uses

func NewElasticsearchServerOptions(out, errOut io.Writer) *ElasticsearchServerOptions

func (ElasticsearchServerOptions) AddFlags Uses

func (o ElasticsearchServerOptions) AddFlags(fs *pflag.FlagSet)

func (*ElasticsearchServerOptions) Complete Uses

func (o *ElasticsearchServerOptions) Complete() error

func (ElasticsearchServerOptions) Config Uses

func (o ElasticsearchServerOptions) Config() (*server.ElasticsearchServerConfig, error)

func (ElasticsearchServerOptions) Run Uses

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

func (ElasticsearchServerOptions) Validate Uses

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

type ExtraOptions Uses

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 Uses

func NewExtraOptions() *ExtraOptions

func (*ExtraOptions) AddFlags Uses

func (s *ExtraOptions) AddFlags(fs *pflag.FlagSet)

func (*ExtraOptions) AddGoFlags Uses

func (s *ExtraOptions) AddGoFlags(fs *flag.FlagSet)

func (*ExtraOptions) ApplyTo Uses

func (s *ExtraOptions) ApplyTo(cfg *controller.OperatorConfig) error

func (ExtraOptions) WatchNamespace Uses

func (s ExtraOptions) WatchNamespace() string

Package server imports 27 packages (graph) and is imported by 4 packages. Updated 2019-07-24. Refresh now. Tools for package owners.