Documentation ¶
Overview ¶
Package start is for starting Brev workspaces
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdStart ¶
func NewCmdStart(t *terminal.Terminal, loginStartStore StartStore, noLoginStartStore StartStore) *cobra.Command
Types ¶
type NewWorkspace ¶ added in v0.4.0
func ValidateGitURL ¶ added in v0.4.0
func ValidateGitURL(_ *terminal.Terminal, url string) NewWorkspace
type StartStore ¶ added in v0.4.0
type StartStore interface { GetWorkspaces(organizationID string, options *store.GetWorkspacesOptions) ([]entity.Workspace, error) GetActiveOrganizationOrDefault() (*entity.Organization, error) GetCurrentUser() (*entity.User, error) StartWorkspace(workspaceID string) (*entity.Workspace, error) GetWorkspace(workspaceID string) (*entity.Workspace, error) GetOrganizations(options *store.GetOrganizationsOptions) ([]entity.Organization, error) CreateWorkspace(organizationID string, options *store.CreateWorkspacesOptions) (*entity.Workspace, error) }
Click to show internal directories.
Click to hide internal directories.