Method: Runners::Kubernetes::CreateExecutionInfo#perform
- Defined in:
- app/services/runners/kubernetes/create_execution_info.rb
#perform(pod:) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'app/services/runners/kubernetes/create_execution_info.rb', line 13 def perform(pod:) @pod = pod Runners::ExecutionInfo.new( id: pod&.&.name, status: status, exit_code: exit_code, started_at: started_at, finished_at: finished_at, error: , schedule_pending: schedule_pending? ) end |