class Pyrite::Api::Batch::V2alpha1::CronJobSpec

Overview

CronJobSpec describes how the job execution will look like and when it will actually run.

Defined in:

versions/v1.14/api/batch/v2alpha1/cron_job_spec.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

CronJobSpec describes how the job execution will look like and when it will actually run.


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

CronJobSpec describes how the job execution will look like and when it will actually run.


def self.new(*, concurrency_policy : String? = nil, failed_jobs_history_limit : Int32? = nil, job_template : Api::Batch::V2alpha1::JobTemplateSpec, schedule : String, starting_deadline_seconds : Int32? = nil, successful_jobs_history_limit : Int32? = nil, suspend : Bool? = nil) #

Instance Method Detail

def concurrency_policy : String? #

def concurrency_policy=(concurrency_policy : String?) #

def failed_jobs_history_limit : Int32? #

def failed_jobs_history_limit=(failed_jobs_history_limit : Int32?) #


def job_template=(job_template : Api::Batch::V2alpha1::JobTemplateSpec) #

def schedule : String #

def schedule=(schedule : String) #

def starting_deadline_seconds : Int32? #

def starting_deadline_seconds=(starting_deadline_seconds : Int32?) #

def successful_jobs_history_limit : Int32? #

def successful_jobs_history_limit=(successful_jobs_history_limit : Int32?) #

def suspend : Bool? #

def suspend=(suspend : Bool?) #