workspace

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(cmd *cobra.Command, co *cmdutil.CliOptions)

func CreateCmd added in v0.8.0

func CreateCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command

func DeleteCmd added in v0.8.0

func DeleteCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command

func GetCmd added in v0.8.0

func RunInstanceCmd added in v0.8.0

func RunInstanceCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command

func StopInstanceCmd added in v0.8.0

func StopInstanceCmd(cmd *cobra.Command, cliOpt *cmdutil.UserNamespacedCliOptions) *cobra.Command

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

func (*CreateOption) RunE added in v0.8.0

func (o *CreateOption) RunE(cmd *cobra.Command, args []string) error

func (*CreateOption) Validate added in v0.8.0

func (o *CreateOption) Validate(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

func (*DeleteOption) RunE added in v0.8.0

func (o *DeleteOption) RunE(cmd *cobra.Command, args []string) error

func (*DeleteOption) Validate added in v0.8.0

func (o *DeleteOption) Validate(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
}

func (*GetOption) Complete added in v0.8.0

func (o *GetOption) Complete(cmd *cobra.Command, args []string) error

func (*GetOption) PreRunE added in v0.8.0

func (o *GetOption) PreRunE(cmd *cobra.Command, args []string) error

func (*GetOption) RunE added in v0.8.0

func (o *GetOption) RunE(cmd *cobra.Command, args []string) error

func (*GetOption) Validate added in v0.8.0

func (o *GetOption) Validate(cmd *cobra.Command, args []string) error

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

func (*RunInstanceOption) RunE added in v0.8.0

func (o *RunInstanceOption) RunE(cmd *cobra.Command, args []string) error

func (*RunInstanceOption) Validate added in v0.8.0

func (o *RunInstanceOption) Validate(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

func (*StopInstanceOption) RunE added in v0.8.0

func (o *StopInstanceOption) RunE(cmd *cobra.Command, args []string) error

func (*StopInstanceOption) Validate added in v0.8.0

func (o *StopInstanceOption) Validate(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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