mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-04 12:47:36 +08:00
18 lines
475 B
Go
18 lines
475 B
Go
package model
|
|
|
|
// AppPort -
|
|
type AppPort struct {
|
|
ServiceID string `json:"service_id" validate:"required"`
|
|
ContainerPort int `json:"container_port" validate:"required"`
|
|
PortAlias string `json:"port_alias" validate:"required"`
|
|
K8sServiceName string `json:"k8s_service_name" validate:"required"`
|
|
}
|
|
|
|
// AppStatus -
|
|
type AppStatus struct {
|
|
Status string `json:"status"`
|
|
Cpu int64 `json:"cpu"`
|
|
Memory int64 `json:"memory"`
|
|
Disk int64 `json:"disk"`
|
|
}
|