types

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationInfo

type ApplicationInfo struct {
	Name      string
	Namespace string
	CreatedAt time.Time
	URL       string
	SCMType   string
	CloneURL  string
	SSHURL    string
	Framework *manifest.Plugin
	Services  []*manifest.Plugin
	Scaling   int
}

ApplicationInfo contains response of remote API: GET "/applications/{name}"

type Branch

type Branch struct {
	// The branch identifier.
	Id string

	// The display identifier.
	DisplayId string

	// The branch type, such as "BRANCH" or "TAG"
	Type string
}

Branch is a branch of deployment.

type CreateApplication

type CreateApplication struct {
	Name      string
	Framework string
	Services  []string
	Repo      string
}

CreateApplication struct contains post options of remote API: POST "/applications/"

type Deployments

type Deployments struct {
	// The current deployment branch
	Current *Branch

	// All deployment branches
	Branches []*Branch
}

Deployments contains response of remote API: GET "/applications/{name}/deploy"

type Version

type Version struct {
	Version       string
	GitCommit     string
	BuildTime     string
	DockerVersion string
	Os            string
	Arch          string
}

Version information contains response of remote API: GET "/version"

Jump to

Keyboard shortcuts

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