package
0.5.0-rc1
Repository: https://github.com/manther/nomad-vmw-driver.git
Documentation: pkg.go.dev
# README
Overview
nomad/structs/config
is a package for configuration struct
s that are
shared among packages that needs the same struct
definitions, but can't
import each other without creating a cyle. This config
package must be
terminal in the import graph (or very close to terminal in the dependency
graph).
# Functions
DefaultConsulConfig() returns the canonical defaults for the Nomad `consul` configuration.
DefaultVaultConfig() returns the canonical defaults for the Nomad `vault` configuration.
# Constants
DefaultVaultConnectRetryIntv is the retry interval between trying to connect to Vault.
# Structs
ConsulConfig contains the configuration information necessary to communicate with a Consul Agent in order to:
- Register services and their checks with Consul
- Bootstrap this Nomad Client with the list of Nomad Servers registered with Consul
Both the Agent and the executor need to be able to import ConsulConfig.
TLSConfig provides TLS related configuration.
VaultConfig contains the configuration information necessary to communicate with Vault in order to:
- Renew Vault tokens/leases.