Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandStartWardleServer ¶
func NewCommandStartWardleServer(defaults *CustomServerOptions, stopCh <-chan struct{}) *cobra.Command
NewCommandStartWardleServer provides a CLI handler for 'start master' command with a default CustomServerOptions.
Types ¶
type CustomServerOptions ¶
type CustomServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions StdOut io.Writer StdErr io.Writer }
CustomServerOptions contains state for master/api server
func NewCustomServerOptions ¶
func NewCustomServerOptions(out, errOut io.Writer) *CustomServerOptions
NewCustomServerOptions returns a new CustomServerOptions
func (*CustomServerOptions) Complete ¶
func (o *CustomServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*CustomServerOptions) Config ¶
func (o *CustomServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given CustomServerOptions
func (CustomServerOptions) RunWardleServer ¶
func (o CustomServerOptions) RunWardleServer(stopCh <-chan struct{}) error
RunWardleServer starts a new WardleServer given CustomServerOptions
func (CustomServerOptions) Validate ¶
func (o CustomServerOptions) Validate(args []string) error
Validate validates CustomServerOptions
Click to show internal directories.
Click to hide internal directories.