hiveapiserver

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHiveAPIServerCommand

func NewHiveAPIServerCommand(name string, out, errout io.Writer, stopCh <-chan struct{}) *cobra.Command

NewHiveAPIServerCommand creates a cobra command for starting a Hive aggregated API server.

func RunHiveAPIServer

func RunHiveAPIServer(recommendedOptions *genericoptions.RecommendedOptions, stopCh <-chan struct{}) error

RunHiveAPIServer runs the v1alpha1 aggregated API server

Types

type HiveAPIServer

type HiveAPIServer struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	Output             io.Writer
}

HiveAPIServer is a Hive aggregated API server

func (*HiveAPIServer) RunAPIServer

func (o *HiveAPIServer) RunAPIServer(stopCh <-chan struct{}) error

RunAPIServer takes the options, starts the API server and waits until stopCh is closed or initial listening fails.

func (*HiveAPIServer) Validate

func (o *HiveAPIServer) Validate() error

Validate validates the options for the HiveAPIServer command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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