class Job

Included Modules

Defined in:

job.cr

Constant Summary

POD_TEMPLATE = {{ read_file("/srv/crystaldoc.info/github-vitobotta-asset-sniper-main/src/templates/pod.yaml") }}

Constructors

Instance Method Summary

Instance methods inherited from module Util::Shell

run_shell_command(command : String, kubeconfig_path : String = "~/.kube/config", error_message : String = "", abort_on_error = true, print_output : Bool = true) : CommandResult run_shell_command

Instance methods inherited from module Util

which(command) which

Constructor Detail

def self.new(task_name : String, job_id : Int32, command : String, start_time : Time::Span, stream : Bool = false, debug : Bool = false) #

[View source]

Instance Method Detail

def command : String #

[View source]
def create #

[View source]
def debug : Bool #

[View source]
def job_id : Int32 #

[View source]
def name : String #

[View source]
def run #

[View source]
def start_time : Time::Span #

[View source]
def stream : Bool #

[View source]
def task_name : String #

[View source]