Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lister ¶
type Lister interface { // ListPendings lists all pending deployments that should be handled by this piped. ListPendings() []*model.Deployment // ListPlanneds lists all planned deployments that should be handled by this piped. ListPlanneds() []*model.Deployment // ListRunnings lists all running deployments that should be handled by this piped. ListRunnings() []*model.Deployment // ListAppHeadDeployments returns the map from application ID to its head of deploying deployments. // Application that currently has not any uncompleted deployments will not be in this list. // Head deployment is same with the oldest uncompleted one. ListAppHeadDeployments() map[string]*model.Deployment }
Lister helps list and get deployment. All objects returned here must be treated as read-only.
Click to show internal directories.
Click to hide internal directories.