add tpyes
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"gitea.starryskymeow.cn/xkm/educode-controller/internal/k8s"
|
||||
)
|
||||
|
||||
// CreateWorkspaceRequest defines the request body for creating a new workspace.
|
||||
type CreateWorkspaceRequest struct {
|
||||
WorkspaceID string `json:"workspaceID" binding:"required"`
|
||||
Image string `json:"image,omitempty"`
|
||||
Env map[string]string `json:"env,omitempty"`
|
||||
ResourceLimits *k8s.ResourceLimits `json:"resourceLimits,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user