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