Documentation ¶
Index ¶
- func AddCommand(cmd *cobra.Command, co *cmdutil.CliOptions)
- func CreateCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command
- func DeleteCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command
- func GetCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command
- func RunInstanceCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command
- func StopInstanceCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command
- type CreateOption
- type DeleteOption
- type GetOption
- type RunInstanceOption
- func (o *RunInstanceOption) Complete(cmd *cobra.Command, args []string) error
- func (o *RunInstanceOption) PreRunE(cmd *cobra.Command, args []string) error
- func (o *RunInstanceOption) RunE(cmd *cobra.Command, args []string) error
- func (o *RunInstanceOption) Validate(cmd *cobra.Command, args []string) error
- type StopInstanceOption
- func (o *StopInstanceOption) Complete(cmd *cobra.Command, args []string) error
- func (o *StopInstanceOption) PreRunE(cmd *cobra.Command, args []string) error
- func (o *StopInstanceOption) RunE(cmd *cobra.Command, args []string) error
- func (o *StopInstanceOption) Validate(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
func AddCommand(cmd *cobra.Command, co *cmdutil.CliOptions)
func RunInstanceCmd ¶ added in v0.8.0
func StopInstanceCmd ¶ added in v0.8.0
Types ¶
type CreateOption ¶ added in v0.8.0
type CreateOption struct { *cmdutil.UserNamespacedCliOptions WorkspaceName string Template string RawVars string DryRun bool // contains filtered or unexported fields }
func (*CreateOption) Complete ¶ added in v0.8.0
func (o *CreateOption) Complete(cmd *cobra.Command, args []string) error
func (*CreateOption) PreRunE ¶ added in v0.8.0
func (o *CreateOption) PreRunE(cmd *cobra.Command, args []string) error
type DeleteOption ¶ added in v0.8.0
type DeleteOption struct { *cmdutil.UserNamespacedCliOptions WorkspaceName string DryRun bool }
func (*DeleteOption) Complete ¶ added in v0.8.0
func (o *DeleteOption) Complete(cmd *cobra.Command, args []string) error
func (*DeleteOption) PreRunE ¶ added in v0.8.0
func (o *DeleteOption) PreRunE(cmd *cobra.Command, args []string) error
type GetOption ¶ added in v0.8.0
type GetOption struct { *cmdutil.UserNamespacedCliOptions WorkspaceName string // contains filtered or unexported fields }
type RunInstanceOption ¶ added in v0.8.0
type RunInstanceOption struct { *cmdutil.UserNamespacedCliOptions InstanceName string }
func (*RunInstanceOption) Complete ¶ added in v0.8.0
func (o *RunInstanceOption) Complete(cmd *cobra.Command, args []string) error
func (*RunInstanceOption) PreRunE ¶ added in v0.8.0
func (o *RunInstanceOption) PreRunE(cmd *cobra.Command, args []string) error
type StopInstanceOption ¶ added in v0.8.0
type StopInstanceOption struct { *cmdutil.UserNamespacedCliOptions InstanceName string }
func (*StopInstanceOption) Complete ¶ added in v0.8.0
func (o *StopInstanceOption) Complete(cmd *cobra.Command, args []string) error
func (*StopInstanceOption) PreRunE ¶ added in v0.8.0
func (o *StopInstanceOption) PreRunE(cmd *cobra.Command, args []string) error
Click to show internal directories.
Click to hide internal directories.