server

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartAggregator

func NewCommandStartAggregator(out, err io.Writer, stopCh <-chan struct{}) *cobra.Command

NewCommandStartAggregator provides a CLI handler for 'start master' command

Types

type AggregatorOptions

type AggregatorOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions

	// ProxyClientCert/Key are the client cert used to identify this proxy. Backing APIServices use
	// this to confirm the proxy's identity
	ProxyClientCertFile string
	ProxyClientKeyFile  string

	// CoreAPIKubeconfig is a filename for a kubeconfig file to contact the core API server wtih
	// If it is not set, the in cluster config is used
	CoreAPIKubeconfig string

	StdOut io.Writer
	StdErr io.Writer
}

func NewDefaultOptions

func NewDefaultOptions(out, err io.Writer) *AggregatorOptions

NewDefaultOptions builds a "normal" set of options. You wouldn't normally expose this, but hyperkube isn't cobra compatible

func (*AggregatorOptions) AddFlags

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

AddFlags is necessary because hyperkube doesn't work using cobra, so we have to have different registration and execution paths

func (*AggregatorOptions) Complete

func (o *AggregatorOptions) Complete() error

func (AggregatorOptions) RunAggregator

func (o AggregatorOptions) RunAggregator(stopCh <-chan struct{}) error

func (AggregatorOptions) Validate

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

Jump to

Keyboard shortcuts

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