Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusRunning = "running" StatusSucceeded = "succeeded" StatusFailed = "failed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { Id string `json:"id"` App string `json:"app"` Environment string `json:"environment"` Status string `json:"status"` // contains filtered or unexported fields }
func (*Deployment) Fail ¶
func (d *Deployment) Fail(err error)
func (*Deployment) Log ¶
func (d *Deployment) Log(msg string)
func (*Deployment) Succeed ¶
func (d *Deployment) Succeed()
type Spec ¶
type Spec struct { App *application.Application `json:"app"` TargetEnv string `json:"target_env"` Artifact string `json:"artifact"` }
Spec describes the deployment specification supplied by the client to deploy a particular application.
func (*Spec) CheckIsValid ¶
Click to show internal directories.
Click to hide internal directories.