Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerOptions ¶
type ServerOptions struct {
ConfFile string
}
ServerOptions runs a api server.
func NewServerOptions ¶
func NewServerOptions() *ServerOptions
NewServerOptions creates a new ServerOptions object with default parameters
func (*ServerOptions) Complete ¶
func (o *ServerOptions) Complete() error
Complete set default ServerOptions. Should be called after flags parsed.
func (*ServerOptions) Flags ¶
func (o *ServerOptions) Flags() (fss cliflag.NamedFlagSets)
Flags returns flags for a specific APIServer by section name
func (*ServerOptions) ValidateOptions ¶
func (o *ServerOptions) ValidateOptions() error
ValidateOptions validates ServerOptions
Click to show internal directories.
Click to hide internal directories.