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