v1alpha1

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the trs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=trs.hms.cray.com

Package v1alpha1 contains API Schema definitions for the trs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=trs.hms.cray.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "trs.hms.cray.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type TRSWorker

type TRSWorker struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TRSWorkerSpec   `json:"spec,omitempty"`
	Status TRSWorkerStatus `json:"status,omitempty"`
}

TRSWorker is the Schema for the trsworkers API +kubebuilder:subresource:status +kubebuilder:resource:path=trsworkers,scope=Namespaced +kubebuilder:printcolumn:name="Worker Type",type="string",JSONPath=".spec.worker_type",description="The type of worker this deployment is using" +kubebuilder:printcolumn:name="Worker Version",type="string",JSONPath=".spec.worker_version",description="The version of worker this deployment is using" +kubebuilder:printcolumn:name="Worker Image Tag",type="string",JSONPath=".spec.worker_image_tag",description="The tag that should be used when pulling the image"

func (*TRSWorker) DeepCopy

func (in *TRSWorker) DeepCopy() *TRSWorker

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

func (*TRSWorker) DeepCopyInto

func (in *TRSWorker) DeepCopyInto(out *TRSWorker)

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

func (*TRSWorker) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TRSWorkerList

type TRSWorkerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TRSWorker `json:"items"`
}

TRSWorkerList contains a list of TRSWorker

func (*TRSWorkerList) DeepCopy

func (in *TRSWorkerList) DeepCopy() *TRSWorkerList

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

func (*TRSWorkerList) DeepCopyInto

func (in *TRSWorkerList) DeepCopyInto(out *TRSWorkerList)

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

func (*TRSWorkerList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TRSWorkerSpec

type TRSWorkerSpec struct {

	// +kubebuilder:validation:Enum=http
	WorkerType string `json:"worker_type"`

	// +kubebuilder:validation:Enum=v1
	WorkerVersion string `json:"worker_version"`

	WorkerImageTag string `json:"worker_image_tag,omitempty"`
}

TRSWorkerSpec defines the desired state of TRSWorker

func (*TRSWorkerSpec) DeepCopy

func (in *TRSWorkerSpec) DeepCopy() *TRSWorkerSpec

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

func (*TRSWorkerSpec) DeepCopyInto

func (in *TRSWorkerSpec) DeepCopyInto(out *TRSWorkerSpec)

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

type TRSWorkerStatus

type TRSWorkerStatus struct {
}

TRSWorkerStatus defines the observed state of TRSWorker

func (*TRSWorkerStatus) DeepCopy

func (in *TRSWorkerStatus) DeepCopy() *TRSWorkerStatus

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

func (*TRSWorkerStatus) DeepCopyInto

func (in *TRSWorkerStatus) DeepCopyInto(out *TRSWorkerStatus)

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