Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the scheduling v1alpha1 API group +kubebuilder:object:generate=true +groupName=scheduling.moirai.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "scheduling.moirai.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec QueueSpec `json:"spec,omitempty"` Status QueueStatus `json:"status,omitempty"` }
Queue is the Schema for the queues API
func (*Queue) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Queue.
func (*Queue) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Queue) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QueueBinding ¶
type QueueBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec QueueBindingSpec `json:"spec,omitempty"` Status QueueBindingStatus `json:"status,omitempty"` }
QueueBinding is the Schema for the queuebindings API
func (*QueueBinding) DeepCopy ¶
func (in *QueueBinding) DeepCopy() *QueueBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueBinding.
func (*QueueBinding) DeepCopyInto ¶
func (in *QueueBinding) DeepCopyInto(out *QueueBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QueueBinding) DeepCopyObject ¶
func (in *QueueBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QueueBindingCondition ¶
type QueueBindingCondition struct { Type QueueBindingConditionType `json:"type,omitempty"` Status corev1.ConditionStatus `json:"status,omitempty"` LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` }
QueueBindingStatus defines the observed state of QueueBinding
func (*QueueBindingCondition) DeepCopy ¶
func (in *QueueBindingCondition) DeepCopy() *QueueBindingCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueBindingCondition.
func (*QueueBindingCondition) DeepCopyInto ¶
func (in *QueueBindingCondition) DeepCopyInto(out *QueueBindingCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueBindingConditionType ¶
type QueueBindingConditionType string
type QueueBindingList ¶
type QueueBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []QueueBinding `json:"items"` }
QueueBindingList contains a list of QueueBinding
func (*QueueBindingList) DeepCopy ¶
func (in *QueueBindingList) DeepCopy() *QueueBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueBindingList.
func (*QueueBindingList) DeepCopyInto ¶
func (in *QueueBindingList) DeepCopyInto(out *QueueBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QueueBindingList) DeepCopyObject ¶
func (in *QueueBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QueueBindingSpec ¶
type QueueBindingSpec struct { // Queue is the name of the queue to bind to Queue string `json:"queue,omitempty"` // PriorityClassName is the name of the priority class to bind to PriorityClassName string `json:"priorityClassName,omitempty"` Resource corev1.ResourceList `json:"resource,omitempty"` JobRef corev1.ObjectReference `json:"jobRef,omitempty"` }
QueueBindingSpec defines the desired state of QueueBinding
func (*QueueBindingSpec) DeepCopy ¶
func (in *QueueBindingSpec) DeepCopy() *QueueBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueBindingSpec.
func (*QueueBindingSpec) DeepCopyInto ¶
func (in *QueueBindingSpec) DeepCopyInto(out *QueueBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueBindingStatus ¶
type QueueBindingStatus struct { }
QueueBindingStatus defines the observed state of QueueBinding
func (*QueueBindingStatus) DeepCopy ¶
func (in *QueueBindingStatus) DeepCopy() *QueueBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueBindingStatus.
func (*QueueBindingStatus) DeepCopyInto ¶
func (in *QueueBindingStatus) DeepCopyInto(out *QueueBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueList ¶
type QueueList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Queue `json:"items"` }
QueueList contains a list of Queue
func (*QueueList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueList.
func (*QueueList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QueueList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QueueSpec ¶
type QueueSpec struct {
Resources corev1.ResourceList `json:"resources,omitempty"`
}
QueueSpec defines the desired state of Queue
func (*QueueSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueSpec.
func (*QueueSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueStatus ¶
type QueueStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file State QueueState `json:"state,omitempty"` }
QueueStatus defines the observed state of Queue
func (*QueueStatus) DeepCopy ¶
func (in *QueueStatus) DeepCopy() *QueueStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueStatus.
func (*QueueStatus) DeepCopyInto ¶
func (in *QueueStatus) DeepCopyInto(out *QueueStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.