struct Kubernetes::CronJobStatus

Overview

CronJobStatus represents the current state of a cron job.

Included Modules

Defined in:

generated/models/io_k8s_api_batch_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def active : Array(ObjectReference) | Nil #

A list of pointers to currently running jobs.


def active=(active : Array(ObjectReference) | Nil) #

A list of pointers to currently running jobs.


def last_schedule_time : Time | Nil #

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


def last_schedule_time=(last_schedule_time : Time | Nil) #

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


def last_successful_time : Time | Nil #

Information when was the last time the job successfully completed.


def last_successful_time=(last_successful_time : Time | Nil) #

Information when was the last time the job successfully completed.