deploy

package
v0.0.0-...-b1c395d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByDeployInformation

type ByDeployInformation []DeployInformation

func (ByDeployInformation) Len

func (b ByDeployInformation) Len() int

func (ByDeployInformation) Less

func (b ByDeployInformation) Less(i, j int) bool

func (ByDeployInformation) Swap

func (b ByDeployInformation) Swap(i, j int)

type ByImageRecord

type ByImageRecord []ImageRecord

func (ByImageRecord) Len

func (b ByImageRecord) Len() int

func (ByImageRecord) Less

func (b ByImageRecord) Less(i, j int) bool

func (ByImageRecord) Swap

func (b ByImageRecord) Swap(i, j int)

type Capacity

type Capacity struct {
	Cpu    string
	Memory string
}

type CreateController

type CreateController struct {
	beego.Controller
}

func (*CreateController) Get

func (c *CreateController) Get()

func (*CreateController) Post

func (c *CreateController) Post()

type DeleteController

type DeleteController struct {
	beego.Controller
}

func (*DeleteController) Get

func (c *DeleteController) Get()

type DeployContainerPort

type DeployContainerPort struct {
	Name          string
	ContainerPort int
	NodePort      int
	Protocol      string
}

type DeployCreateInput

type DeployCreateInput struct {
	ImageInformationName  string
	Version               string
	Description           string
	ReplicaAmount         int
	PortSlice             []DeployContainerPort
	EnvironmentSlice      []ReplicationControllerContainerEnvironment
	ResourceMap           map[string]interface{}
	ExtraJsonMap          map[string]interface{}
	AutoUpdateForNewBuild bool
}

type DeployInformation

type DeployInformation struct {
	Namespace                      string
	ImageInformationName           string
	CurrentVersion                 string
	CurrentVersionDescription      string
	Description                    string
	ReplicaAmount                  int
	AutoUpdateForNewBuild          bool
	HiddenTagGuiDeployDeployUpdate string
	HiddenTagGuiDeployDeployResize string
	HiddenTagGuiDeployDeployDelete string
}

type DeployUpdateInput

type DeployUpdateInput struct {
	ImageInformationName string
	Version              string
	Description          string
	EnvironmentSlice     []ReplicationControllerContainerEnvironment
}

type ImageRecord

type ImageRecord struct {
	ImageInformation string
	Version          string
	Path             string
	VersionInfo      map[string]string
	Environment      map[string]string
	Description      string
	CreatedTime      string
	Failure          bool
}

type ListController

type ListController struct {
	beego.Controller
}

func (*ListController) Get

func (c *ListController) Get()

type Node

type Node struct {
	Name     string
	Address  string
	Capacity Capacity
}

type Region

type Region struct {
	Name           string
	LocationTagged bool
	ZoneSlice      []Zone
}

type ReplicationController

type ReplicationController struct {
	Name           string
	ReplicaAmount  int
	Selector       ReplicationControllerSelector
	Label          ReplicationControllerLabel
	ContainerSlice []ReplicationControllerContainer
}

type ReplicationControllerContainer

type ReplicationControllerContainer struct {
	Name             string
	Image            string
	PortSlice        []ReplicationControllerContainerPort
	EnvironmentSlice []ReplicationControllerContainerEnvironment
}

type ReplicationControllerContainerEnvironment

type ReplicationControllerContainerEnvironment struct {
	Name  string
	Value string
}

type ReplicationControllerContainerPort

type ReplicationControllerContainerPort struct {
	Name          string
	ContainerPort int
}

type ReplicationControllerLabel

type ReplicationControllerLabel struct {
	Name string
}

type ReplicationControllerSelector

type ReplicationControllerSelector struct {
	Name    string
	Version string
}

type ResizeController

type ResizeController struct {
	beego.Controller
}

func (*ResizeController) Get

func (c *ResizeController) Get()

func (*ResizeController) Post

func (c *ResizeController) Post()

type UpdateController

type UpdateController struct {
	beego.Controller
}

func (*UpdateController) Get

func (c *UpdateController) Get()

func (*UpdateController) Post

func (c *UpdateController) Post()

type Zone

type Zone struct {
	Name           string
	LocationTagged bool
	NodeSlice      []Node
}

Jump to

Keyboard shortcuts

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