Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestVersion ¶ added in v0.6.0
Types ¶
type ConsulConfig ¶ added in v0.6.0
type ConsulConfig struct { Datacenter string BindAddr string AdvertiseAddr string ClientAddr string DnsAddr string HttpAddr string HttpsAddr string GrpcAddr string Server bool BootstrapExpect int64 RetryJoin []string Encrypt string CaFile string CertFile string KeyFile string AutoEncrypt bool EnableACL bool AgentToken string EnableConnect bool HttpsOnly bool }
func (ConsulConfig) EnableTLS ¶ added in v0.6.0
func (c ConsulConfig) EnableTLS() bool
func (ConsulConfig) GenerateConfigFile ¶ added in v0.6.0
func (c ConsulConfig) GenerateConfigFile() string
type NomadConfig ¶ added in v0.6.0
type NomadConfig struct { Datacenter string BindAddr string AdvertiseAddr string Server bool Client bool BootstrapExpect int64 RetryJoin []string Encrypt string CaFile string CertFile string KeyFile string EnableACL bool }
func (NomadConfig) EnableTLS ¶ added in v0.6.0
func (c NomadConfig) EnableTLS() bool
func (NomadConfig) GenerateConfigFile ¶ added in v0.6.0
func (c NomadConfig) GenerateConfigFile() string
type VaultConfig ¶ added in v0.6.0
type VaultConfig struct { ApiAddr string ClusterAddr string Address []string CertFile string KeyFile string Storage string ConsulAddr string ConsulPath string ConsulToken string ConsulCaFile string ConsulCertFile string ConsulKeyFile string }
func (VaultConfig) EnableConsulTLS ¶ added in v0.6.0
func (c VaultConfig) EnableConsulTLS() bool
func (VaultConfig) EnableTLS ¶ added in v0.6.0
func (c VaultConfig) EnableTLS() bool
func (VaultConfig) GenerateConfigFile ¶ added in v0.6.0
func (c VaultConfig) GenerateConfigFile() string
Click to show internal directories.
Click to hide internal directories.