topologytemplate

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 ByTopology

type ByTopology []Topology

func (ByTopology) Len

func (b ByTopology) Len() int

func (ByTopology) Less

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

func (ByTopology) Swap

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

type CloneController

type CloneController struct {
	beego.Controller
}

func (*CloneController) Get

func (c *CloneController) Get()

func (*CloneController) Post

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

type Launch

type Launch struct {
	Order                    int
	LaunchApplication        *LaunchApplication
	LaunchClusterApplication *LaunchClusterApplication
	// The following is used for GUI
	Information                       string
	Name                              string
	RegionSlice                       []Region
	HiddenTagLaunchApplication        string
	HiddenTagLaunchClusterApplication string
}

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 ListController

type ListController struct {
	beego.Controller
}

func (*ListController) Get

func (c *ListController) Get()

type Region

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

type ReplicationControllerContainerEnvironment

type ReplicationControllerContainerEnvironment struct {
	Name  string
	Value string
}

type Topology

type Topology struct {
	Name            string
	SourceNamespace string
	CreatedUser     string
	CreatedDate     time.Time
	Description     string
	LaunchSlice     []Launch
	// The following is used for GUI
	HiddenTagGuiRepositoryTopologyTemplateClone  string
	HiddenTagGuiRepositoryTopologyTemplateDelete string
}

type Zone

type Zone struct {
	Name           string
	LocationTagged bool
}

Jump to

Keyboard shortcuts

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