server

package
v0.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubedOptions

type KubedOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	OperatorOptions    *OperatorOptions

	StdOut io.Writer
	StdErr io.Writer
}

func NewKubedOptions

func NewKubedOptions(out, errOut io.Writer) *KubedOptions

func (*KubedOptions) AddFlags

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

func (*KubedOptions) Complete

func (o *KubedOptions) Complete() error

func (KubedOptions) Config

func (o KubedOptions) Config() (*server.KubedConfig, error)

func (KubedOptions) Run

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

func (KubedOptions) Validate

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

type OperatorOptions

type OperatorOptions struct {
	ClusterName           string
	ConfigSourceNamespace string
	KubeConfigFile        string

	QPS          float32
	Burst        int
	ResyncPeriod time.Duration
}

func NewOperatorOptions

func NewOperatorOptions() *OperatorOptions

func (*OperatorOptions) AddFlags

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

func (*OperatorOptions) ApplyTo

func (s *OperatorOptions) ApplyTo(cfg *operator.OperatorConfig) error

Jump to

Keyboard shortcuts

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