nomad v0.7.1 Nomad.Utils

Offers auxiliary functions for Nomad workflows.

Summary

Functions

Returns the current machine’s public IP address. An HTTP call is made to the ipecho.net service and the reply is parsed. If this service goes down in the future another one will have to take it’s place

Functions

find_public_ip_address()

Specs

find_public_ip_address :: binary

Returns the current machine’s public IP address. An HTTP call is made to the ipecho.net service and the reply is parsed. If this service goes down in the future another one will have to take it’s place.

get_error_message(res)
parse_http_error(arg1)
show_error_message_and_code(res)
show_error_message_and_code(res, atom)
show_message_and_error_code(arg)