Documentation ¶
Index ¶
- type ConfigurationStruct
- func (c *ConfigurationStruct) EmptyWritablePtr() interface{}
- func (c *ConfigurationStruct) GetBootstrap() bootstrapConfig.BootstrapConfiguration
- func (c *ConfigurationStruct) GetDatabaseInfo() map[string]bootstrapConfig.Database
- func (c *ConfigurationStruct) GetInsecureSecrets() bootstrapConfig.InsecureSecrets
- func (c *ConfigurationStruct) GetLogLevel() string
- func (c *ConfigurationStruct) GetRegistryInfo() bootstrapConfig.RegistryInfo
- func (c *ConfigurationStruct) UpdateFromRaw(_ interface{}) bool
- func (c *ConfigurationStruct) UpdateWritableFromRaw(_ interface{}) bool
- type Database
- type KongAdminInfo
- type SecretStoreInfo
- type SecureMessageBusInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationStruct ¶
type ConfigurationStruct struct { LogLevel string SecretStore SecretStoreInfo Databases map[string]Database KongAdmin KongAdminInfo SecureMessageBus SecureMessageBusInfo }
func (*ConfigurationStruct) EmptyWritablePtr ¶
func (c *ConfigurationStruct) EmptyWritablePtr() interface{}
EmptyWritablePtr returns a pointer to a service-specific empty WritableInfo struct. Not needed for this service, so return nil
func (*ConfigurationStruct) GetBootstrap ¶
func (c *ConfigurationStruct) GetBootstrap() bootstrapConfig.BootstrapConfiguration
GetBootstrap returns the configuration elements required by the bootstrap. Not needed for this service, so return empty struct
func (*ConfigurationStruct) GetDatabaseInfo ¶
func (c *ConfigurationStruct) GetDatabaseInfo() map[string]bootstrapConfig.Database
GetDatabaseInfo returns a database information map. Not needed for this service, so return nil
func (*ConfigurationStruct) GetInsecureSecrets ¶
func (c *ConfigurationStruct) GetInsecureSecrets() bootstrapConfig.InsecureSecrets
GetInsecureSecrets returns the service's InsecureSecrets Not used for this service, so return nil
func (*ConfigurationStruct) GetLogLevel ¶
func (c *ConfigurationStruct) GetLogLevel() string
GetLogLevel returns the current ConfigurationStruct's log level.
func (*ConfigurationStruct) GetRegistryInfo ¶
func (c *ConfigurationStruct) GetRegistryInfo() bootstrapConfig.RegistryInfo
GetRegistryInfo returns the RegistryInfo from the ConfigurationStruct. Not needed for this service, so return empty struct
func (*ConfigurationStruct) UpdateFromRaw ¶
func (c *ConfigurationStruct) UpdateFromRaw(_ interface{}) bool
UpdateFromRaw converts configuration received from the registry to a service-specific configuration struct Not needed for this service, so always return false
func (*ConfigurationStruct) UpdateWritableFromRaw ¶
func (c *ConfigurationStruct) UpdateWritableFromRaw(_ interface{}) bool
UpdateWritableFromRaw converts configuration received from the registry to a service-specific WritableInfo struct Not needed for this service, so always return false
type KongAdminInfo ¶
type SecretStoreInfo ¶
type SecretStoreInfo struct { Type string Protocol string Host string Port int ServerName string CertPath string CaFilePath string CertFilePath string KeyFilePath string TokenFolderPath string TokenFile string VaultSecretThreshold int TokenProvider string TokenProviderArgs []string TokenProviderType string TokenProviderAdminTokenPath string PasswordProvider string PasswordProviderArgs []string RevokeRootTokens bool ConsulSecretsAdminTokenPath string }
func (SecretStoreInfo) GetBaseURL ¶
func (s SecretStoreInfo) GetBaseURL() string
GetBaseURL builds and returns the base URL for the SecretStore service