Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFromMap ¶
ConfigFromMap takes a generic map and converts it to a Nomad API config struct.
func ConfigToMap ¶
ConfigToMap takes the Autoscalers internal configuration for Nomad API connectivity and translates this to a map. This helper is needed when passing configuration to plugins via generic structures.
func HTTPAuthFromString ¶
func HTTPAuthFromString(auth string) *api.HttpBasicAuth
HTTPAuthFromString take an input string, and converts this to a Nomad API representation of basic HTTP auth.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.