package
0.0.0-20240910150958-16703265fe19
Repository: https://github.com/g-research/controlled-job.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
FindCondition returns the condition you're looking for or nil.
No description provided by the author
No description provided by the author
No description provided by the author
SetCondition makes sure the given condition type is set to the given value on the controlledJob Will update a condition if one of that type already exists, otherwise will append a new one Based on https://github.com/kubernetes/kubernetes/blob/d1a2a134c532109540025c990697a6900c2e62fc/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers.go#L29.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
ConditionTypeError records if the last attempt to reconcile generated an error, and if so what error.
ConditionTypeFailedToCreateJob occurs if we encountered an error the last time we tried to create a job.
ConditionTypeFailedToDeleteJob occurs if we encountered an error the last time we tried to delete a job.
ConditionTypeFailedToSuspendJob occurs if we encountered an error the last time we tried to suspend a job.
ConditionTypeFailedToUnsuspendJob occurs if we encountered an error the last time we tried to unsuspend a job.
ConditionTypeJobBeingDeleted is True if the current job (if any) is currently being deleted.
ConditionTypeJobComplete is True if the current job (if any) reports itself as complete.
ConditionTypeJobExists is True if there is a current job that isn't being deleted.
ConditionTypeJobFailed is True if the current job (if any) reports itself as failed.
ConditionTypeJobManuallyScheduled is True if the current job (if any) was manually scheduled by a user, not created based on a start event.
ConditionTypeJobRunning is True when the job exists, and has reached its expected number of ready pods.
ConditionTypeJobStoppedByUser is True if the current job (if any) was stopped by the user (using the API).
ConditionTypeJobSuspended is True if the current job (if any) is currently suspended.
ConditionTypeNotRunningExpectedly is true if NOT JobPotentiallyRunning, and both NOT ShouldBeRunning and NOT JobManuallyScheduled.
ConditionTypeNotRunningUnexpectedly is true if NOT JobPotentiallyRunning, and either ShouldBeRunning or JobManuallyScheduled.
ConditionTypeOutOfDate is True if the spec of the running job does not match the desired JobSpec, and we are not able to recreate the job with the new spec.
ConditionTypeRunningExpectedly is true if JobPotentiallyRunning, and either ShouldBeRunning or JobManuallyScheduled.
ConditionTypeRunningUnexpectedly is true if JobPotentiallyRunning, and both NOT ShouldBeRunning and NOT JobManuallyScheduled.
ConditionTypeShouldBeRunning is set to True when the ControlledJob is between a start and stop time, and False if between a stop and start time.
ConditionTypeFailedToDeleteJob occurs if we expect to be starting a job, but the configured StartingDeadline has been exceeded.
ConditionTypeSuspended is set to True if the user has marked this ControlledJob as suspended.
Restart not yet supported.
No description provided by the author
No description provided by the author
IgnoreSpecChangePolicy ignores changes to the job template while the job is running.
No description provided by the author
RecreateSpecChangePolicy will, when a change to the job template is detected, immediately kill any running Jobs, wait for them to fully stop, and then create a new Job running the new specification.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

ControlledJob is the Schema for the controlledjobs API.
ControlledJobActionHistoryEntry.
ControlledJobList contains a list of ControlledJob.
ControlledJobSpec defines the desired state of ControlledJob.
ControlledJobStatus defines the observed state of ControlledJob.
A specific event in the schedule.
FriendlyScheduleSpec is a more user friendly way to specify an event schedule It's more limited than the format supported by CronSchedule.
No description provided by the author
TimezoneSpec defines the timezone which governs scheduled times.

# Type aliases

ControlledJobConditionType is a enum type defining the conditions that ControlledJobs support.
No description provided by the author
No description provided by the author
No description provided by the author