Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { ID string Status DeploymentStatus Health DeploymentHealth TaskDefinition string DesiredTaskCount int Token string FailedInstances []*ecs.Failure StartTime time.Time EndTime time.Time }
func NewDeployment ¶
func NewDeployment(taskDefinition string, token string) (*Deployment, error)
func (*Deployment) UpdateDeploymentToCompleted ¶
func (d *Deployment) UpdateDeploymentToCompleted(failedInstances []*ecs.Failure) error
func (*Deployment) UpdateDeploymentToInProgress ¶
func (d *Deployment) UpdateDeploymentToInProgress( desiredTaskCount int, failedInstances []*ecs.Failure) error
type DeploymentHealth ¶
type DeploymentHealth uint8
const ( DeploymentHealthy DeploymentHealth = iota DeploymentUnhealthy )
type DeploymentStatus ¶
type DeploymentStatus uint8
const ( DeploymentPending DeploymentStatus = iota DeploymentInProgress DeploymentCompleted )
Click to show internal directories.
Click to hide internal directories.