class Pyrite::Api::Batch::V1::JobStatus

Overview

JobStatus represents the current state of a Job.

Defined in:

versions/v1.14/api/batch/v1/job_status.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) #

JobStatus represents the current state of a Job.


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

JobStatus represents the current state of a Job.


def self.new(*, active : Int32? = nil, completion_time : Time? = nil, conditions : Array? = nil, failed : Int32? = nil, start_time : Time? = nil, succeeded : Int32? = nil) #

Instance Method Detail

def active : Int32? #

def active=(active : Int32?) #

def completion_time : Time? #

def completion_time=(completion_time : Time?) #

def conditions : Array(Api::Batch::V1::JobCondition)? #

def conditions=(conditions : Array(Api::Batch::V1::JobCondition)?) #

def failed : Int32? #

def failed=(failed : Int32?) #

def start_time : Time? #

def start_time=(start_time : Time?) #

def succeeded : Int32? #

def succeeded=(succeeded : Int32?) #