You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package request
|
|
|
|
|
|
|
|
import "github.com/1Panel-dev/1Panel/backend/app/dto"
|
|
|
|
|
|
|
|
type RuntimeSearch struct {
|
|
|
|
dto.PageInfo
|
|
|
|
Type string `json:"type"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
}
|
|
|
|
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type RuntimeDelete struct {
|
|
|
|
ID uint `json:"id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type RuntimeUpdate struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
ID uint `json:"id"`
|
|
|
|
Params map[string]interface{} `json:"params"`
|
|
|
|
Image string `json:"image"`
|
|
|
|
Version string `json:"version"`
|
|
|
|
}
|