Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildErrWithCode ¶
func DoesIllegalOperation ¶
func Err400 ¶
func Err400(o *beego.Controller, err error)
func HandleErr ¶
func HandleErr(o *beego.Controller, err error)
Types ¶
type HealthController ¶
type HealthController struct {
beego.Controller
}
Operations about network
func (*HealthController) Get ¶
func (self *HealthController) Get()
@Title Get @Description get health level @Success 200 {object} models.HealthObj @router / [get]
type LogController ¶
type LogController struct {
beego.Controller
}
func (*LogController) Put ¶
func (l *LogController) Put()
@Title modify log level @Description modify log level for klog @Failure 400 params is invalid @router /:log_level [put]
type PodController ¶
type PodController struct { beego.Controller // contains filtered or unexported fields }
Operations about object
func (*PodController) Post ¶
func (self *PodController) Post()
@Title create @Description attach ports to pod or detach ports from pod @Param body body skel.CmdArgs true "cni args for pod" @Success 200 {string} @Failure 403 invalid request operation @Failure 406 invalid request json body @Failure 409 operation return error @router / [post]
Click to show internal directories.
Click to hide internal directories.