Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWorkspace ¶
CreateWorkspace godoc
@Tags workspace @Summary Create a workspace @Description Create a workspace @Param workspace body CreateWorkspace true "Create workspace" @Produce json @Success 200 {object} Workspace @Router /workspace [post] @id CreateWorkspace
func GetWorkspace ¶
GetWorkspace godoc
@Tags workspace @Summary Get workspace info @Description Get workspace info @Produce json @Param workspaceId path string true "Workspace ID or Name" @Success 200 {object} dto.Workspace @Router /workspace/{workspaceId} [get] @id GetWorkspace
func ListWorkspaces ¶
ListWorkspaces godoc
@Tags workspace @Summary List workspaces @Description List workspaces @Produce json @Success 200 {array} dto.Workspace @Router /workspace [get] @id ListWorkspaces
func RemoveWorkspace ¶
RemoveWorkspace godoc
@Tags workspace @Summary Remove workspace @Description Remove workspace @Param workspaceId path string true "Workspace ID" @Success 200 @Router /workspace/{workspaceId} [delete] @id RemoveWorkspace
func StartProject ¶
StartProject godoc
@Tags workspace @Summary Start project @Description Start project @Param workspaceId path string true "Workspace ID or Name" @Param projectId path string true "Project ID" @Success 200 @Router /workspace/{workspaceId}/{projectId}/start [post] @id StartProject
func StartWorkspace ¶
StartWorkspace godoc
@Tags workspace @Summary Start workspace @Description Start workspace @Param workspaceId path string true "Workspace ID or Name" @Success 200 @Router /workspace/{workspaceId}/start [post] @id StartWorkspace
func StopProject ¶
StopProject godoc
@Tags workspace @Summary Stop project @Description Stop project @Param workspaceId path string true "Workspace ID or Name" @Param projectId path string true "Project ID" @Success 200 @Router /workspace/{workspaceId}/{projectId}/stop [post] @id StopProject
func StopWorkspace ¶
StopWorkspace godoc
@Tags workspace @Summary Stop workspace @Description Stop workspace @Param workspaceId path string true "Workspace ID or Name" @Success 200 @Router /workspace/{workspaceId}/stop [post] @id StopWorkspace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.