Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationConfiguration ¶
type ApplicationConfiguration interface { GetDbConfig() *database.DbConfig GetDataCatalogConfig() configs.DataCatalogConfig }
Defines the interface to return top-level config structs necessary to start up a datacatalog application.
func NewApplicationConfigurationProvider ¶
func NewApplicationConfigurationProvider() ApplicationConfiguration
type ApplicationConfigurationProvider ¶
type ApplicationConfigurationProvider struct{}
func (*ApplicationConfigurationProvider) GetDataCatalogConfig ¶
func (p *ApplicationConfigurationProvider) GetDataCatalogConfig() configs.DataCatalogConfig
func (*ApplicationConfigurationProvider) GetDbConfig ¶
func (p *ApplicationConfigurationProvider) GetDbConfig() *database.DbConfig
type Configuration ¶
type Configuration interface {
ApplicationConfiguration() ApplicationConfiguration
}
Interface for getting parsed values from a configuration file
func NewConfigurationProvider ¶
func NewConfigurationProvider() Configuration
type ConfigurationProvider ¶
type ConfigurationProvider struct {
// contains filtered or unexported fields
}
Implementation of a Configuration
func (*ConfigurationProvider) ApplicationConfiguration ¶
func (p *ConfigurationProvider) ApplicationConfiguration() ApplicationConfiguration
Click to show internal directories.
Click to hide internal directories.