Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartAdmissionServer

func NewCommandStartAdmissionServer(out, errOut io.Writer, stopCh <-chan struct{}, admissionHooks ...apiserver.AdmissionHook) *cobra.Command

NewCommandStartMaster provides a CLI handler for 'start master' command

Types

type AdmissionServerOptions

type AdmissionServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions

	AdmissionHooks []apiserver.AdmissionHook

	StdOut io.Writer
	StdErr io.Writer
}

func NewAdmissionServerOptions

func NewAdmissionServerOptions(out, errOut io.Writer, admissionHooks ...apiserver.AdmissionHook) *AdmissionServerOptions

func (*AdmissionServerOptions) Complete

func (o *AdmissionServerOptions) Complete() error

func (AdmissionServerOptions) Config

func (AdmissionServerOptions) RunAdmissionServer

func (o AdmissionServerOptions) RunAdmissionServer(stopCh <-chan struct{}) error

func (AdmissionServerOptions) Validate

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

Jump to

Keyboard shortcuts

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