helper

package
v0.1.10-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MPL-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckProviderUpdateCmd added in v0.1.10

func NewCheckProviderUpdateCmd(flags *flags.GlobalFlags) *cobra.Command

NewCheckProviderUpdateCmd creates a new command

func NewGetProviderNameCmd

func NewGetProviderNameCmd(flags *flags.GlobalFlags) *cobra.Command

NewGetProviderNameCmd creates a new command

func NewGetWorkspaceNameCmd

func NewGetWorkspaceNameCmd(flags *flags.GlobalFlags) *cobra.Command

NewGetWorkspaceNameCmd creates a new command

func NewHelperCmd

func NewHelperCmd(flags *flags.GlobalFlags) *cobra.Command

NewHelperCmd returns a new command

func NewSSHClientCmd

func NewSSHClientCmd() *cobra.Command

NewSSHClientCmd creates a new ssh command

func NewSSHServerCmd

func NewSSHServerCmd(flags *flags.GlobalFlags) *cobra.Command

NewSSHServerCmd creates a new ssh command

func NewShellCmd

func NewShellCmd() *cobra.Command

NewShellCmd creates a new command

Types

type CheckProviderUpdateCmd added in v0.1.10

type CheckProviderUpdateCmd struct {
	*flags.GlobalFlags
	// contains filtered or unexported fields
}

func (*CheckProviderUpdateCmd) Run added in v0.1.10

func (cmd *CheckProviderUpdateCmd) Run(ctx context.Context, devPodConfig *config.Config, args []string) error

type GetProviderNameCmd

type GetProviderNameCmd struct {
	*flags.GlobalFlags
}

func (*GetProviderNameCmd) Run

func (cmd *GetProviderNameCmd) Run(ctx context.Context, args []string) error

type GetWorkspaceNameCommand

type GetWorkspaceNameCommand struct {
	*flags.GlobalFlags
}

func (*GetWorkspaceNameCommand) Run

func (cmd *GetWorkspaceNameCommand) Run(ctx context.Context, args []string) error

type SSHClient

type SSHClient struct {
	Address string
	KeyFile string
	User    string
}

func (*SSHClient) Run

func (cmd *SSHClient) Run(ctx context.Context, args []string) error

type SSHServerCmd

type SSHServerCmd struct {
	*flags.GlobalFlags

	Token         string
	Address       string
	Stdio         bool
	TrackActivity bool
}

SSHServerCmd holds the ssh server cmd flags

func (*SSHServerCmd) Run

func (cmd *SSHServerCmd) Run(_ *cobra.Command, _ []string) error

Run runs the command logic

type ShellCommand

type ShellCommand struct {
	Command string
}

func (*ShellCommand) Run

func (cmd *ShellCommand) Run(ctx context.Context, args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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