server

package
v0.0.0-...-85ffd96 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 22 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 {
	DockerRegistry          string
	MaxNumRequeues          int
	NumThreads              int
	QPS                     float64
	Burst                   int
	ResyncPeriod            time.Duration
	EnableValidatingWebhook bool
	EnableMutatingWebhook   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.Config) error

type VaultServerOptions

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

	StdOut io.Writer
	StdErr io.Writer
}

func NewVaultServerOptions

func NewVaultServerOptions(out, errOut io.Writer) *VaultServerOptions

func (VaultServerOptions) AddFlags

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

func (*VaultServerOptions) Complete

func (o *VaultServerOptions) Complete() error

func (VaultServerOptions) Config

func (VaultServerOptions) Run

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

func (VaultServerOptions) Validate

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

Jump to

Keyboard shortcuts

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