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.
Click to show internal directories.
Click to hide internal directories.