startcmd

package
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdStart added in v0.0.15

func NewCmdStart(cfg *genericclioptions.ChoreoConfig) *cobra.Command

NewCmdApply returns a cobra command.

Types

type StartFlags added in v0.0.15

type StartFlags struct {
}

func NewStartFlags added in v0.0.15

func NewStartFlags() *StartFlags

The defaults are determined here

func (*StartFlags) AddFlags added in v0.0.15

func (r *StartFlags) AddFlags(cmd *cobra.Command)

AddFlags add flags to the command

func (*StartFlags) ToOptions added in v0.0.15

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type StartOptions added in v0.0.15

type StartOptions struct {
	ServerName string
	// contains filtered or unexported fields
}

func (*StartOptions) Run added in v0.0.15

func (r *StartOptions) Run(ctx context.Context, args []string) error

func (*StartOptions) Validate added in v0.0.15

func (r *StartOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL