Documentation ¶
Index ¶
Constants ¶
View Source
const Path = "/etc/consul/consul.json"
Variables ¶
This section is empty.
Functions ¶
func GenerateCaCert ¶
func ReadConsulConfig ¶
func ReadConsulConfig() map[string]interface{}
Types ¶
type Config ¶
type Config struct { Servers string Clients string Domain string Cert *CertData // contains filtered or unexported fields }
func (*Config) GenerateSecInfo ¶
func (*Config) GetSecurityInfo ¶
GetSecurityInfo() Return the Consul security information needed to add a node to an existing Consul cluster. Return a boolean flag to indicate whether the current node is already bootstrapped
Click to show internal directories.
Click to hide internal directories.