controllers

package
v0.0.0-...-bac4b20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL