Skip to content

Commit 4ed1cd3

Browse files
committed
feat(platform): add expiration to ClusterInfo record
1 parent 7ca58e1 commit 4ed1cd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

silverback/cluster/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ class ClusterInfo(BaseModel):
285285
name: str # User-friendly display name
286286
slug: str # Shorthand name, for CLI and URI usage
287287

288+
expiration: datetime | None = None # NOTE: self-hosted clusters have no expiration
289+
288290
created: datetime # When the resource was first created
289291
status: ResourceStatus
290292
last_updated: datetime # Last time the resource was changed (upgrade, provisioning, etc.)

0 commit comments

Comments
 (0)