Skip to content

Commit 3ca8f30

Browse files
authored
feat(serverless): add timestamps to container resources (scaleway#2280)
1 parent 736ebc2 commit 3ca8f30

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/container/v1beta1/container_sdk.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,15 @@ type Container struct {
943943
// - concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
944944
ScalingOption *ContainerScalingOption `json:"scaling_option"`
945945

946+
// CreatedAt: creation date of the container.
947+
CreatedAt *time.Time `json:"created_at"`
948+
949+
// UpdatedAt: last update date of the container.
950+
UpdatedAt *time.Time `json:"updated_at"`
951+
952+
// ReadyAt: last date when the container was successfully deployed and set to ready.
953+
ReadyAt *time.Time `json:"ready_at"`
954+
946955
// Region: region in which the container will be deployed.
947956
Region scw.Region `json:"region"`
948957
}

0 commit comments

Comments
 (0)