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

package server

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

Copyright The KubeDB Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright The KubeDB Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Package Files

options.go start.go

type EtcdServerOptions Uses

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

    StdOut io.Writer
    StdErr io.Writer
}

func NewEtcdServerOptions Uses

func NewEtcdServerOptions(out, errOut io.Writer) *EtcdServerOptions

func (EtcdServerOptions) AddFlags Uses

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

func (*EtcdServerOptions) Complete Uses

func (o *EtcdServerOptions) Complete() error

func (EtcdServerOptions) Config Uses

func (o EtcdServerOptions) Config() (*server.EtcdServerConfig, error)

func (EtcdServerOptions) Run Uses

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

func (EtcdServerOptions) Validate Uses

func (o EtcdServerOptions) 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 24 packages (graph) and is imported by 4 packages. Updated 2019-12-15. Refresh now. Tools for package owners.