v1alpha1

package
v0.0.0-...-bbdd31a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the batch v1alpha1 API group +kubebuilder:object:generate=true +groupName=batch.kanatakita.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "batch.kanatakita.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 ManyTimesJob

type ManyTimesJob struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ManyTimesJobSpec   `json:"spec,omitempty"`
	Status ManyTimesJobStatus `json:"status,omitempty"`
}

ManyTimesJob is the Schema for the manytimesjobs API

func (*ManyTimesJob) DeepCopy

func (in *ManyTimesJob) DeepCopy() *ManyTimesJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManyTimesJob.

func (*ManyTimesJob) DeepCopyInto

func (in *ManyTimesJob) DeepCopyInto(out *ManyTimesJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManyTimesJob) DeepCopyObject

func (in *ManyTimesJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManyTimesJobList

type ManyTimesJobList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ManyTimesJob `json:"items"`
}

ManyTimesJobList contains a list of ManyTimesJob

func (*ManyTimesJobList) DeepCopy

func (in *ManyTimesJobList) DeepCopy() *ManyTimesJobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManyTimesJobList.

func (*ManyTimesJobList) DeepCopyInto

func (in *ManyTimesJobList) DeepCopyInto(out *ManyTimesJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManyTimesJobList) DeepCopyObject

func (in *ManyTimesJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManyTimesJobSpec

type ManyTimesJobSpec struct {

	// Default false, true when job finished.
	// This field is requirement for apply to same name Job resource.
	// +optional
	Done bool `json:"done,omitempty"`

	// Specifies the job that will be created when executing a CronJob.
	JobTemplate batchv1beta1.JobTemplateSpec `json:"jobTemplate"`

	// The number of successful finished jobs to retain.
	// This is a pointer to distinguish between explicit zero and not specified.
	// +optional
	SuccessfulJobsHistoryLimit *int32 `json:"successfulJobsHistoryLimit,omitempty"`

	// The number of failed finished jobs to retain.
	// This is a pointer to distinguish between explicit zero and not specified.
	// +optional
	FailedJobsHistoryLimit *int32 `json:"failedJobsHistoryLimit,omitempty"`
}

ManyTimesJobSpec defines the desired state of ManyTimesJob

func (*ManyTimesJobSpec) DeepCopy

func (in *ManyTimesJobSpec) DeepCopy() *ManyTimesJobSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManyTimesJobSpec.

func (*ManyTimesJobSpec) DeepCopyInto

func (in *ManyTimesJobSpec) DeepCopyInto(out *ManyTimesJobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManyTimesJobStatus

type ManyTimesJobStatus struct {

	// A list of pointers to currently running jobs.
	// +optional
	Active []corev1.ObjectReference `json:"active,omitempty"`
}

ManyTimesJobStatus defines the observed state of ManyTimesJob

func (*ManyTimesJobStatus) DeepCopy

func (in *ManyTimesJobStatus) DeepCopy() *ManyTimesJobStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManyTimesJobStatus.

func (*ManyTimesJobStatus) DeepCopyInto

func (in *ManyTimesJobStatus) DeepCopyInto(out *ManyTimesJobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳