MCPcopy Create free account
hub / github.com/cool-sun/cloudApp / Scale

Method Scale

controller/app.go:67–80  ·  view source on GitHub ↗

@Tags app @Summary app扩缩容 @Accept json @Produce json @Param "" body model.AppScaleReq true "app扩缩容,主要是内存和cpu的调整" @Success 200 {object} model.Result "" @Failure 400 {object} model.Result "" @Router /app/scale [POST]

(c *gin.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 1

AppClientk8s/external.go

Calls 3

ErrorResponseFunction · 0.85
GetUserFunction · 0.85
SuccessResponseFunction · 0.85

Tested by

no test coverage detected