Module: Digdag::Client::Log
- Included in:
- Digdag::Client
- Defined in:
- lib/digdag_client/client/log.rb
Instance Method Summary collapse
- #direct_upload_handle(attempt_id, params = {}) ⇒ Object
- #get_file(attempt_id, file_name) ⇒ Object
- #log_file_handle_collection(attempt_id, params = {}) ⇒ Object
- #log_file_put_result(attempt_id, params = {}) ⇒ Object
Instance Method Details
#direct_upload_handle(attempt_id, params = {}) ⇒ Object
9 10 11 |
# File 'lib/digdag_client/client/log.rb', line 9 def direct_upload_handle(attempt_id, params={}) raise NotImplementedError, "TODO" end |
#get_file(attempt_id, file_name) ⇒ Object
22 23 24 |
# File 'lib/digdag_client/client/log.rb', line 22 def get_file(attempt_id, file_name) get("logs/#{attempt_id}/files/#{file_name}") end |
#log_file_handle_collection(attempt_id, params = {}) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/digdag_client/client/log.rb', line 13 def log_file_handle_collection(attempt_id, params={}) = {} if params[:task] [:task] = params[:task] end get("logs/#{attempt_id}/files", params) end |
#log_file_put_result(attempt_id, params = {}) ⇒ Object
5 6 7 |
# File 'lib/digdag_client/client/log.rb', line 5 def log_file_put_result(attempt_id, params={}) raise NotImplementedError, "TODO" end |