Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableAutoStop ¶ added in v0.6.213
func DisableAutoStop(s BackgroundStore, workspaceID string) error
func EnableAutoStop ¶ added in v0.6.213
func EnableAutoStop(s BackgroundStore, workspaceID string) error
func NewCmdBackground ¶
func NewCmdBackground(t *terminal.Terminal, s BackgroundStore) *cobra.Command
Types ¶
type BackgroundStore ¶
type BackgroundStore interface { util.GetWorkspaceByNameOrIDErrStore GetActiveOrganizationOrDefault() (*entity.Organization, error) GetCurrentUser() (*entity.User, error) ModifyWorkspace(workspaceID string, options *store.ModifyWorkspaceRequest) (*entity.Workspace, error) GetWorkspace(workspaceID string) (*entity.Workspace, error) GetCurrentWorkspaceID() (string, error) CreateWorkspace(organizationID string, options *store.CreateWorkspacesOptions) (*entity.Workspace, error) }
Click to show internal directories.
Click to hide internal directories.