server

package
v0.0.0-...-8e80975 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartDiscoveryServer

func NewCommandStartDiscoveryServer(defaults *DiscoveryServerOptions, stopCh <-chan struct{}) *cobra.Command

NewCommandStartDiscoveryServer provides a CLI handler for 'start master' command with a default DiscoveryServerOptions.

Types

type DiscoveryServerOptions

type DiscoveryServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	StdOut             io.Writer
	StdErr             io.Writer
}

func NewDiscoveryServerOptions

func NewDiscoveryServerOptions(out, errOut io.Writer) *DiscoveryServerOptions

func (*DiscoveryServerOptions) Complete

func (o *DiscoveryServerOptions) Complete() error

func (*DiscoveryServerOptions) Config

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

func (DiscoveryServerOptions) RunDiscoveryServer

func (o DiscoveryServerOptions) RunDiscoveryServer(stopCh <-chan struct{}) error

func (DiscoveryServerOptions) Validate

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

Jump to

Keyboard shortcuts

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