class K8S::Api::Batch::V1::JobSpec

Overview

JobSpec describes how the job execution will look like.

Included Modules

Defined in:

versions/v1.16/api/batch/v1/job_spec.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, template : Api::Core::V1::PodTemplateSpec, active_deadline_seconds : Int32? = nil, backoff_limit : Int32? = nil, completions : Int32? = nil, manual_selector : Bool? = nil, parallelism : Int32? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, ttl_seconds_after_finished : Int32? = nil) #

[View source]

Instance Method Detail

def active_deadline_seconds : Int32? #

[View source]
def active_deadline_seconds=(active_deadline_seconds : Int32?) #

[View source]
def backoff_limit : Int32? #

[View source]
def backoff_limit=(backoff_limit : Int32?) #

[View source]
def completions : Int32? #

[View source]
def completions=(completions : Int32?) #

[View source]
def manual_selector : Bool? #

[View source]
def manual_selector=(manual_selector : Bool?) #

[View source]
def parallelism : Int32? #

[View source]
def parallelism=(parallelism : Int32?) #

[View source]

[View source]
def selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]

[View source]
def template=(template : Api::Core::V1::PodTemplateSpec) #

[View source]
def ttl_seconds_after_finished : Int32? #

[View source]
def ttl_seconds_after_finished=(ttl_seconds_after_finished : Int32?) #

[View source]