File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
packages/clients/src/api/container/v1beta1 Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ export const unmarshalContainer = (data: unknown): Container => {
7979
8080 return {
8181 cpuLimit : data . cpu_limit ,
82+ createdAt : unmarshalDate ( data . created_at ) ,
8283 description : data . description ,
8384 domainName : data . domain_name ,
8485 environmentVariables : data . environment_variables ,
@@ -95,6 +96,7 @@ export const unmarshalContainer = (data: unknown): Container => {
9596 port : data . port ,
9697 privacy : data . privacy ,
9798 protocol : data . protocol ,
99+ readyAt : unmarshalDate ( data . ready_at ) ,
98100 region : data . region ,
99101 registryImage : data . registry_image ,
100102 sandbox : data . sandbox ,
@@ -107,6 +109,7 @@ export const unmarshalContainer = (data: unknown): Container => {
107109 ) ,
108110 status : data . status ,
109111 timeout : data . timeout ,
112+ updatedAt : unmarshalDate ( data . updated_at ) ,
110113 } as Container
111114}
112115
Original file line number Diff line number Diff line change @@ -238,6 +238,12 @@ export interface Container {
238238 * requests being processed per container instance.
239239 */
240240 scalingOption ?: ContainerScalingOption
241+ /** Creation date of the container. */
242+ createdAt ?: Date
243+ /** Last update date of the container. */
244+ updatedAt ?: Date
245+ /** Last date when the container was successfully deployed and set to ready. */
246+ readyAt ?: Date
241247 /** Region in which the container will be deployed. */
242248 region : Region
243249}
You can’t perform that action at this time.
0 commit comments