design

package
v0.0.0-...-f35731a Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Deploy = Type("DeployPayload", func() {
	Attribute("target", Target)
	Attribute("myattribute", String)
	Attribute("route", String)
	Attribute("projectGuid", String)
	Attribute("cloudAppGuid", String)
	Attribute("domain", String)
	Attribute("replicas", Integer)
	Attribute("repo", Repo)
	Attribute("serviceName", String)
	Attribute("envVars", ArrayOf(EnvVar))
	Required("target")
})
View Source
var DeployResponse = MediaType("DeployResponse", func() {
	Attribute("serviceName", String)
	Attribute("watchURL", String)
	Attribute("route", String)
	View("default", func() {
		Attribute("serviceName", String)
		Attribute("watchURL", String)
		Attribute("route", String)
	})
})
View Source
var DeployUpdate = Type("UpdatePayload", func() {
	Attribute("id", String)
	Attribute("href", String)
	Attribute("name", String)
	Required("id")
})
View Source
var EnvVar = Type("EnvVar", func() {
	Attribute("name", String)
	Attribute("value", String)
})
View Source
var Repo = Type("Repo", func() {
	Attribute("loc", String, "the location of the git repo")
	Attribute("ref", String, "the git ref to use. Example master")
})
View Source
var Target = Type("Target", func() {
	Attribute("host", String)
	Attribute("token", String)
})
View Source
var TemplateType = MediaType("TemplateSummary", func() {
	Attribute("name", String)
	Attribute("description", String)
	Attribute("labels", HashOf(String, String))
	Attribute("dependsOn", ArrayOf(String))
	View("default", func() {
		Attribute("name", String)
		Attribute("description", String)
		Attribute("labels", HashOf(String, String))
		Attribute("dependsOn", ArrayOf(String))
	})
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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