Documentation
¶
Index ¶
Constants ¶
View Source
const DOCKER_SOCK = "/var/run/docker.sock"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
beego.Controller
}
type BaseInfo ¶
type BaseInfo struct { Name string `json:"name,omitempty"` //APP联系人姓名 Number string `json:"number,omitempty"` //APP联系人电话 Email string `json:"email,omitempty"` //APP联系人邮箱 Vendor string `json:"vendor,omitempty"` //APP厂商 }
BaseInfo 包含一些公用信息,如应用联系人、软负载地址、发布域
type DeploymentController ¶
type DeploymentController struct { BaseController BaseInfo }
func (*DeploymentController) CreateDeployment ¶
func (dc *DeploymentController) CreateDeployment()
func (*DeploymentController) DeleteDeployment ¶
func (dc *DeploymentController) DeleteDeployment()
func (*DeploymentController) ListDeployment ¶
func (dc *DeploymentController) ListDeployment()
func (*DeploymentController) PatchDeployment ¶
func (dc *DeploymentController) PatchDeployment()
type NetWorkController ¶
type NetWorkController struct {
BaseController
}
func (*NetWorkController) CreateNetwork ¶
func (nc *NetWorkController) CreateNetwork()
func (*NetWorkController) DeleteNetwork ¶
func (nc *NetWorkController) DeleteNetwork()
func (*NetWorkController) ListNetwork ¶
func (nc *NetWorkController) ListNetwork()
func (*NetWorkController) PatchNetwork ¶
func (nc *NetWorkController) PatchNetwork()
Click to show internal directories.
Click to hide internal directories.