1Panel/backend/app/dto/request/runtime.go

24 lines
620 B
Go
Raw Normal View History

2023-03-29 14:58:28 +08:00
package request
import "github.com/1Panel-dev/1Panel/backend/app/dto"
type RuntimeSearch struct {
dto.PageInfo
Type string `json:"type"`
Name string `json:"name"`
}
type RuntimeCreate struct {
AppDetailID uint `json:"appDetailId"`
Name string `json:"name"`
Params map[string]interface{} `json:"params"`
Resource string `json:"resource"`
Image string `json:"image"`
Type string `json:"type"`
Version string `json:"version"`
}
2023-03-31 14:02:28 +08:00
type RuntimeDelete struct {
ID uint `json:"Id"`
}