# Functions

ConfigFromNamespacedMap converts the map representation of a Nomad config to the proper object that can be used to setup a client.
HTTPAuthFromString take an input string, and converts this to a Nomad API representation of basic HTTP auth.
MergeDefaultWithAgentConfig merges the agent Nomad configuration with the default Nomad API configuration.
MergeMapWithAgentConfig merges a Nomad map config with an API config object with the map config taking precedence.