Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the job v1alpha1 API group +kubebuilder:object:generate=true +groupName=job.vr.fmwk.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "job.vr.fmwk.com", 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 VrTestJob ¶
type VrTestJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VrTestJobSpec `json:"spec,omitempty"` Status VrTestJobStatus `json:"status,omitempty"` }
VrTestJob is the Schema for the vrtestjobs API
func (*VrTestJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VrTestJob.
func (*VrTestJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VrTestJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VrTestJobList ¶
type VrTestJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VrTestJob `json:"items"` }
VrTestJobList contains a list of VrTestJob
func (*VrTestJobList) DeepCopy ¶
func (in *VrTestJobList) DeepCopy() *VrTestJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VrTestJobList.
func (*VrTestJobList) DeepCopyInto ¶
func (in *VrTestJobList) DeepCopyInto(out *VrTestJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VrTestJobList) DeepCopyObject ¶
func (in *VrTestJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VrTestJobSpec ¶
type VrTestJobSpec struct { //Image name to be spawn as a job within the cluster Image string `json:"image,omitempty"` // How many instances should we run for a singe image name Retries int32 `json:"retries,omitempty"` }
VrTestJobSpec defines the desired state of VrTestJob
func (*VrTestJobSpec) DeepCopy ¶
func (in *VrTestJobSpec) DeepCopy() *VrTestJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VrTestJobSpec.
func (*VrTestJobSpec) DeepCopyInto ¶
func (in *VrTestJobSpec) DeepCopyInto(out *VrTestJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VrTestJobStatus ¶
type VrTestJobStatus struct {
Nodes []string `json:"nodes"`
}
VrTestJobStatus defines the observed state of VrTestJob
func (*VrTestJobStatus) DeepCopy ¶
func (in *VrTestJobStatus) DeepCopy() *VrTestJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VrTestJobStatus.
func (*VrTestJobStatus) DeepCopyInto ¶
func (in *VrTestJobStatus) DeepCopyInto(out *VrTestJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.