Documentation ¶
Overview ¶
Package acrcrd contains API Schema definitions for the available capacity reservation v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersionAvailableCapacity is group version used to register these objects GroupVersionACR = schema.GroupVersion{Group: v1.CSICRsGroupVersion, Version: v1.Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilderACR = &crScheme.Builder{GroupVersion: GroupVersionACR} // AddToSchemeAvailableCapacity adds the types in this group-version to the given scheme. AddToSchemeACR = SchemeBuilderACR.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AvailableCapacityReservation ¶
type AvailableCapacityReservation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec api.AvailableCapacityReservation `json:"spec,omitempty"` }
AvailableCapacityReservation is the Schema for the availablecapacitiereservations API +kubebuilder:resource:scope=Cluster,shortName={acr,acrs} +kubebuilder:printcolumn:name="NAMESPACE",type="string",JSONPath=".spec.Namespace",description="Pod namespace" +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".spec.Status",description="Status of AvailableCapacityReservation" +kubebuilder:printcolumn:name="REQUESTED NODES",type="string",JSONPath=".spec.NodeRequests.Requested",description="List of requested nodes",priority=1 +kubebuilder:printcolumn:name="RESERVED NODES",type="string",JSONPath=".spec.NodeRequests.Reserved",description="List of reserved nodes",priority=1
func (*AvailableCapacityReservation) DeepCopy ¶
func (in *AvailableCapacityReservation) DeepCopy() *AvailableCapacityReservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableCapacityReservation.
func (*AvailableCapacityReservation) DeepCopyInto ¶
func (in *AvailableCapacityReservation) DeepCopyInto(out *AvailableCapacityReservation)
func (*AvailableCapacityReservation) DeepCopyObject ¶
func (in *AvailableCapacityReservation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AvailableCapacityReservationList ¶
type AvailableCapacityReservationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AvailableCapacityReservation `json:"items"` }
AvailableCapacityReservationList contains a list of AvailableCapacityReservation +kubebuilder:object:generate=true
func (*AvailableCapacityReservationList) DeepCopy ¶
func (in *AvailableCapacityReservationList) DeepCopy() *AvailableCapacityReservationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableCapacityReservationList.
func (*AvailableCapacityReservationList) DeepCopyInto ¶
func (in *AvailableCapacityReservationList) DeepCopyInto(out *AvailableCapacityReservationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AvailableCapacityReservationList) DeepCopyObject ¶
func (in *AvailableCapacityReservationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.