server

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0, Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartWardleServer

func NewCommandStartWardleServer(defaults *WardleServerOptions, stopCh <-chan struct{}) *cobra.Command

NewCommandStartWardleServer provides a CLI handler for 'start master' command with a default WardleServerOptions.

Types

type WardleServerOptions

type WardleServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions

	SharedInformerFactory informers.SharedInformerFactory
	StdOut                io.Writer
	StdErr                io.Writer
}

func NewWardleServerOptions

func NewWardleServerOptions(out, errOut io.Writer) *WardleServerOptions

func (*WardleServerOptions) Complete

func (o *WardleServerOptions) Complete() error

func (*WardleServerOptions) Config

func (o *WardleServerOptions) Config() (*apiserver.Config, error)

func (WardleServerOptions) RunWardleServer

func (o WardleServerOptions) RunWardleServer(stopCh <-chan struct{}) error

func (WardleServerOptions) Validate

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

Jump to

Keyboard shortcuts

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