Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the executor v1 API group +kubebuilder:object:generate=true +groupName=executor.testkube.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "executor.testkube.io", Version: "v1"} // 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 Executor ¶
type Executor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExecutorSpec `json:"spec,omitempty"` Status ExecutorStatus `json:"status,omitempty"` }
Executor is the Schema for the executors API
func (*Executor) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Executor.
func (*Executor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Executor) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExecutorList ¶
type ExecutorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Executor `json:"items"` }
ExecutorList contains a list of Executor
func (*ExecutorList) DeepCopy ¶
func (in *ExecutorList) DeepCopy() *ExecutorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutorList.
func (*ExecutorList) DeepCopyInto ¶
func (in *ExecutorList) DeepCopyInto(out *ExecutorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExecutorList) DeepCopyObject ¶
func (in *ExecutorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExecutorSpec ¶
type ExecutorSpec struct { // Types defines what types can be handled by executor e.g. "postman/collection", ":curl/command" etc Types []string `json:"types"` // ExecutorType one of "rest" for rest openapi based executors or "job" which will be default runners for testkube soon ExecutorType string `json:"executor_type,omitempty"` // URI for rest based executors URI string `json:"uri,omitempty"` // Image for kube-job Image string `json:"image,omitempty"` // VolumeQuantity for kube-job PersistentVolume VolumeQuantity string `json:"volume_quantity,omitempty"` // VolumeMountPath - where should PV be monted inside job pod for e.g. artifacts VolumeMountPath string `json:"volume_mount_path,omitempty"` }
ExecutorSpec defines the desired state of Executor
func (*ExecutorSpec) DeepCopy ¶
func (in *ExecutorSpec) DeepCopy() *ExecutorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutorSpec.
func (*ExecutorSpec) DeepCopyInto ¶
func (in *ExecutorSpec) DeepCopyInto(out *ExecutorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecutorStatus ¶
type ExecutorStatus struct { }
ExecutorStatus defines the observed state of Executor
func (*ExecutorStatus) DeepCopy ¶
func (in *ExecutorStatus) DeepCopy() *ExecutorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutorStatus.
func (*ExecutorStatus) DeepCopyInto ¶
func (in *ExecutorStatus) DeepCopyInto(out *ExecutorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.