v1

package
v0.0.0-...-ee98a42 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the scheduledjobs v1 API group +kubebuilder:object:generate=true +groupName=scheduledjobs.jamealwi

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "scheduledjobs.jamealwi", Version: "v1"}

	// 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 OrdinalCronJob

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

	Spec   OrdinalCronJobSpec   `json:"spec,omitempty"`
	Status OrdinalCronJobStatus `json:"status,omitempty"`
}

OrdinalCronJob is the Schema for the ordinalcronjobs API

func (*OrdinalCronJob) DeepCopy

func (in *OrdinalCronJob) DeepCopy() *OrdinalCronJob

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

func (*OrdinalCronJob) DeepCopyInto

func (in *OrdinalCronJob) DeepCopyInto(out *OrdinalCronJob)

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

func (*OrdinalCronJob) DeepCopyObject

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

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

type OrdinalCronJobList

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

OrdinalCronJobList contains a list of OrdinalCronJob

func (*OrdinalCronJobList) DeepCopy

func (in *OrdinalCronJobList) DeepCopy() *OrdinalCronJobList

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

func (*OrdinalCronJobList) DeepCopyInto

func (in *OrdinalCronJobList) DeepCopyInto(out *OrdinalCronJobList)

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

func (*OrdinalCronJobList) DeepCopyObject

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

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

type OrdinalCronJobSpec

type OrdinalCronJobSpec struct {

	// Edit dbscan_types.go to remove/update
	CronSchedule            string                       `json:"cronSchedule"`
	JobsRequired            string                       `json:"jobsRequired"`
	Image                   string                       `json:"image"`
	StartingDeadlineSeconds *int64                       `json:"startingDeadlineSeconds,omitempty"`
	Suspend                 *bool                        `json:"suspend,omitempty"`
	Command                 []string                     `json:"command,omitempty"`
	Args                    []string                     `json:"args,omitempty"`
	Annotations             map[string]string            `json:"annotations,omitempty"`
	Env                     []apiv1.EnvVar               `json:"env,omitempty"`
	Resources               apiv1.ResourceRequirements   `json:"resources,omitempty"`
	VolumeMounts            []apiv1.VolumeMount          `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath"`
	Volumes                 []apiv1.Volume               `json:"volumes,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"`
	ImagePullSecrets        []apiv1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name"`
}

OrdinalCronJobSpec defines the desired state of OrdinalCronJob

func (*OrdinalCronJobSpec) DeepCopy

func (in *OrdinalCronJobSpec) DeepCopy() *OrdinalCronJobSpec

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

func (*OrdinalCronJobSpec) DeepCopyInto

func (in *OrdinalCronJobSpec) DeepCopyInto(out *OrdinalCronJobSpec)

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

type OrdinalCronJobStatus

type OrdinalCronJobStatus struct {
}

OrdinalCronJobStatus defines the observed state of OrdinalCronJob

func (*OrdinalCronJobStatus) DeepCopy

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

func (*OrdinalCronJobStatus) DeepCopyInto

func (in *OrdinalCronJobStatus) DeepCopyInto(out *OrdinalCronJobStatus)

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