We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a5dec2 + 20b378a commit ab44f58Copy full SHA for ab44f58
pkg/controller/v1alpha1/cluster_types.go
@@ -136,6 +136,14 @@ type ClusterStatus struct {
136
137
// VCPURestriction is the restriction on the cluster disabling the creation of new pods
138
VCPURestriction *VCPURestriction `json:"vCPURestriction,omitempty"`
139
+ GPURestriction *GPURestriction `json:"GPURestriction,omitempty"`
140
+}
141
+
142
+type GPURestriction struct {
143
+ // EnforceRestrictions is the flag to check if the cluster is restricted
144
+ EnforceRestrictions bool `json:"enforceRestrictions,omitempty"`
145
+ // LastUpdatedTimestamp is the timestamp when the enforcement was updated
146
+ LastUpdatedTimestamp metav1.Time `json:"lastUpdatedTimestamp,omitempty"`
147
}
148
149
type VCPURestriction struct {
0 commit comments