v1alpha1

package
v0.0.0-...-2791734 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

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

func (in *Queue) DeepCopy() *Queue

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

func (*Queue) DeepCopyInto

func (in *Queue) DeepCopyInto(out *Queue)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Queue) DeepCopyObject

func (in *Queue) DeepCopyObject() runtime.Object

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

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

func (in *QueueList) DeepCopy() *QueueList

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

func (*QueueList) DeepCopyInto

func (in *QueueList) DeepCopyInto(out *QueueList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*QueueList) DeepCopyObject

func (in *QueueList) DeepCopyObject() runtime.Object

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

func (in *QueueSpec) DeepCopy() *QueueSpec

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

func (*QueueSpec) DeepCopyInto

func (in *QueueSpec) DeepCopyInto(out *QueueSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QueueState

type QueueState string
const QueueStateReady QueueState = "Ready"

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.

Jump to

Keyboard shortcuts

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