v1alpha1

package
v0.0.0-...-13f58c2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

type CronJobTemplateSpec 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" protobuf:"bytes,1,opt,name=metadata"`

	// 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.CronJobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

func (*CronJobTemplateSpec) DeepCopy

func (in *CronJobTemplateSpec) DeepCopy() *CronJobTemplateSpec

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

func (*CronJobTemplateSpec) DeepCopyInto

func (in *CronJobTemplateSpec) DeepCopyInto(out *CronJobTemplateSpec)

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

type CronSet

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

	Spec   CronSetSpec   `json:"spec,omitempty"`
	Status CronSetStatus `json:"status,omitempty"`
}

CronSet is the Schema for the cronsets API

func (*CronSet) DeepCopy

func (in *CronSet) DeepCopy() *CronSet

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

func (*CronSet) DeepCopyInto

func (in *CronSet) DeepCopyInto(out *CronSet)

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

func (*CronSet) DeepCopyObject

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

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

type CronSetList

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

CronSetList contains a list of CronSet

func (*CronSetList) DeepCopy

func (in *CronSetList) DeepCopy() *CronSetList

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

func (*CronSetList) DeepCopyInto

func (in *CronSetList) DeepCopyInto(out *CronSetList)

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

func (*CronSetList) DeepCopyObject

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

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

type CronSetSpec

type CronSetSpec struct {
	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"`

	CronJobTemplate CronJobTemplateSpec `json:"cronJobTemplate,omitempty" protobuf:"bytes,2,opt,name=cronJobTemplate"`
}

CronSetSpec defines the desired state of CronSet

func (*CronSetSpec) DeepCopy

func (in *CronSetSpec) DeepCopy() *CronSetSpec

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

func (*CronSetSpec) DeepCopyInto

func (in *CronSetSpec) DeepCopyInto(out *CronSetSpec)

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

type CronSetStatus

type CronSetStatus struct {
	CurrentNumberScheduled int32 `json:"currentNumberScheduled" protobuf:"varint,1,opt,name=currentNumberScheduled"`

	NumberMisscheduled int32 `json:"numberMisscheduled" protobuf:"varint,2,opt,name=numberMisscheduled"`

	DesiredNumberScheduled int32 `json:"desiredNumberScheduled" protobuf:"varint,3,opt,name=desiredNumberScheduled"`
}

CronSetStatus defines the observed state of CronSet

func (*CronSetStatus) DeepCopy

func (in *CronSetStatus) DeepCopy() *CronSetStatus

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

func (*CronSetStatus) DeepCopyInto

func (in *CronSetStatus) DeepCopyInto(out *CronSetStatus)

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