Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddServerRunFlags ¶
AddServerRunFlags add ServerRunOptions flags to pflag.FlagSet
func WrapConfig ¶
func WrapConfig(config *server.RecommendedConfig) *server.RecommendedConfig
WrapConfig wraps server.RecommendedConfig with default ServerRunOptions
Types ¶
type ServerRunOptions ¶
ServerRunOptions is the extension option for configuring the APIServer
func NewServerRunOptions ¶
func NewServerRunOptions() *ServerRunOptions
NewServerRunOptions create default ServerRunOptions with RequestTimeout and MinRequestTimeout set
func (*ServerRunOptions) AddFlags ¶
func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet)
AddFlags add flags for a specific APIServer to the specified FlagSet
Click to show internal directories.
Click to hide internal directories.