Skip to content

Commit

Permalink
feat: add image-build statuses to deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Sep 22, 2022
1 parent 424377b commit 857c867
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions modelschemas/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ package modelschemas
type DeploymentStatus string

const (
DeploymentStatusUnknown DeploymentStatus = "unknown"
DeploymentStatusNonDeployed DeploymentStatus = "non-deployed"
DeploymentStatusRunning DeploymentStatus = "running"
DeploymentStatusUnhealthy DeploymentStatus = "unhealthy"
DeploymentStatusFailed DeploymentStatus = "failed"
DeploymentStatusDeploying DeploymentStatus = "deploying"
DeploymentStatusTerminating DeploymentStatus = "terminating"
DeploymentStatusTerminated DeploymentStatus = "terminated"
DeploymentStatusImageBuilding DeploymentStatus = "image-building"
DeploymentStatusUnknown DeploymentStatus = "unknown"
DeploymentStatusNonDeployed DeploymentStatus = "non-deployed"
DeploymentStatusRunning DeploymentStatus = "running"
DeploymentStatusUnhealthy DeploymentStatus = "unhealthy"
DeploymentStatusFailed DeploymentStatus = "failed"
DeploymentStatusDeploying DeploymentStatus = "deploying"
DeploymentStatusTerminating DeploymentStatus = "terminating"
DeploymentStatusTerminated DeploymentStatus = "terminated"
DeploymentStatusImageBuilding DeploymentStatus = "image-building"
DeploymentStatusImageBuildFailed DeploymentStatus = "image-build-failed"
DeploymentStatusImageBuildSucceeded DeploymentStatus = "image-build-succeeded"
)

func (d DeploymentStatus) Ptr() *DeploymentStatus {
Expand Down

0 comments on commit 857c867

Please sign in to comment.