Documentation ¶
Index ¶
- func MkResponse(ctx *gin.Context, code int, msg string, data interface{})
- type Pager
- type Service
- func (h *Service) BreathRecord(ctx *gin.Context)
- func (h *Service) Create(ctx *gin.Context)
- func (h *Service) Detail(ctx *gin.Context)
- func (h *Service) Expand(ctx *gin.Context)
- func (h *Service) List(ctx *gin.Context)
- func (h *Service) Shrink(ctx *gin.Context)
- func (h *Service) Update(ctx *gin.Context)
- type ServiceCreateHttpRequest
- type ServiceCreateHttpResponse
- type ServiceExpandHttpRequest
- type ServiceExpandHttpResponse
- type ServiceInfo
- type ServiceShrinkHttpRequest
- type ServiceShrinkHttpResponse
- type TmplExpand
- type TmplExpandRequest
- type TmplExpandResponse
- type TmplInfoResponse
- type TmplUpdateRequest
- type TmplUpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServiceCreateHttpRequest ¶
type ServiceCreateHttpRequest struct {
ServiceInfo *types.ServiceInfo `json:"service_info"`
}
type ServiceCreateHttpResponse ¶
type ServiceCreateHttpResponse struct {
ServiceClusterId int64 `json:"service_cluster_id"`
}
type ServiceExpandHttpResponse ¶
type ServiceExpandHttpResponse struct { }
type ServiceInfo ¶
type ServiceShrinkHttpResponse ¶
type ServiceShrinkHttpResponse struct { }
type TmplExpand ¶
type TmplExpand struct { }
func (*TmplExpand) Info ¶
func (h *TmplExpand) Info(ctx *gin.Context)
func (*TmplExpand) List ¶
func (h *TmplExpand) List(ctx *gin.Context)
func (*TmplExpand) Update ¶
func (h *TmplExpand) Update(ctx *gin.Context)
type TmplExpandRequest ¶
type TmplExpandRequest struct { EndStep string `json:"end_step"` TmplInfo *types.TmpInfo `json:"tmpl_info"` BaseEnv *types.BaseEnv `json:"base_env"` ServiceEnv *types.ServiceEnv `json:"service_env"` Mount *types.ParamsMount `json:"mount"` }
type TmplExpandResponse ¶
type TmplExpandResponse struct {
TmplId string `json:"tmpl_id"`
}
type TmplInfoResponse ¶
type TmplInfoResponse struct { TmplInfo *types.TmpInfo `json:"tmpl_info"` BaseEnv *types.BaseEnv `json:"base_env"` ServiceEnv *types.ServiceEnv `json:"service_env"` Mount *types.ParamsMount `json:"mount"` }
type TmplUpdateRequest ¶
type TmplUpdateRequest struct { TmplExpandId int64 `json:"tmpl_expand_id"` EndStep string `json:"end_step"` TmplInfo *types.TmpInfo `json:"tmpl_info"` BaseEnv *types.BaseEnv `json:"base_env"` ServiceEnv *types.ServiceEnv `json:"service_env"` Mount *types.ParamsMount `json:"mount"` }
type TmplUpdateResponse ¶
type TmplUpdateResponse struct {
TmplId string `json:"tmpl_id"`
}
Click to show internal directories.
Click to hide internal directories.