clone

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 ByClone

type ByClone []Clone

func (ByClone) Len

func (b ByClone) Len() int

func (ByClone) Less

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

func (ByClone) Swap

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

type ByLaunch

type ByLaunch []Launch

func (ByLaunch) Len

func (b ByLaunch) Len() int

func (ByLaunch) Less

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

func (ByLaunch) Swap

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

type Capacity

type Capacity struct {
	Cpu    string
	Memory string
}

type Clone

type Clone struct {
	Name                           string
	DeployClusterApplication       DeployClusterApplication
	DeployInformation              DeployInformation
	RegionSlice                    []Region
	Order                          int
	CreatedTime                    time.Time
	DeployClusterApplicationHidden string
	DeployInformationHidden        string
}

type DeployClusterApplication

type DeployClusterApplication struct {
	Name                              string
	Namespace                         string
	Size                              int
	EnvironmentSlice                  []interface{}
	ReplicationControllerExtraJsonMap map[string]interface{}
	ServiceName                       string
	ReplicationControllerNameSlice    []string
	CreatedTime                       time.Time
	EnvironmentMap                    map[string]string
}

type DeployContainerPort

type DeployContainerPort struct {
	Name          string
	ContainerPort int
	NodePort      int
}

type DeployInformation

type DeployInformation struct {
	Namespace                 string
	ImageInformationName      string
	CurrentVersion            string
	CurrentVersionDescription string
	Description               string
	ReplicaAmount             int
	ContainerPortSlice        []DeployContainerPort
	EnvironmentSlice          []ReplicationControllerContainerEnvironment
	ResourceMap               map[string]interface{}
	ExtraJsonMap              map[string]interface{}
	CreatedTime               time.Time
}

type Launch

type Launch struct {
	Order                    int
	LaunchApplication        *LaunchApplication
	LaunchClusterApplication *LaunchClusterApplication
}

type LaunchApplication

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

type LaunchClusterApplication

type LaunchClusterApplication struct {
	Name                              string
	Size                              int
	EnvironmentSlice                  []interface{}
	ReplicationControllerExtraJsonMap map[string]interface{}
}

type Node

type Node struct {
	Name     string
	Address  string
	Capacity Capacity
}

type Region

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

type ReplicationControllerContainerEnvironment

type ReplicationControllerContainerEnvironment struct {
	Name  string
	Value string
}

type SelectController

type SelectController struct {
	beego.Controller
}

func (*SelectController) Get

func (c *SelectController) Get()

func (*SelectController) Post

func (c *SelectController) Post()

type Topology

type Topology struct {
	Name            string
	SourceNamespace string
	CreatedUser     string
	CreatedDate     time.Time
	Description     string
	LaunchSlice     []Launch
}

type TopologyController

type TopologyController struct {
	beego.Controller
}

func (*TopologyController) Get

func (c *TopologyController) Get()

func (*TopologyController) Post

func (c *TopologyController) 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