Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the job v1alpha1 API group +kubebuilder:object:generate=true +groupName=job.nuka137.com
Index ¶
Constants ¶
const ( PhasePending = "PENDING" PhaseRunning = "RUNNING" PhaseDone = "DONE" PhaseExceededDeadline = "EXCEEDED_DEADLINE" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "job.nuka137.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 DeadlineJob ¶
type DeadlineJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeadlineJobSpec `json:"spec,omitempty"` Status DeadlineJobStatus `json:"status,omitempty"` }
DeadlineJob is the Schema for the deadlinejobs API
func (*DeadlineJob) DeepCopy ¶
func (in *DeadlineJob) DeepCopy() *DeadlineJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadlineJob.
func (*DeadlineJob) DeepCopyInto ¶
func (in *DeadlineJob) DeepCopyInto(out *DeadlineJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeadlineJob) DeepCopyObject ¶
func (in *DeadlineJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeadlineJobList ¶
type DeadlineJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeadlineJob `json:"items"` }
DeadlineJobList contains a list of DeadlineJob
func (*DeadlineJobList) DeepCopy ¶
func (in *DeadlineJobList) DeepCopy() *DeadlineJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadlineJobList.
func (*DeadlineJobList) DeepCopyInto ¶
func (in *DeadlineJobList) DeepCopyInto(out *DeadlineJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeadlineJobList) DeepCopyObject ¶
func (in *DeadlineJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeadlineJobSpec ¶
type DeadlineJobSpec struct { JobStart string `json:"jobStart,omitempty"` JobEnd string `json:"jobEnd,omitempty"` Command string `json:"command,omitempty"` }
DeadlineJobSpec defines the desired state of DeadlineJob
func (*DeadlineJobSpec) DeepCopy ¶
func (in *DeadlineJobSpec) DeepCopy() *DeadlineJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadlineJobSpec.
func (*DeadlineJobSpec) DeepCopyInto ¶
func (in *DeadlineJobSpec) DeepCopyInto(out *DeadlineJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeadlineJobStatus ¶
type DeadlineJobStatus struct {
Phase string `json:"phase,omitempty"`
}
DeadlineJobStatus defines the observed state of DeadlineJob
func (*DeadlineJobStatus) DeepCopy ¶
func (in *DeadlineJobStatus) DeepCopy() *DeadlineJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadlineJobStatus.
func (*DeadlineJobStatus) DeepCopyInto ¶
func (in *DeadlineJobStatus) DeepCopyInto(out *DeadlineJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.