Class: OodCore::Job::Adapters::Kubernetes::K8sJobInfo
- 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
-
#ood_connection_info ⇒ Object
readonly
Returns the value of attribute ood_connection_info.
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
-
#initialize(options) ⇒ K8sJobInfo
constructor
A new instance of K8sJobInfo.
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() super(**) @ood_connection_info = [:ood_connection_info] end |
Instance Attribute Details
#ood_connection_info ⇒ Object (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 |