options

package
v0.0.0-...-be065d1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT 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