Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type AuthTokens ¶
type Organization ¶
type RequestCreateWorkspace ¶
type RequestCreateWorkspace struct { Name string `json:"name"` WorkspaceGroupID string `json:"workspaceGroupId"` WorkspaceClassID string `json:"workspaceClassId"` GitRepo string `json:"gitRepo"` IsStoppable bool `json:"isStoppable"` WorkspaceTemplateID string `json:"workspaceTemplateId"` PrimaryApplicationID string `json:"primaryApplicationId"` Applications []Application `json:"applications"` }
type UpdateUser ¶ added in v0.5.0
type UserKeys ¶
type UserKeys struct { PrivateKey string `json:"privateKey"` PublicKey string `json:"publicKey"` WorkspaceGroups []WorkspaceGroupKeys `json:"workspaceGroups"` }
func (UserKeys) GetWorkspaceGroupKeysByGroupID ¶
func (u UserKeys) GetWorkspaceGroupKeysByGroupID(groupID string) (*WorkspaceGroupKeys, error)
type Workspace ¶
type Workspace struct { ID string `json:"id"` Name string `json:"name"` WorkspaceGroupID string `json:"workspaceGroupId"` OrganizationID string `json:"organizationId"` // WorkspaceClassID is resources, like "2x8" WorkspaceClassID string `json:"workspaceClassId"` CreatedByUserID string `json:"createdByUserId"` DNS string `json:"dns"` Status string `json:"status"` Password string `json:"password"` GitRepo string `json:"gitRepo"` Version string `json:"version"` WorkspaceTemplate WorkspaceTemplate `json:"workspaceTemplate"` }
func (Workspace) GetLocalIdentifier ¶ added in v0.5.0
func (w Workspace) GetLocalIdentifier(workspaces []Workspace) WorkspaceLocalID
type WorkspaceGroupKeys ¶
type WorkspaceLocalID ¶ added in v0.5.0
type WorkspaceLocalID string
type WorkspaceMetaData ¶
type WorkspaceMetaData struct { PodName string `json:"podName"` NamespaceName string `json:"namespaceName"` }
func (WorkspaceMetaData) GetNamespaceName ¶
func (w WorkspaceMetaData) GetNamespaceName() string
func (WorkspaceMetaData) GetPodName ¶
func (w WorkspaceMetaData) GetPodName() string
type WorkspaceTemplate ¶ added in v0.6.0
type WorkspaceWithMeta ¶
type WorkspaceWithMeta struct { WorkspaceMetaData Workspace }
Click to show internal directories.
Click to hide internal directories.