server

package
v0.0.0-...-a80b3ab Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartWingServer

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

NewCommandStartWingServer provides a CLI handler for 'start master' command with a default WingServerOptions.

Types

type WingServerOptions

type WingServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions

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

func NewWingServerOptions

func NewWingServerOptions(out, errOut io.Writer) *WingServerOptions

func (*WingServerOptions) Complete

func (o *WingServerOptions) Complete() error

func (*WingServerOptions) Config

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

func (WingServerOptions) RunWingServer

func (o WingServerOptions) RunWingServer(stopCh <-chan struct{}) error

func (WingServerOptions) Validate

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

Jump to

Keyboard shortcuts

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