Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsulClient ¶
NewConsulClient is responsible for generating a reusable Consul client using the HashiCorp Consul SDK and the default config. This default config pulls Consul client configuration from env vars which can therefore be customized by the user.
Types ¶
type Nomad ¶
Nomad is a wrapper around the Nomad client which includes the current nodeID if found. This allows the Chemtrail server to protect the node it is running on from scale in activities which would cause undesirable situations.
func NewNomadClient ¶
NewNomadClient builds the reusable Nomad client.
Click to show internal directories.
Click to hide internal directories.