server

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartKopsServer

func NewCommandStartKopsServer(out, err io.Writer) *cobra.Command

NewCommandStartKopsServer provides a CLI handler for 'start master' command

Types

type BufferedResponse

type BufferedResponse struct {
	bytes.Buffer
}

func (BufferedResponse) Header

func (BufferedResponse) Header() http.Header

func (BufferedResponse) WriteHeader

func (BufferedResponse) WriteHeader(int)

type KopsServerOptions

type KopsServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions

	StdOut io.Writer
	StdErr io.Writer

	PrintOpenapi bool
}

func (*KopsServerOptions) Complete

func (o *KopsServerOptions) Complete() error

func (KopsServerOptions) Config

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

func (KopsServerOptions) RunKopsServer

func (o KopsServerOptions) RunKopsServer() error

func (KopsServerOptions) Validate

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

Jump to

Keyboard shortcuts

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