Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdImport ¶
func NewCmdImport(t *terminal.Terminal, loginImportStore ImportStore, noLoginImportStore ImportStore) *cobra.Command
Types ¶
type ImportStore ¶
type ImportStore 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) GetWorkspaceMetaData(workspaceID string) (*entity.WorkspaceMetaData, error) GetDotGitConfigFile(path string) (string, error) GetDependenciesForImport(path string) (*store.Dependencies, error) }
type NewWorkspace ¶
func MakeNewWorkspaceFromURL ¶
func MakeNewWorkspaceFromURL(url string) NewWorkspace
Click to show internal directories.
Click to hide internal directories.