restapi

package
v0.0.0-...-8f2995f 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: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRestAPIServer

func StartRestAPIServer()

Types

type ClusterDescription

type ClusterDescription struct {
	Name                      string
	Description               string
	ReplicationControllerJson string
	ServiceJson               string
	Environment               interface{}
	ScriptType                string
	ScriptContent             string
}

type ClusterLaunch

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

type DeployCreateInput

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

type DeployUpdateInput

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

type GithubPost

type GithubPost struct {
	User             string
	ImageInformation string
	Signature        string
	Payload          string
}

type GlusterfsClusterInput

type GlusterfsClusterInput struct {
	Name                           string
	HostSlice                      []string
	Path                           string
	SSHDialTimeoutInMilliSecond    int
	SSHSessionTimeoutInMilliSecond int
	SSHPort                        int
	SSHUser                        string
	SSHPassword                    string
}

type ImageInformationCreateInput

type ImageInformationCreateInput struct {
	Name           string
	Kind           string
	Description    string
	CurrentVersion string
	BuildParameter interface{}
}

type ImageInformationUpgradeInput

type ImageInformationUpgradeInput struct {
	ImageInformationName string
	Description          string
}

type Namesapce

type Namesapce struct {
	Name string
}

type ServiceInputDescription

type ServiceInputDescription struct {
	Name            string
	Namespace       string
	PortSlice       []control.ServicePort
	Selector        interface{}
	ClusterIP       string
	LabelMap        interface{}
	SessionAffinity string
}

type SizeInput

type SizeInput struct {
	Size int
}

type StatelessSerializableDescription

type StatelessSerializableDescription struct {
	Name                      string
	Description               string
	ReplicationControllerJson interface{}
	ServiceJson               interface{}
	Environment               interface{}
}

type TokenData

type TokenData struct {
	Token string
}

type UserData

type UserData struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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