Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the daemon v1alpha1 API group +kubebuilder:object:generate=true +groupName=daemon.justk8s.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "daemon.justk8s.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 DaemonJob ¶
type DaemonJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DaemonJobSpec `json:"spec,omitempty"` Status DaemonJobStatus `json:"status,omitempty"` }
DaemonJob is the Schema for the daemonjobs API
func (*DaemonJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonJob.
func (*DaemonJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaemonJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DaemonJobList ¶
type DaemonJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DaemonJob `json:"items"` }
DaemonJobList contains a list of DaemonJob
func (*DaemonJobList) DeepCopy ¶
func (in *DaemonJobList) DeepCopy() *DaemonJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonJobList.
func (*DaemonJobList) DeepCopyInto ¶
func (in *DaemonJobList) DeepCopyInto(out *DaemonJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaemonJobList) DeepCopyObject ¶
func (in *DaemonJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DaemonJobSpec ¶
type DaemonJobSpec struct { // Specifies the job that will be created when executing a DaemonJob. JobTemplate JobTemplateSpec `json:"jobTemplate"` }
DaemonJobSpec defines the desired state of DaemonJob
func (*DaemonJobSpec) DeepCopy ¶
func (in *DaemonJobSpec) DeepCopy() *DaemonJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonJobSpec.
func (*DaemonJobSpec) DeepCopyInto ¶
func (in *DaemonJobSpec) DeepCopyInto(out *DaemonJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaemonJobStatus ¶
type DaemonJobStatus struct { // The total number of nodes that should be running the daemon // job (including nodes correctly running the daemon job). DesiredNumberScheduled int32 `json:"desiredNumberScheduled"` // The number of nodes that should be running the // daemon job and have one or more of the pod running and // available (ready for at least spec.minReadySeconds) // +optional NumberAvailable *int32 `json:"numberAvailable"` // The number of jobs that are completed. // +optional CompletedJobs *int32 `json:"completedJobs,omitempty"` // The number of jobs that are failed // +optional FailedJobs *int32 `json:"failedJobs,omitempty"` }
DaemonJobStatus defines the observed state of DaemonJob
func (*DaemonJobStatus) DeepCopy ¶
func (in *DaemonJobStatus) DeepCopy() *DaemonJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonJobStatus.
func (*DaemonJobStatus) DeepCopyInto ¶
func (in *DaemonJobStatus) DeepCopyInto(out *DaemonJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobTemplateSpec ¶
type JobTemplateSpec struct { // Standard object's metadata of the jobs created from this template. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the job. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec batchv1.JobSpec `json:"spec,omitempty"` }
JobTemplateSpec defines the Template of DaemonJobSpec
func (*JobTemplateSpec) DeepCopy ¶
func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
func (*JobTemplateSpec) DeepCopyInto ¶
func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.