Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkg/controller/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ type ClusterStatus struct {

// VCPURestriction is the restriction on the cluster disabling the creation of new pods
VCPURestriction *VCPURestriction `json:"vCPURestriction,omitempty"`
GPURestriction *GPURestriction `json:"GPURestriction,omitempty"`
}

type GPURestriction struct {
// EnforceRestrictions is the flag to check if the cluster is restricted
EnforceRestrictions bool `json:"enforceRestrictions,omitempty"`
// LastUpdatedTimestamp is the timestamp when the enforcement was updated
LastUpdatedTimestamp metav1.Time `json:"lastUpdatedTimestamp,omitempty"`
}

type VCPURestriction struct {
Expand Down