Package-level declarations

Types

Link copied to clipboard
data class CronJob(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: CronJobSpec? = null, val status: CronJobStatus? = null)

CronJob represents the configuration of a single cron job.

Link copied to clipboard
data class CronJobSpec(val concurrencyPolicy: String? = null, val failedJobsHistoryLimit: Int? = null, val jobTemplate: JobTemplateSpec, val schedule: String, val startingDeadlineSeconds: Int? = null, val successfulJobsHistoryLimit: Int? = null, val suspend: Boolean? = null, val timeZone: String? = null)

CronJobSpec describes how the job execution will look like and when it will actually run.

Link copied to clipboard
data class CronJobSpecPatch(val concurrencyPolicy: String? = null, val failedJobsHistoryLimit: Int? = null, val jobTemplate: JobTemplateSpecPatch? = null, val schedule: String? = null, val startingDeadlineSeconds: Int? = null, val successfulJobsHistoryLimit: Int? = null, val suspend: Boolean? = null, val timeZone: String? = null)

CronJobSpec describes how the job execution will look like and when it will actually run.

Link copied to clipboard
data class CronJobStatus(val active: List<ObjectReference>? = null, val lastScheduleTime: String? = null, val lastSuccessfulTime: String? = null)

CronJobStatus represents the current state of a cron job.

Link copied to clipboard
data class CronJobStatusPatch(val active: List<ObjectReferencePatch>? = null, val lastScheduleTime: String? = null, val lastSuccessfulTime: String? = null)

CronJobStatus represents the current state of a cron job.

Link copied to clipboard
data class Job(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: JobSpec? = null, val status: JobStatus? = null)

Job represents the configuration of a single job. This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

Link copied to clipboard
data class JobCondition(val lastProbeTime: String? = null, val lastTransitionTime: String? = null, val message: String? = null, val reason: String? = null, val status: String, val type: String)

JobCondition describes current state of a job.

Link copied to clipboard
data class JobConditionPatch(val lastProbeTime: String? = null, val lastTransitionTime: String? = null, val message: String? = null, val reason: String? = null, val status: String? = null, val type: String? = null)

JobCondition describes current state of a job.

Link copied to clipboard
data class JobSpec(val activeDeadlineSeconds: Int? = null, val backoffLimit: Int? = null, val completionMode: String? = null, val completions: Int? = null, val manualSelector: Boolean? = null, val parallelism: Int? = null, val podFailurePolicy: PodFailurePolicy? = null, val selector: LabelSelector? = null, val suspend: Boolean? = null, val template: PodTemplateSpec, val ttlSecondsAfterFinished: Int? = null)

JobSpec describes how the job execution will look like.

Link copied to clipboard
data class JobSpecPatch(val activeDeadlineSeconds: Int? = null, val backoffLimit: Int? = null, val completionMode: String? = null, val completions: Int? = null, val manualSelector: Boolean? = null, val parallelism: Int? = null, val podFailurePolicy: PodFailurePolicyPatch? = null, val selector: LabelSelectorPatch? = null, val suspend: Boolean? = null, val template: PodTemplateSpecPatch? = null, val ttlSecondsAfterFinished: Int? = null)

JobSpec describes how the job execution will look like.

Link copied to clipboard
data class JobStatus(val active: Int? = null, val completedIndexes: String? = null, val completionTime: String? = null, val conditions: List<JobCondition>? = null, val failed: Int? = null, val ready: Int? = null, val startTime: String? = null, val succeeded: Int? = null, val uncountedTerminatedPods: UncountedTerminatedPods? = null)

JobStatus represents the current state of a Job.

Link copied to clipboard
data class JobStatusPatch(val active: Int? = null, val completedIndexes: String? = null, val completionTime: String? = null, val conditions: List<JobConditionPatch>? = null, val failed: Int? = null, val ready: Int? = null, val startTime: String? = null, val succeeded: Int? = null, val uncountedTerminatedPods: UncountedTerminatedPodsPatch? = null)

JobStatus represents the current state of a Job.

Link copied to clipboard
data class JobTemplateSpec(val metadata: ObjectMeta? = null, val spec: JobSpec? = null)

JobTemplateSpec describes the data a Job should have when created from a template

Link copied to clipboard
data class JobTemplateSpecPatch(val metadata: ObjectMetaPatch? = null, val spec: JobSpecPatch? = null)

JobTemplateSpec describes the data a Job should have when created from a template

Link copied to clipboard

PodFailurePolicy describes how failed pods influence the backoffLimit.

Link copied to clipboard
data class PodFailurePolicyOnExitCodesRequirement(val containerName: String? = null, val operator: String, val values: List<Int>)

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

data class PodFailurePolicyOnExitCodesRequirementPatch(val containerName: String? = null, val operator: String? = null, val values: List<Int>? = null)

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

Link copied to clipboard
data class PodFailurePolicyOnPodConditionsPattern(val status: String, val type: String)

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

data class PodFailurePolicyOnPodConditionsPatternPatch(val status: String? = null, val type: String? = null)

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

Link copied to clipboard
data class PodFailurePolicyPatch(val rules: List<PodFailurePolicyRulePatch>? = null)

PodFailurePolicy describes how failed pods influence the backoffLimit.

Link copied to clipboard
data class PodFailurePolicyRule(val action: String, val onExitCodes: PodFailurePolicyOnExitCodesRequirement? = null, val onPodConditions: List<PodFailurePolicyOnPodConditionsPattern>)

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

Link copied to clipboard
data class PodFailurePolicyRulePatch(val action: String? = null, val onExitCodes: PodFailurePolicyOnExitCodesRequirementPatch? = null, val onPodConditions: List<PodFailurePolicyOnPodConditionsPatternPatch>? = null)

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

Link copied to clipboard
data class UncountedTerminatedPods(val failed: List<String>? = null, val succeeded: List<String>? = null)

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.

Link copied to clipboard
data class UncountedTerminatedPodsPatch(val failed: List<String>? = null, val succeeded: List<String>? = null)

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.