workspace

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const PrivateKeySecretKey = "ssh_host_ecdsa_key"

Variables

This section is empty.

Functions

func AddWorkspaceCommands

func AddWorkspaceCommands(command *cobra.Command) *cobra.Command

func NewCmdCreateWorkspace

func NewCmdCreateWorkspace() *cobra.Command

func NewCmdDeleteWorkspace

func NewCmdDeleteWorkspace() *cobra.Command

func NewCmdDev

func NewCmdDev() *cobra.Command

func NewCmdExecWorkspace

func NewCmdExecWorkspace() *cobra.Command

func NewCmdGetWorkspace

func NewCmdGetWorkspace() *cobra.Command

func NewCmdListWorkspaces

func NewCmdListWorkspaces() *cobra.Command

func NewCmdUpdateWorkspace

func NewCmdUpdateWorkspace() *cobra.Command

Types

type CreateWorkspaceOptions

type CreateWorkspaceOptions struct {
	Name                  string
	Namespace             string
	DisableVolumeCreation bool
	WaitUntilReady        bool
	WaitTimeoutInSeconds  uint
	// contains filtered or unexported fields
}

func (*CreateWorkspaceOptions) Complete

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

func (*CreateWorkspaceOptions) Run

func (*CreateWorkspaceOptions) Validate

func (o *CreateWorkspaceOptions) Validate() error

type DeleteWorkspaceOptions

type DeleteWorkspaceOptions struct {
	Name          string
	Namespace     string
	DeleteVolumes bool
	// contains filtered or unexported fields
}

func (*DeleteWorkspaceOptions) Complete

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

func (*DeleteWorkspaceOptions) Init

func (o *DeleteWorkspaceOptions) Init() error

func (*DeleteWorkspaceOptions) Run

func (o *DeleteWorkspaceOptions) Run() error

func (*DeleteWorkspaceOptions) Validate

func (o *DeleteWorkspaceOptions) Validate() error

type DevOptions

type DevOptions struct {
	Name            string
	Namespace       string
	SshPort         uint16
	DisableTerminal bool
	Source          string
	Target          string
	TargetVolume    string
	TargetFolder    string
	SyncFolder      string
	Ignores         []string
	Labels          map[string]string
	Watch           bool
	SyncMode        string
	// contains filtered or unexported fields
}

func (*DevOptions) Complete

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

func (*DevOptions) Run

func (o *DevOptions) Run() error

type ExecOptions

type ExecOptions struct {
	Name      string
	Namespace string
	Command   []string
	Tty       bool
	// contains filtered or unexported fields
}

func (*ExecOptions) Complete

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

func (*ExecOptions) Run

func (o *ExecOptions) Run() error

type GetWorkspaceOptions

type GetWorkspaceOptions struct {
	Name      string
	Namespace string
	// contains filtered or unexported fields
}

func (*GetWorkspaceOptions) Complete

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

func (*GetWorkspaceOptions) Init

func (o *GetWorkspaceOptions) Init() error

func (*GetWorkspaceOptions) Run

func (o *GetWorkspaceOptions) Run() error

func (*GetWorkspaceOptions) Validate

func (o *GetWorkspaceOptions) Validate() error

type ListWorkspaceOptions

type ListWorkspaceOptions struct {
	Namespace string
}

func (*ListWorkspaceOptions) Complete

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

func (*ListWorkspaceOptions) Init

func (o *ListWorkspaceOptions) Init() error

func (*ListWorkspaceOptions) Run

func (o *ListWorkspaceOptions) Run() error

func (*ListWorkspaceOptions) Validate

func (o *ListWorkspaceOptions) Validate() error

type UpdateWorkspaceOptions

type UpdateWorkspaceOptions struct {
	Name                 string
	Namespace            string
	WaitUntilReady       bool
	WaitTimeoutInSeconds uint
	// contains filtered or unexported fields
}

func (*UpdateWorkspaceOptions) Complete

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

func (*UpdateWorkspaceOptions) Run

func (*UpdateWorkspaceOptions) Validate

func (o *UpdateWorkspaceOptions) Validate() error

Jump to

Keyboard shortcuts

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