server

package
v0.0.0-...-8a8da8d Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 20 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
	KubeciImageTag    string
	DockerRegistry    string
	MaxNumRequeues    int
	NumThreads        int
	ScratchDir        string
	QPS               float64
	Burst             int
	ResyncPeriod      time.Duration
	DiscoveryInterval time.Duration
}

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 KubeciOptions

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

	StdOut io.Writer
	StdErr io.Writer
}

func NewKubeciOptions

func NewKubeciOptions(out, errOut io.Writer) *KubeciOptions

func (KubeciOptions) AddFlags

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

func (*KubeciOptions) Complete

func (o *KubeciOptions) Complete() error

func (KubeciOptions) Config

func (KubeciOptions) Run

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

func (KubeciOptions) Validate

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

Jump to

Keyboard shortcuts

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