Documentation ¶
Index ¶
- Constants
- func AddWorkspaceCommands(command *cobra.Command) *cobra.Command
- func NewCmdCreateWorkspace() *cobra.Command
- func NewCmdDeleteWorkspace() *cobra.Command
- func NewCmdDev() *cobra.Command
- func NewCmdExecWorkspace() *cobra.Command
- func NewCmdGetWorkspace() *cobra.Command
- func NewCmdListWorkspaces() *cobra.Command
- func NewCmdUpdateWorkspace() *cobra.Command
- type CreateWorkspaceOptions
- type DeleteWorkspaceOptions
- type DevOptions
- type ExecOptions
- type GetWorkspaceOptions
- type ListWorkspaceOptions
- type UpdateWorkspaceOptions
Constants ¶
View Source
const PrivateKeySecretKey = "ssh_host_ecdsa_key"
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreateWorkspace ¶
func NewCmdDeleteWorkspace ¶
func NewCmdExecWorkspace ¶
func NewCmdGetWorkspace ¶
func NewCmdListWorkspaces ¶
func NewCmdUpdateWorkspace ¶
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) 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) 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) Validate ¶
func (o *UpdateWorkspaceOptions) Validate() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.