Documentation
¶
Overview ¶
Package options contains all the primary arguments for a kubelet.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerRunOptions ¶
type ServerRunOptions struct { TLSOptions *options.TLSOptions RunServerOptions *options.RunServerOptions }
ServerRunOptions runs a lite api server.
func NewServerRunOptions ¶
func NewServerRunOptions() *ServerRunOptions
NewServerRunOptions creates a new ServerRunOptions object with default parameters
func (*ServerRunOptions) ApplyTo ¶
func (s *ServerRunOptions) ApplyTo() (*config.LiteServerConfig, error)
ApplyTo applies the storage options to the method receiver and returns self
func (*ServerRunOptions) Complete ¶
func (s *ServerRunOptions) Complete() error
Complete set default ServerRunOptions. Should be called after flags parsed.
func (*ServerRunOptions) Flags ¶
func (s *ServerRunOptions) Flags() (fsSet cliflag.NamedFlagSets)
Flags returns flag set
func (*ServerRunOptions) Validate ¶
func (s *ServerRunOptions) Validate() []error
Validate checks ServerRunOptions and return a slice of found errs.
Click to show internal directories.
Click to hide internal directories.