Help us shape the future of Go! Take the 2026 Go Developer Survey

helper

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MPL-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckProviderUpdateCmd

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

NewCheckProviderUpdateCmd creates a new command.

func NewDockerCredentialsHelperCmd

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

func NewFleetServerCmd

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

NewFleetServerCmd creates a new fleet command.

func NewGetImageCmd

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

NewGetImageCmd creates a new command.

func NewGetProviderNameCmd

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

NewGetProviderNameCmd creates a new command.

func NewGetWorkspaceConfigCommand

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

NewGetWorkspaceConfigCommand creates a new command.

func NewGetWorkspaceNameCmd

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

NewGetWorkspaceNameCmd creates a new command.

func NewGetWorkspaceUIDCmd

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

NewGetWorkspaceUIDCmd creates a new command.

func NewHelperCmd

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

NewHelperCmd returns a new command.

func NewSSHClientCmd

func NewSSHClientCmd() *cobra.Command

NewSSHClientCmd creates a new ssh command.

func NewSSHGitCloneCmd

func NewSSHGitCloneCmd() *cobra.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

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

func (*CheckProviderUpdateCmd) Run

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

type DockerCredentialsHelperCmd

type DockerCredentialsHelperCmd struct {
	*flags.GlobalFlags

	WorkspaceID string
}

func (*DockerCredentialsHelperCmd) Run

type FleetServerCmd

type FleetServerCmd struct {
	*flags.GlobalFlags

	WorkspaceID string
}

FleetServerCmd holds the fleet server cmd flags.

func (*FleetServerCmd) Run

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

Run runs the command logic.

type GetImageCommand

type GetImageCommand struct {
	*flags.GlobalFlags
}

func (*GetImageCommand) Run

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

type GetProviderNameCmd

type GetProviderNameCmd struct {
	*flags.GlobalFlags
}

func (*GetProviderNameCmd) Run

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

type GetWorkspaceConfigCommand

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

func (*GetWorkspaceConfigCommand) Run

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

type GetWorkspaceConfigCommandResult

type GetWorkspaceConfigCommandResult struct {
	IsImage         bool     `json:"isImage"`
	IsGitRepository bool     `json:"isGitRepository"`
	IsLocal         bool     `json:"isLocal"`
	ConfigPaths     []string `json:"configPaths"`
}

type GetWorkspaceNameCommand

type GetWorkspaceNameCommand struct {
	*flags.GlobalFlags
}

func (*GetWorkspaceNameCommand) Run

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

type GetWorkspaceUIDCommand

type GetWorkspaceUIDCommand struct {
	*flags.GlobalFlags
}

func (*GetWorkspaceUIDCommand) Run

func (cmd *GetWorkspaceUIDCommand) 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 SSHGitClone

type SSHGitClone struct {
	KeyFiles []string
	Port     string
}

func (*SSHGitClone) Run

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

type SSHServerCmd

type SSHServerCmd struct {
	*flags.GlobalFlags

	Token            string
	Address          string
	Stdio            bool
	TrackActivity    bool
	ReuseSSHAuthSock string
	Workdir          string
}

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
	Login   bool
}

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