Package-level declarations

Types

Link copied to clipboard
data class CronJobArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<CronJobSpecArgs>? = null, val status: Output<CronJobStatusArgs>? = null) : ConvertibleToJava<CronJobArgs>

CronJob represents the configuration of a single cron job.

Link copied to clipboard
Link copied to clipboard
data class CronJobSpecArgs(val concurrencyPolicy: Output<String>? = null, val failedJobsHistoryLimit: Output<Int>? = null, val jobTemplate: Output<JobTemplateSpecArgs>, val schedule: Output<String>, val startingDeadlineSeconds: Output<Int>? = null, val successfulJobsHistoryLimit: Output<Int>? = null, val suspend: Output<Boolean>? = null, val timeZone: Output<String>? = null) : ConvertibleToJava<CronJobSpecArgs>

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

Link copied to clipboard
Link copied to clipboard
data class CronJobSpecPatchArgs(val concurrencyPolicy: Output<String>? = null, val failedJobsHistoryLimit: Output<Int>? = null, val jobTemplate: Output<JobTemplateSpecPatchArgs>? = null, val schedule: Output<String>? = null, val startingDeadlineSeconds: Output<Int>? = null, val successfulJobsHistoryLimit: Output<Int>? = null, val suspend: Output<Boolean>? = null, val timeZone: Output<String>? = null) : ConvertibleToJava<CronJobSpecPatchArgs>

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

Link copied to clipboard
data class CronJobStatusArgs(val active: Output<List<ObjectReferenceArgs>>? = null, val lastScheduleTime: Output<String>? = null, val lastSuccessfulTime: Output<String>? = null) : ConvertibleToJava<CronJobStatusArgs>

CronJobStatus represents the current state of a cron job.

Link copied to clipboard
Link copied to clipboard
data class JobArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<JobSpecArgs>? = null, val status: Output<JobStatusArgs>? = null) : ConvertibleToJava<JobArgs>

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

Builder for JobArgs.

Link copied to clipboard
data class JobConditionArgs(val lastProbeTime: Output<String>? = null, val lastTransitionTime: Output<String>? = null, val message: Output<String>? = null, val reason: Output<String>? = null, val status: Output<String>, val type: Output<String>) : ConvertibleToJava<JobConditionArgs>

JobCondition describes current state of a job.

Link copied to clipboard
Link copied to clipboard
data class JobSpecArgs(val activeDeadlineSeconds: Output<Int>? = null, val backoffLimit: Output<Int>? = null, val backoffLimitPerIndex: Output<Int>? = null, val completionMode: Output<String>? = null, val completions: Output<Int>? = null, val managedBy: Output<String>? = null, val manualSelector: Output<Boolean>? = null, val maxFailedIndexes: Output<Int>? = null, val parallelism: Output<Int>? = null, val podFailurePolicy: Output<PodFailurePolicyArgs>? = null, val podReplacementPolicy: Output<String>? = null, val selector: Output<LabelSelectorArgs>? = null, val successPolicy: Output<SuccessPolicyArgs>? = null, val suspend: Output<Boolean>? = null, val template: Output<PodTemplateSpecArgs>, val ttlSecondsAfterFinished: Output<Int>? = null) : ConvertibleToJava<JobSpecArgs>

JobSpec describes how the job execution will look like.

Link copied to clipboard
Link copied to clipboard
data class JobSpecPatchArgs(val activeDeadlineSeconds: Output<Int>? = null, val backoffLimit: Output<Int>? = null, val backoffLimitPerIndex: Output<Int>? = null, val completionMode: Output<String>? = null, val completions: Output<Int>? = null, val managedBy: Output<String>? = null, val manualSelector: Output<Boolean>? = null, val maxFailedIndexes: Output<Int>? = null, val parallelism: Output<Int>? = null, val podFailurePolicy: Output<PodFailurePolicyPatchArgs>? = null, val podReplacementPolicy: Output<String>? = null, val selector: Output<LabelSelectorPatchArgs>? = null, val successPolicy: Output<SuccessPolicyPatchArgs>? = null, val suspend: Output<Boolean>? = null, val template: Output<PodTemplateSpecPatchArgs>? = null, val ttlSecondsAfterFinished: Output<Int>? = null) : ConvertibleToJava<JobSpecPatchArgs>

JobSpec describes how the job execution will look like.

Link copied to clipboard
Link copied to clipboard
data class JobStatusArgs(val active: Output<Int>? = null, val completedIndexes: Output<String>? = null, val completionTime: Output<String>? = null, val conditions: Output<List<JobConditionArgs>>? = null, val failed: Output<Int>? = null, val failedIndexes: Output<String>? = null, val ready: Output<Int>? = null, val startTime: Output<String>? = null, val succeeded: Output<Int>? = null, val terminating: Output<Int>? = null, val uncountedTerminatedPods: Output<UncountedTerminatedPodsArgs>? = null) : ConvertibleToJava<JobStatusArgs>

JobStatus represents the current state of a Job.

Link copied to clipboard
Link copied to clipboard
data class JobTemplateSpecArgs(val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<JobSpecArgs>? = null) : ConvertibleToJava<JobTemplateSpecArgs>

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

Link copied to clipboard
data class JobTemplateSpecPatchArgs(val metadata: Output<ObjectMetaPatchArgs>? = null, val spec: Output<JobSpecPatchArgs>? = null) : ConvertibleToJava<JobTemplateSpecPatchArgs>

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

Link copied to clipboard
data class PodFailurePolicyArgs(val rules: Output<List<PodFailurePolicyRuleArgs>>) : ConvertibleToJava<PodFailurePolicyArgs>

PodFailurePolicy describes how failed pods influence the backoffLimit.

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

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 PodFailurePolicyOnExitCodesRequirementPatchArgs(val containerName: Output<String>? = null, val operator: Output<String>? = null, val values: Output<List<Int>>? = null) : ConvertibleToJava<PodFailurePolicyOnExitCodesRequirementPatchArgs>

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 PodFailurePolicyOnPodConditionsPatternArgs(val status: Output<String>, val type: Output<String>) : ConvertibleToJava<PodFailurePolicyOnPodConditionsPatternArgs>

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

data class PodFailurePolicyOnPodConditionsPatternPatchArgs(val status: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<PodFailurePolicyOnPodConditionsPatternPatchArgs>

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

Link copied to clipboard
data class PodFailurePolicyPatchArgs(val rules: Output<List<PodFailurePolicyRulePatchArgs>>? = null) : ConvertibleToJava<PodFailurePolicyPatchArgs>

PodFailurePolicy describes how failed pods influence the backoffLimit.

Link copied to clipboard
data class PodFailurePolicyRuleArgs(val action: Output<String>, val onExitCodes: Output<PodFailurePolicyOnExitCodesRequirementArgs>? = null, val onPodConditions: Output<List<PodFailurePolicyOnPodConditionsPatternArgs>>? = null) : ConvertibleToJava<PodFailurePolicyRuleArgs>

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 PodFailurePolicyRulePatchArgs(val action: Output<String>? = null, val onExitCodes: Output<PodFailurePolicyOnExitCodesRequirementPatchArgs>? = null, val onPodConditions: Output<List<PodFailurePolicyOnPodConditionsPatternPatchArgs>>? = null) : ConvertibleToJava<PodFailurePolicyRulePatchArgs>

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 SuccessPolicyArgs(val rules: Output<List<SuccessPolicyRuleArgs>>) : ConvertibleToJava<SuccessPolicyArgs>

SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.

Link copied to clipboard
Link copied to clipboard
data class SuccessPolicyPatchArgs(val rules: Output<List<SuccessPolicyRulePatchArgs>>? = null) : ConvertibleToJava<SuccessPolicyPatchArgs>

SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.

Link copied to clipboard
data class SuccessPolicyRuleArgs(val succeededCount: Output<Int>? = null, val succeededIndexes: Output<String>? = null) : ConvertibleToJava<SuccessPolicyRuleArgs>

SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.

Link copied to clipboard
data class SuccessPolicyRulePatchArgs(val succeededCount: Output<Int>? = null, val succeededIndexes: Output<String>? = null) : ConvertibleToJava<SuccessPolicyRulePatchArgs>

SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.

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

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