Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsController ¶
type AppsController struct {
beego.Controller
}
Operations about app
func (*AppsController) Delete ¶
func (this *AppsController) Delete()
@Title Delete @Description delete app by appname @Param project path string true "The project you want to get" @Param appName path string true "The app you want to delete" @Success 200 {app} models.App @Failure 400 :appName is empty @router /:appName [delete]
func (*AppsController) Get ¶
func (this *AppsController) Get()
@Title Get @Description get app by appname @Param project path string true "The project you want to get" @Param appName path string true "The appname you want to get" @Success 200 {app} models.App @Failure 400 :appName is empty @router /:appName [get]
func (*AppsController) GetAll ¶
func (this *AppsController) GetAll()
@Title GetAll @Description get all apps @Param project path string true "The project you want to get" @Success 200 {app} models.App @Failure 400 :appName is empty @router / [get]
func (*AppsController) Post ¶
func (this *AppsController) Post()
@Title Create @Description create new app @Param project path string true "The project you want to get" @Param body body models.App true "The app content" @Success 200 {app} models.App.AppName @Failure 400 :body is empty @router / [post]
type IngressesController ¶
type IngressesController struct {
beego.Controller
}
Operations about ingress
func (*IngressesController) Delete ¶
func (this *IngressesController) Delete()
@Title Delete @Description delete ingress by name @Param project path string true "The project you want to get" @Param ingressName path string true "The ingress you want to delete" @Success 200 {ingress} models.Ingress @Failure 400 :ingressName is empty @router /:ingressName [delete]
func (*IngressesController) Get ¶
func (this *IngressesController) Get()
@Title Get @Description get ingress by name @Param project path string true "The project you want to get" @Param ingressName path string true "The ingress you want to get" @Success 200 {ingress} models.Ingress @Failure 400 :ingressName is empty @router /:ingressName [get]
func (*IngressesController) Post ¶
func (this *IngressesController) Post()
@Title Create @Description create new ingress @Param project path string true "The project you want to get" @Param body body models.Ingress true "The ingress content" @Success 200 {app} models.Ingress @Failure 400 :body is empty @router / [post]
type ProjectsController ¶
type ProjectsController struct {
beego.Controller
}
Operations about project
type ServicesController ¶
type ServicesController struct {
beego.Controller
}
Operations about service
func (*ServicesController) Delete ¶
func (this *ServicesController) Delete()
@Title Delete @Description delete service by name @Param project path string true "The project you want to get" @Param serviceName path string true "The service you want to delete" @Success 200 {service} models.Service @Failure 400 :serviceName is empty @router /:serviceName [delete]
func (*ServicesController) Get ¶
func (this *ServicesController) Get()
@Title Get @Description get service by name @Param project path string true "The project you want to get" @Param serviceName path string true "The service you want to get" @Success 200 {service} models.Service @Failure 400 :serviceName is empty @router /:serviceName [get]
func (*ServicesController) Post ¶
func (this *ServicesController) Post()
@Title Create @Description create new service @Param project path string true "The project you want to get" @Param body body models.Service true "The service content" @Success 200 {service} models.Service @Failure 400 :body is empty @router / [post]