Skip to content

Commit

Permalink
feat(serverless): add timestamps to function resources (#2284)
Browse files Browse the repository at this point in the history
Co-authored-by: Laure-di <[email protected]>
  • Loading branch information
scaleway-bot and Laure-di authored Oct 29, 2024
1 parent 0f78995 commit 3f147e5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/function/v1beta1/function_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,15 @@ type Function struct {
// Sandbox: execution environment of the function.
// Default value: unknown_sandbox
Sandbox FunctionSandbox `json:"sandbox"`

// CreatedAt: creation date of the function.
CreatedAt *time.Time `json:"created_at"`

// UpdatedAt: last update date of the function.
UpdatedAt *time.Time `json:"updated_at"`

// ReadyAt: last date when the function was successfully deployed and set to ready.
ReadyAt *time.Time `json:"ready_at"`
}

// Namespace: namespace.
Expand Down

0 comments on commit 3f147e5

Please sign in to comment.