Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfigNotFound = errors.New(heredoc.Doc(`
Config file not found. Loading from defaults...
Run "compass config init" to initialize a new configuartion file
Run "compass help environment" for more information.
Alternatively, make a "compass.yaml" file in the current directory from the example given
`))
View Source
var (
Version string
)
Version of the current build. overridden by the build system. see "Makefile" for more information
Functions ¶
func LoadConfigFromFlag ¶
func LoadFromCurrentDir ¶
Types ¶
type Config ¶
type Config struct { // Log LogLevel string `yaml:"log_level" mapstructure:"log_level" default:"info"` // OpenTelemetry and Newrelic Telemetry telemetry.Config `mapstructure:"telemetry"` // Deprecated: Use Config.Telemetry instead NewRelic telemetry.NewRelicConfig `mapstructure:"newrelic"` // Elasticsearch Elasticsearch esStore.Config `mapstructure:"elasticsearch"` // Database DB postgres.Config `mapstructure:"db"` // Service Service server.Config `mapstructure:"service"` // Async worker Worker workermanager.Config `mapstructure:"worker"` // Client Client client.Config `mapstructure:"client"` // Column search excluded keyword list ColSearchExclusionKeywords string `yaml:"col_search_excluded_keywords" mapstructure:"col_search_excluded_keywords"` Asset asset.Config `mapstructure:"asset"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.