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

agentworkspace

package
v1.23.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MPL-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRunner

func CreateRunner(
	ctx context.Context,
	workspaceInfo *provider.AgentWorkspaceInfo,
) (devcontainer.Runner, error)

func InitContentFolder

func InitContentFolder(
	ctx context.Context,
	workspaceInfo *provider.AgentWorkspaceInfo,
) (bool, error)

InitContentFolder reports whether content or a fallback configuration permits source reuse; that result does not indicate ownership of the content directory.

func NewBuildCmd

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

NewBuildCmd creates a new command.

func NewCleanCmd

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

NewCleanCmd creates a new command.

func NewDeleteCmd

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

NewDeleteCmd creates a new command.

func NewInstallDotfilesCmd

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

NewInstallDotfilesCmd creates a new command.

func NewLogsCmd

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

NewLogsCmd creates a new command.

func NewLogsDaemonCmd

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

NewLogsDaemonCmd creates a new command.

func NewSetupGPGCmd

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

NewSetupGPGCmd creates a new command.

func NewStatusCmd

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

NewStatusCmd creates a new command.

func NewStopCmd

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

NewStopCmd creates a new command.

func NewUpCmd

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

NewUpCmd creates a new command.

func NewUpdateConfigCmd

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

NewUpdateConfigCmd creates a new command.

func NewWorkspaceCmd

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

NewWorkspaceCmd returns a new command.

Types

type BuildCmd

type BuildCmd struct {
	*flags.GlobalFlags

	WorkspaceInfo string
}

BuildCmd holds the cmd flags.

func (*BuildCmd) Run

func (cmd *BuildCmd) Run(ctx context.Context) error

Run runs the command logic.

type CleanCmd

type CleanCmd struct {
	*flags.GlobalFlags

	DockerCommand string
	HelperImage   string
}

CleanCmd holds the cmd flags.

func (*CleanCmd) Run

func (cmd *CleanCmd) Run(ctx context.Context, workspaceID string) error

type DeleteCmd

type DeleteCmd struct {
	*flags.GlobalFlags

	Container     bool
	Daemon        bool
	RemoveVolumes bool

	WorkspaceInfo string
}

DeleteCmd holds the cmd flags.

func (*DeleteCmd) Run

func (cmd *DeleteCmd) Run(ctx context.Context) error

type InstallDotfilesCmd

type InstallDotfilesCmd struct {
	*flags.GlobalFlags

	Repository            string
	InstallScript         string
	StrictHostKeyChecking bool
}

InstallDotfilesCmd holds the installDotfiles cmd flags.

func (*InstallDotfilesCmd) Run

func (cmd *InstallDotfilesCmd) Run(ctx context.Context) error

Run runs the command logic.

type LogsCmd

type LogsCmd struct {
	*flags.GlobalFlags

	ID string
}

LogsCmd holds the cmd flags.

func (*LogsCmd) Run

func (cmd *LogsCmd) Run(ctx context.Context) error

type LogsDaemonCmd

type LogsDaemonCmd struct {
	*flags.GlobalFlags

	ID string
}

LogsDaemonCmd holds the cmd flags.

func (*LogsDaemonCmd) Run

func (cmd *LogsDaemonCmd) Run(ctx context.Context) error

type SetupGPGCmd

type SetupGPGCmd struct {
	*flags.GlobalFlags

	OwnerTrust string
	SocketPath string
	GitKey     string
}

SetupGPGCmd holds the setupGPG cmd flags.

func (*SetupGPGCmd) Run

func (cmd *SetupGPGCmd) Run(ctx context.Context) error

Run executes the setup-gpg command.

type StatusCmd

type StatusCmd struct {
	*flags.GlobalFlags

	WorkspaceInfo string
}

StatusCmd holds the cmd flags.

func (*StatusCmd) Run

func (cmd *StatusCmd) Run(ctx context.Context) error

type StopCmd

type StopCmd struct {
	*flags.GlobalFlags

	WorkspaceInfo string
}

StopCmd holds the cmd flags.

func (*StopCmd) Run

func (cmd *StopCmd) Run(ctx context.Context) error

type UpCmd

type UpCmd struct {
	*flags.GlobalFlags

	WorkspaceInfo string
}

UpCmd holds the up cmd flags.

func (*UpCmd) Run

func (cmd *UpCmd) Run(ctx context.Context) error

type UpdateConfigCmd

type UpdateConfigCmd struct {
	*flags.GlobalFlags

	WorkspaceInfo string
}

UpdateConfigCmd holds the cmd flags.

func (*UpdateConfigCmd) Run

func (cmd *UpdateConfigCmd) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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