Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoDeployment = errors.New("No deployment available to monitor")
)
Functions ¶
This section is empty.
Types ¶
type DeploymentMonitor ¶
type DeploymentMonitor struct {
AppID string
DeploymentStarted func(idx int, deployment *api.DeploymentStatus) error
DeploymentUpdated func(deployment *api.DeploymentStatus, updatedAllocs []*api.AllocationStatus) error
DeploymentFailed func(deployment *api.DeploymentStatus, failedAllocs []*api.AllocationStatus) error
DeploymentSucceeded func(deployment *api.DeploymentStatus) error
// contains filtered or unexported fields
}
func NewDeploymentMonitor ¶
func NewDeploymentMonitor(client *api.Client, appID string, evaluationID string) *DeploymentMonitor
Click to show internal directories.
Click to hide internal directories.