Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the batch v1alpha1 API group +kubebuilder:object:generate=true +groupName=batch.container-solutions.com
Index ¶
Constants ¶
const ( ConditionAwaitingDelay = "AwaitingDelay" ConditionCompleted = "Completed" PhaseAwaitingDelay = "AwaitingDelay" PhaseCompleted = "Completed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "batch.container-solutions.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 DelayedJob ¶
type DelayedJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DelayedJobSpec `json:"spec,omitempty"` Status DelayedJobStatus `json:"status,omitempty"` }
DelayedJob is the Schema for the delayedjobs API
func (*DelayedJob) DeepCopy ¶
func (in *DelayedJob) DeepCopy() *DelayedJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelayedJob.
func (*DelayedJob) DeepCopyInto ¶
func (in *DelayedJob) DeepCopyInto(out *DelayedJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DelayedJob) DeepCopyObject ¶
func (in *DelayedJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DelayedJobList ¶
type DelayedJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DelayedJob `json:"items"` }
DelayedJobList contains a list of DelayedJob
func (*DelayedJobList) DeepCopy ¶
func (in *DelayedJobList) DeepCopy() *DelayedJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelayedJobList.
func (*DelayedJobList) DeepCopyInto ¶
func (in *DelayedJobList) DeepCopyInto(out *DelayedJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DelayedJobList) DeepCopyObject ¶
func (in *DelayedJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DelayedJobSpec ¶
type DelayedJobSpec struct { // DelayUntil sets the minimum UNIX Timestamp before Job is created DelayUntil types.Epoch `json:"delayUntil,omitempty"` v1.JobSpec `json:",inline"` }
DelayedJobSpec defines the desired state of DelayedJob
func (*DelayedJobSpec) DeepCopy ¶
func (in *DelayedJobSpec) DeepCopy() *DelayedJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelayedJobSpec.
func (*DelayedJobSpec) DeepCopyInto ¶
func (in *DelayedJobSpec) DeepCopyInto(out *DelayedJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DelayedJobStatus ¶
type DelayedJobStatus struct { Phase string `json:"phase,omitempty"` Conditions []metav1.Condition `json:"conditions,omitempty"` }
DelayedJobStatus defines the observed state of DelayedJob
func (*DelayedJobStatus) DeepCopy ¶
func (in *DelayedJobStatus) DeepCopy() *DelayedJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelayedJobStatus.
func (*DelayedJobStatus) DeepCopyInto ¶
func (in *DelayedJobStatus) DeepCopyInto(out *DelayedJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.