Skip to content

Commit

Permalink
added DeactivationTimestamp to UserSignup.Status
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryzak committed Mar 12, 2024
1 parent d9243c5 commit d838764
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/v1alpha1/usersignup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ type UserSignupStatus struct {
// This is used by the proxy when no workspace context is provided.
// +optional
HomeSpace string `json:"homeSpace,omitempty"`

// DeactivationTimestamp is the calculated timestamp after which the user's account will be deactivated, typically
// after the expiry of their trial and based on the term specific by their UserTier. This property may be used as
// a convenience to determine the amount of time an account has left before deactivation, without requiring a separate
// lookup for the UserTier and subsequent calculation.
DeactivationTimestamp string `json:"deactivationTimestamp,omitempty"`
}

//+kubebuilder:object:root=true
Expand Down
7 changes: 7 additions & 0 deletions api/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d838764

Please sign in to comment.