Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletedServerRunOptions ¶
type CompletedServerRunOptions struct {
*ServerRunOptions
}
CompletedServerRunOptions is a private wrapper that enforces a call of Complete() before Run can be invoked.
func Complete ¶
func Complete(s *ServerRunOptions) (CompletedServerRunOptions, error)
Complete set default ServerRunOptions.
type ServerRunOptions ¶
type ServerRunOptions struct { Provider *provider.Provider WebServerOptions *webserver.Config ServiceRegistry *consul.Config }
ServerRunOptions runs a kubernetes api server.
func NewServerRunOptions ¶
func NewServerRunOptions() *ServerRunOptions
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.