Skip to content

Commit 3f147e5

Browse files
feat(serverless): add timestamps to function resources (scaleway#2284)
Co-authored-by: Laure-di <[email protected]>
1 parent 0f78995 commit 3f147e5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/function/v1beta1/function_sdk.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,15 @@ type Function struct {
10981098
// Sandbox: execution environment of the function.
10991099
// Default value: unknown_sandbox
11001100
Sandbox FunctionSandbox `json:"sandbox"`
1101+
1102+
// CreatedAt: creation date of the function.
1103+
CreatedAt *time.Time `json:"created_at"`
1104+
1105+
// UpdatedAt: last update date of the function.
1106+
UpdatedAt *time.Time `json:"updated_at"`
1107+
1108+
// ReadyAt: last date when the function was successfully deployed and set to ready.
1109+
ReadyAt *time.Time `json:"ready_at"`
11011110
}
11021111

11031112
// Namespace: namespace.

0 commit comments

Comments
 (0)