workspace

package
v1.4.2-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCmd

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

NewCreateCmd creates a new command.

func NewImportCmd

func NewImportCmd(globalFlags *proflags.GlobalFlags) *cobra.Command

NewImportCmd creates a new command.

func NewListCmd

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

NewListCmd creates a new command.

func NewRebuildCmd

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

NewRebuildCmd creates a new command.

func NewSleepCmd

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

NewSleepCmd creates a new command.

func NewUpdateCmd

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

NewUpdateCmd creates a new command.

func NewWakeupCmd

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

NewWakeupCmd creates a new command.

func NewWatchCmd

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

NewWatchCmd creates a new command.

func NewWorkspaceCmd

func NewWorkspaceCmd(globalFlags *proflags.GlobalFlags) *cobra.Command

NewWorkspaceCmd builds the 'devsy pro workspace' parent command for managing Pro workspaces.

Types

type CreateWorkspaceCmd

type CreateWorkspaceCmd struct {
	*flags.GlobalFlags

	Host     string
	Instance string
}

CreateWorkspaceCmd holds the cmd flags.

func (*CreateWorkspaceCmd) Run

func (cmd *CreateWorkspaceCmd) Run(
	ctx context.Context,
	devsyConfig *config.Config,
	provider *provider.ProviderConfig,
) error

type ImportCmd

type ImportCmd struct {
	*proflags.GlobalFlags

	WorkspaceId      string
	WorkspaceUid     string
	WorkspaceProject string

	Own bool
}

func (*ImportCmd) Run

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

type ListWorkspacesCmd

type ListWorkspacesCmd struct {
	*flags.GlobalFlags

	Host string
}

ListWorkspacesCmd holds the cmd flags.

func (*ListWorkspacesCmd) Run

func (cmd *ListWorkspacesCmd) Run(
	ctx context.Context,
	devsyConfig *config.Config,
	provider *provider.ProviderConfig,
) error

type RebuildCmd

type RebuildCmd struct {
	*flags.GlobalFlags

	Project string
	Host    string
}

RebuildCmd holds the cmd flags.

func (*RebuildCmd) Run

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

type SleepCmd

type SleepCmd struct {
	*flags.GlobalFlags

	Project       string
	Host          string
	ForceDuration int64
}

SleepCmd holds the cmd flags.

func (*SleepCmd) Run

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

type UpdateWorkspaceCmd

type UpdateWorkspaceCmd struct {
	*flags.GlobalFlags

	Host     string
	Instance string
}

UpdateWorkspaceCmd holds the cmd flags.

func (*UpdateWorkspaceCmd) Run

func (cmd *UpdateWorkspaceCmd) Run(
	ctx context.Context,
	devsyConfig *config.Config,
	provider *provider.ProviderConfig,
) error

type WakeupCmd

type WakeupCmd struct {
	*flags.GlobalFlags

	Project string
	Host    string
}

WakeupCmd holds the cmd flags.

func (*WakeupCmd) Run

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

type WatchWorkspacesCmd

type WatchWorkspacesCmd struct {
	*flags.GlobalFlags

	Host          string
	Project       string
	FilterByOwner bool
}

WatchWorkspacesCmd holds the cmd flags.

func (*WatchWorkspacesCmd) Run

func (cmd *WatchWorkspacesCmd) Run(
	ctx context.Context,
	devsyConfig *config.Config,
	providerConfig *provider.ProviderConfig,
) error

Jump to

Keyboard shortcuts

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