acrcrd

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

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

View Source
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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableCapacityReservation.

func (*AvailableCapacityReservation) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableCapacityReservationList.

func (*AvailableCapacityReservationList) DeepCopyInto

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL