Skip to content

Commit 125b97d

Browse files
authored
feat(inference): add scaling deployment status (scaleway#2671)
1 parent ed5a901 commit 125b97d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

api/inference/v1/inference_sdk.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const (
4949
DeploymentStatusError = DeploymentStatus("error")
5050
DeploymentStatusDeleting = DeploymentStatus("deleting")
5151
DeploymentStatusLocked = DeploymentStatus("locked")
52+
DeploymentStatusScaling = DeploymentStatus("scaling")
5253
)
5354

5455
func (enum DeploymentStatus) String() string {
@@ -68,6 +69,7 @@ func (enum DeploymentStatus) Values() []DeploymentStatus {
6869
"error",
6970
"deleting",
7071
"locked",
72+
"scaling",
7173
}
7274
}
7375

api/inference/v1beta1/inference_sdk.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const (
4949
DeploymentStatusError = DeploymentStatus("error")
5050
DeploymentStatusDeleting = DeploymentStatus("deleting")
5151
DeploymentStatusLocked = DeploymentStatus("locked")
52+
DeploymentStatusScaling = DeploymentStatus("scaling")
5253
)
5354

5455
func (enum DeploymentStatus) String() string {
@@ -68,6 +69,7 @@ func (enum DeploymentStatus) Values() []DeploymentStatus {
6869
"error",
6970
"deleting",
7071
"locked",
72+
"scaling",
7173
}
7274
}
7375

0 commit comments

Comments
 (0)