struct

Kubernetes::CronJobStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

CronJobStatus represents the current state of a cron job.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

active

A list of pointers to currently running jobs.

Source
active=(active : Array(ObjectReference) | Nil)

A list of pointers to currently running jobs.

Source
last_schedule_time

Information when was the last time the job was successfully scheduled.

Source
last_schedule_time=(last_schedule_time : Time | Nil)

Information when was the last time the job was successfully scheduled.

Source
last_successful_time

Information when was the last time the job successfully completed.

Source
last_successful_time=(last_successful_time : Time | Nil)

Information when was the last time the job successfully completed.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source