options

package
v0.0.0-...-e779149 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerRunOptions

type ServerRunOptions struct {
	ConfigFile              string
	GenericServerRunOptions *genericoptions.ServerRunOptions
	*apiserverconfig.Config

	DebugMode bool
	// contains filtered or unexported fields
}

func NewServerRunOptions

func NewServerRunOptions() *ServerRunOptions

func (*ServerRunOptions) Flags

func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets)

func (*ServerRunOptions) NewAPIServer

func (s *ServerRunOptions) NewAPIServer(stopCh <-chan struct{}) (*apiserver.APIServer, error)

NewAPIServer creates an APIServer instance using given options

func (*ServerRunOptions) Validate

func (s *ServerRunOptions) Validate() []error

Validate validates server run options, to find options' misconfiguration

Jump to

Keyboard shortcuts

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