com.coralogix.zio.k8s.model.batch.v1beta1

Members list

Type members

Classlikes

case class CronJob(metadata: Optional[ObjectMeta], spec: Optional[CronJobSpec], status: Optional[CronJobStatus])

CronJob represents the configuration of a single cron job.

CronJob represents the configuration of a single cron job.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CronJob extends CronJobFields

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
CronJob.type
class CronJobFields(_prefix: Chunk[String])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CronJob.type
case class CronJobSpec(concurrencyPolicy: Optional[String], failedJobsHistoryLimit: Optional[Int], jobTemplate: JobTemplateSpec, schedule: String, startingDeadlineSeconds: Optional[Long], successfulJobsHistoryLimit: Optional[Int], suspend: Optional[Boolean])

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.

Value parameters

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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
class CronJobSpecFields(_prefix: Chunk[String])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CronJobSpec.type
case class CronJobStatus(active: Optional[Vector[ObjectReference]], lastScheduleTime: Optional[Time], lastSuccessfulTime: Optional[Time])

CronJobStatus represents the current state of a cron job.

CronJobStatus represents the current state of a cron job.

Value parameters

active

A list of pointers to currently running jobs.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
class CronJobStatusFields(_prefix: Chunk[String])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CronJobStatus.type
case class JobTemplateSpec(metadata: Optional[ObjectMeta], spec: Optional[JobSpec])

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

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JobTemplateSpec.type