Documentation ¶
Overview ¶
Package ls lists workspaces in the current org
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ls ¶ added in v0.4.0
type Ls struct {
// contains filtered or unexported fields
}
func (Ls) RunWorkspaces ¶ added in v0.4.0
func (ls Ls) RunWorkspaces(org *entity.Organization, showAll bool) error
type LsStore ¶ added in v0.4.0
type LsStore interface { GetWorkspaces(organizationID string, options *store.GetWorkspacesOptions) ([]entity.Workspace, error) GetActiveOrganizationOrDefault() (*entity.Organization, error) GetCurrentUser() (*entity.User, error) GetUsers(queryParams map[string]string) ([]entity.User, error) GetWorkspace(workspaceID string) (*entity.Workspace, error) GetOrganizations(options *store.GetOrganizationsOptions) ([]entity.Organization, error) }
Click to show internal directories.
Click to hide internal directories.