Documentation
¶
Index ¶
- func NewCreateCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewImportCmd(globalFlags *proflags.GlobalFlags) *cobra.Command
- func NewListCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewRebuildCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewSleepCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewUpdateCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewWakeupCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewWatchCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewWorkspaceCmd(globalFlags *proflags.GlobalFlags) *cobra.Command
- type CreateWorkspaceCmd
- type ImportCmd
- type ListWorkspacesCmd
- type RebuildCmd
- type SleepCmd
- type UpdateWorkspaceCmd
- type WakeupCmd
- type WatchWorkspacesCmd
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 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.
type SleepCmd ¶
type SleepCmd struct {
*flags.GlobalFlags
Project string
Host string
ForceDuration int64
}
SleepCmd holds the cmd flags.
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.
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
Click to show internal directories.
Click to hide internal directories.