public static interface V2alpha1Batch.CronJobSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
com.google.protobuf.ByteString |
getConcurrencyPolicyBytes()
Specifies how to treat concurrent executions of a Job.
|
int |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V2alpha1Batch.JobTemplateSpec |
getJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
V2alpha1Batch.JobTemplateSpecOrBuilder |
getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
|
String |
getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
com.google.protobuf.ByteString |
getScheduleBytes()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
long |
getStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.
|
int |
getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain.
|
boolean |
getSuspend()
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.
|
boolean |
hasConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
boolean |
hasFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
boolean |
hasJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
boolean |
hasSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
boolean |
hasStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.
|
boolean |
hasSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain.
|
boolean |
hasSuspend()
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;String getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;com.google.protobuf.ByteString getScheduleBytes()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;boolean hasStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. +optional
optional int64 startingDeadlineSeconds = 2;long getStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. +optional
optional int64 startingDeadlineSeconds = 2;boolean hasConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one +optional
optional string concurrencyPolicy = 3;String getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one +optional
optional string concurrencyPolicy = 3;com.google.protobuf.ByteString getConcurrencyPolicyBytes()
Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one +optional
optional string concurrencyPolicy = 3;boolean hasSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +optional
optional bool suspend = 4;boolean getSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +optional
optional bool suspend = 4;boolean hasJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v2alpha1.JobTemplateSpec jobTemplate = 5;V2alpha1Batch.JobTemplateSpec getJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v2alpha1.JobTemplateSpec jobTemplate = 5;V2alpha1Batch.JobTemplateSpecOrBuilder getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v2alpha1.JobTemplateSpec jobTemplate = 5;boolean hasSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 successfulJobsHistoryLimit = 6;int getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 successfulJobsHistoryLimit = 6;boolean hasFailedJobsHistoryLimit()
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 failedJobsHistoryLimit = 7;int getFailedJobsHistoryLimit()
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 failedJobsHistoryLimit = 7;Copyright © 2023. All rights reserved.