Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentEvent ¶
type DeploymentEvent struct { // ID is an identifier for the deployment event. ID int // Name is the name of the project of the chart to deploy, e.g: aws-operator. Name string // Sha is the version of the chart to deploy. Sha string }
DeploymentEvent represents a request for a chart to be deployed.
type Eventer ¶
type Eventer interface { // NewDeploymentEvents returns a channel of DeploymentEvents. // This channel can be ranged over to receive DeploymentEvents as they come // in. // In case of error during setup, the error will be non-nil. NewDeploymentEvents() (<-chan DeploymentEvent, error) // SetPending updates the DeploymentEvent remote state to a pending state. SetPending(DeploymentEvent) error // SetSuccess updates the DeploymentEvent remote state to a success state. SetSuccess(DeploymentEvent) error // SetFailed updates the DeploymentEvent remote state to a failed state. SetFailed(DeploymentEvent) error }
Eventer represents a Service that checks for deployment events.
Click to show internal directories.
Click to hide internal directories.