Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=cns.vmware.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotaUsageDetails ¶
type QuotaUsageDetails struct { // Storage quota that is reserved for storage resource(s) that are being provisioned Reserved *resource.Quantity `json:"reserved,omitempty"` // Storage quota that is already used by storage resource(s) that have been provisioned Used *resource.Quantity `json:"used,omitempty"` }
QuotaUsageDetails gives reserved and used quota details
func (*QuotaUsageDetails) DeepCopy ¶
func (in *QuotaUsageDetails) DeepCopy() *QuotaUsageDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuotaUsageDetails.
func (*QuotaUsageDetails) DeepCopyInto ¶
func (in *QuotaUsageDetails) DeepCopyInto(out *QuotaUsageDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTypeLevelQuotaStatus ¶
type ResourceTypeLevelQuotaStatus struct { // Name of service extension associated with resource kind to be provisioned ResourceExtensionName string `json:"extensionName"` // Storage usage details per storage class level for given object kind ResourceTypeSCLevelQuotaStatuses SCLevelQuotaStatusList `json:"extensionQuotaUsage,omitempty"` }
func (*ResourceTypeLevelQuotaStatus) DeepCopy ¶
func (in *ResourceTypeLevelQuotaStatus) DeepCopy() *ResourceTypeLevelQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTypeLevelQuotaStatus.
func (*ResourceTypeLevelQuotaStatus) DeepCopyInto ¶
func (in *ResourceTypeLevelQuotaStatus) DeepCopyInto(out *ResourceTypeLevelQuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTypeLevelQuotaStatusList ¶
type ResourceTypeLevelQuotaStatusList []ResourceTypeLevelQuotaStatus
func (ResourceTypeLevelQuotaStatusList) DeepCopy ¶
func (in ResourceTypeLevelQuotaStatusList) DeepCopy() ResourceTypeLevelQuotaStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTypeLevelQuotaStatusList.
func (ResourceTypeLevelQuotaStatusList) DeepCopyInto ¶
func (in ResourceTypeLevelQuotaStatusList) DeepCopyInto(out *ResourceTypeLevelQuotaStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SCLevelQuotaStatus ¶
type SCLevelQuotaStatus struct { // Name of the Kubernetes StorageClass StorageClassName string `json:"storageClassName"` // Storage quota usage details for given Kubernetes storage class // +optional SCLevelQuotaUsage *QuotaUsageDetails `json:"scQuotaUsage,omitempty"` }
SCLevelQuotaStatus gives storage quota usage per Kubernetes storage class
func (*SCLevelQuotaStatus) DeepCopy ¶
func (in *SCLevelQuotaStatus) DeepCopy() *SCLevelQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCLevelQuotaStatus.
func (*SCLevelQuotaStatus) DeepCopyInto ¶
func (in *SCLevelQuotaStatus) DeepCopyInto(out *SCLevelQuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SCLevelQuotaStatusList ¶
type SCLevelQuotaStatusList []SCLevelQuotaStatus
func (SCLevelQuotaStatusList) DeepCopy ¶
func (in SCLevelQuotaStatusList) DeepCopy() SCLevelQuotaStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCLevelQuotaStatusList.
func (SCLevelQuotaStatusList) DeepCopyInto ¶
func (in SCLevelQuotaStatusList) DeepCopyInto(out *SCLevelQuotaStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StoragePolicyQuota ¶
type StoragePolicyQuota struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StoragePolicyQuotaSpec `json:"spec,omitempty"` Status StoragePolicyQuotaStatus `json:"status,omitempty"` }
StoragePolicyQuota is the Schema for the storagepolicyquotas API
func (*StoragePolicyQuota) DeepCopy ¶
func (in *StoragePolicyQuota) DeepCopy() *StoragePolicyQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePolicyQuota.
func (*StoragePolicyQuota) DeepCopyInto ¶
func (in *StoragePolicyQuota) DeepCopyInto(out *StoragePolicyQuota)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StoragePolicyQuota) DeepCopyObject ¶
func (in *StoragePolicyQuota) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StoragePolicyQuotaList ¶
type StoragePolicyQuotaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []StoragePolicyQuota `json:"items"` }
StoragePolicyQuotaList contains a list of StoragePolicyQuota
func (*StoragePolicyQuotaList) DeepCopy ¶
func (in *StoragePolicyQuotaList) DeepCopy() *StoragePolicyQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePolicyQuotaList.
func (*StoragePolicyQuotaList) DeepCopyInto ¶
func (in *StoragePolicyQuotaList) DeepCopyInto(out *StoragePolicyQuotaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StoragePolicyQuotaList) DeepCopyObject ¶
func (in *StoragePolicyQuotaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StoragePolicyQuotaSpec ¶
type StoragePolicyQuotaSpec struct { // ID of the storage policy StoragePolicyId string `json:"storagePolicyId"` // Total limit of storage across all types of storage resources // for given storage policy within given namespace // +optional Limit *resource.Quantity `json:"limit,omitempty"` }
StoragePolicyQuotaSpec defines the desired state of StoragePolicyQuota
func (*StoragePolicyQuotaSpec) DeepCopy ¶
func (in *StoragePolicyQuotaSpec) DeepCopy() *StoragePolicyQuotaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePolicyQuotaSpec.
func (*StoragePolicyQuotaSpec) DeepCopyInto ¶
func (in *StoragePolicyQuotaSpec) DeepCopyInto(out *StoragePolicyQuotaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StoragePolicyQuotaStatus ¶
type StoragePolicyQuotaStatus struct { // Storage quota usage details per storage class level for given storage policy // +optional SCLevelQuotaStatuses SCLevelQuotaStatusList `json:"total,omitempty"` // Storage quota usage details per storage object type for given storage policy // +optional ResourceTypeLevelQuotaStatuses ResourceTypeLevelQuotaStatusList `json:"extensions,omitempty"` }
StoragePolicyQuotaStatus defines the observed state of StoragePolicyQuota
func (*StoragePolicyQuotaStatus) DeepCopy ¶
func (in *StoragePolicyQuotaStatus) DeepCopy() *StoragePolicyQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePolicyQuotaStatus.
func (*StoragePolicyQuotaStatus) DeepCopyInto ¶
func (in *StoragePolicyQuotaStatus) DeepCopyInto(out *StoragePolicyQuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.