struct Kubernetes::Job

Overview

https://github.com/kubernetes/kubernetes/blob/2dede1d4d453413da6fd852e00fc7d4c8784d2a8/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go#L29-L40

Included Modules

Defined in:

kubernetes.cr

Constructors

Instance Method Summary

Macros inherited from module Kubernetes::Serializable

add_field(type, getter_type, key = nil, **args, &block) add_field, field(type, key = nil, **args, &block) field, field?(type, key = nil, **args, &block) field?

Constructor Detail

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

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

Instance Method Detail

def active_deadline_seconds : Int64 | Nil #

def backoff_limit : Int32 | Nil #

def completion_mode : String | Nil #

def completions : Int32 | Nil #

def manual_selector? : Bool | Nil #

def parallelism : Int32 | Nil #

def selector : Deployment::Spec::Selector | Nil #

TODO Should Selector be extracted to a higher layer?


def suspend? : Bool | Nil #

def template : Deployment::Spec::Template | Nil #

TODO ditto?


def ttl_seconds_after_finished : Int32 | Nil #