client

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsulClient

func NewConsulClient() (*consulAPI.Client, error)

NewConsulClient is responsible for generating a reusable Consul client using the HashiCorp Consul SDK and the default config. This default config pulls Nomad client configuration from env vars which can therefore be customized by the user.

func NewNomadClient

func NewNomadClient() (*nomadAPI.Client, error)

NewNomadClient is responsible for generating a reusable Nomad client using the HashiCorp Nomad SDK and the default config. This default config pulls Nomad client configuration from env vars which can therefore be customized by the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL