Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdShell ¶
func NewCmdShell(t *terminal.Terminal, store ShellStore, noLoginStartStore ShellStore) *cobra.Command
Types ¶
type ShellStore ¶
type ShellStore interface { util.GetWorkspaceByNameOrIDErrStore refresh.RefreshStore GetOrganizations(options *store.GetOrganizationsOptions) ([]entity.Organization, error) GetWorkspaces(organizationID string, options *store.GetWorkspacesOptions) ([]entity.Workspace, error) StartWorkspace(workspaceID string) (*entity.Workspace, error) GetWorkspace(workspaceID string) (*entity.Workspace, error) }
Click to show internal directories.
Click to hide internal directories.