Documentation ¶
Index ¶
- func GetArmSuffix(product string, version string) string
- func GetDownloadURL(product, arch string, version *semver.Version) string
- func GetLatestVersion(product string) (string, error)
- type BoundaryConfig
- func (c *BoundaryConfig) ApiTLSEnabled() bool
- func (c *BoundaryConfig) ClusterTLSEnabled() bool
- func (c *BoundaryConfig) GenerateConfigFile() string
- func (c *BoundaryConfig) GenerateDbConfigFile() string
- func (c *BoundaryConfig) HasAllRequiredControllerKeys() bool
- func (c *BoundaryConfig) HasAllRequiredWorkerKeys() bool
- func (c *BoundaryConfig) HasDatabaseURL() bool
- func (c *BoundaryConfig) HasRootKey() bool
- func (c *BoundaryConfig) HasValidApiTLSSettings() bool
- func (c *BoundaryConfig) HasValidClusterTLSSettings() bool
- func (c *BoundaryConfig) HasValidProxyTLSSettings() bool
- func (c *BoundaryConfig) IsControllerEnabled() bool
- func (c *BoundaryConfig) IsWorkerEnabled() bool
- func (c *BoundaryConfig) ProxyTLSEnabled() bool
- type ConsulConfig
- type NomadConfig
- type Product
- type VaultConfig
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArmSuffix ¶ added in v0.13.0
func GetDownloadURL ¶ added in v0.8.0
func GetLatestVersion ¶ added in v0.6.0
Types ¶
type BoundaryConfig ¶ added in v0.10.0
type BoundaryConfig struct { WorkerName string ControllerName string DatabaseURL string RootKey string WorkerAuthKey string RecoveryKey string ApiAddress string ApiKeyFile string ApiCertFile string ClusterAddress string ClusterKeyFile string ClusterCertFile string ProxyAddress string ProxyKeyFile string ProxyCertFile string PublicAddress string PublicClusterAddress string Controllers []string }
func (*BoundaryConfig) ApiTLSEnabled ¶ added in v0.10.0
func (c *BoundaryConfig) ApiTLSEnabled() bool
func (*BoundaryConfig) ClusterTLSEnabled ¶ added in v0.10.0
func (c *BoundaryConfig) ClusterTLSEnabled() bool
func (*BoundaryConfig) GenerateConfigFile ¶ added in v0.10.0
func (c *BoundaryConfig) GenerateConfigFile() string
func (*BoundaryConfig) GenerateDbConfigFile ¶ added in v0.10.0
func (c *BoundaryConfig) GenerateDbConfigFile() string
func (*BoundaryConfig) HasAllRequiredControllerKeys ¶ added in v0.10.0
func (c *BoundaryConfig) HasAllRequiredControllerKeys() bool
func (*BoundaryConfig) HasAllRequiredWorkerKeys ¶ added in v0.10.0
func (c *BoundaryConfig) HasAllRequiredWorkerKeys() bool
func (*BoundaryConfig) HasDatabaseURL ¶ added in v0.10.0
func (c *BoundaryConfig) HasDatabaseURL() bool
func (*BoundaryConfig) HasRootKey ¶ added in v0.10.0
func (c *BoundaryConfig) HasRootKey() bool
func (*BoundaryConfig) HasValidApiTLSSettings ¶ added in v0.10.0
func (c *BoundaryConfig) HasValidApiTLSSettings() bool
func (*BoundaryConfig) HasValidClusterTLSSettings ¶ added in v0.10.0
func (c *BoundaryConfig) HasValidClusterTLSSettings() bool
func (*BoundaryConfig) HasValidProxyTLSSettings ¶ added in v0.10.0
func (c *BoundaryConfig) HasValidProxyTLSSettings() bool
func (*BoundaryConfig) IsControllerEnabled ¶ added in v0.10.0
func (c *BoundaryConfig) IsControllerEnabled() bool
func (*BoundaryConfig) IsWorkerEnabled ¶ added in v0.10.0
func (c *BoundaryConfig) IsWorkerEnabled() bool
func (*BoundaryConfig) ProxyTLSEnabled ¶ added in v0.10.0
func (c *BoundaryConfig) ProxyTLSEnabled() bool
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 NodeClass string 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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.