Class: OodCore::Job::Adapters::Kubernetes::K8sJobInfo

Inherits:
Info
  • Object
show all
Defined in:
lib/ood_core/job/adapters/kubernetes/k8s_job_info.rb

Overview

An object that describes a submitted kubernetes job with extended information.

Instance Attribute Summary collapse

Attributes inherited from Info

#accounting_id, #allocated_nodes, #cpu_time, #dispatch_time, #gpus, #id, #job_name, #job_owner, #native, #procs, #queue_name, #status, #submission_time, #submit_host, #tasks, #wallclock_limit, #wallclock_time

Instance Method Summary collapse

Methods inherited from Info

#==, #build_child_info, #eql?, #gpu?, #hash, #to_h

Constructor Details

#initialize(options) ⇒ K8sJobInfo

Returns a new instance of K8sJobInfo.



5
6
7
8
# File 'lib/ood_core/job/adapters/kubernetes/k8s_job_info.rb', line 5

def initialize(options)
  super(**options)
  @ood_connection_info = options[:ood_connection_info]
end

Instance Attribute Details

#ood_connection_infoObject (readonly)

Returns the value of attribute ood_connection_info.



3
4
5
# File 'lib/ood_core/job/adapters/kubernetes/k8s_job_info.rb', line 3

def ood_connection_info
  @ood_connection_info
end