package v1beta1
- Alphabetic
- Public
- All
Type Members
-
case class
CronJob(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[CronJobSpec] = Optional.Absent, status: Optional[CronJobStatus] = Optional.Absent) extends Product with Serializable
CronJob represents the configuration of a single cron job.
- class CronJobFields extends AnyRef
-
case class
CronJobSpec(concurrencyPolicy: Optional[String] = Optional.Absent, failedJobsHistoryLimit: Optional[Int] = Optional.Absent, jobTemplate: JobTemplateSpec, schedule: String, startingDeadlineSeconds: Optional[Long] = Optional.Absent, successfulJobsHistoryLimit: Optional[Int] = Optional.Absent, suspend: Optional[Boolean] = Optional.Absent) extends Product with Serializable
CronJobSpec describes how the job execution will look like and when it will actually run.
CronJobSpec describes how the job execution will look like and when it will actually run.
- concurrencyPolicy
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
- failedJobsHistoryLimit
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
- schedule
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
- startingDeadlineSeconds
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.
- successfulJobsHistoryLimit
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.
- suspend
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
- class CronJobSpecFields extends AnyRef
-
case class
CronJobStatus(active: Optional[Vector[ObjectReference]] = Optional.Absent, lastScheduleTime: Optional[Time] = Optional.Absent, lastSuccessfulTime: Optional[Time] = Optional.Absent) extends Product with Serializable
CronJobStatus represents the current state of a cron job.
CronJobStatus represents the current state of a cron job.
- active
A list of pointers to currently running jobs.
- class CronJobStatusFields extends AnyRef
-
case class
JobTemplateSpec(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[JobSpec] = Optional.Absent) extends Product with Serializable
JobTemplateSpec describes the data a Job should have when created from a template
- class JobTemplateSpecFields extends AnyRef
Value Members
- object CronJob extends CronJobFields with Serializable
- object CronJobSpec extends CronJobSpecFields with Serializable
- object CronJobStatus extends CronJobStatusFields with Serializable
- object JobTemplateSpec extends JobTemplateSpecFields with Serializable