config

package
v0.0.0-...-3120ddf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppConfig object with applied config
	AppConfig = loadConfig()
)

Functions

This section is empty.

Types

type Config

type Config struct {
	ElasticsearchEndpoint           string         `mapstructure:"endpoint"`
	ElasticsearchAlertAPIPath       string         `mapstructure:"alertAPIPath"`
	ElasticsearchTenantAPIPath      string         `mapstructure:"tenantAPIPath"`
	ElasticsearchRoleAPIPath        string         `mapstructure:"roleAPIPath"`
	ElasticsearchUserAPIPath        string         `mapstructure:"userAPIPath"`
	ElasticsearchRoleMappingAPIPath string         `mapstructure:"roleMappingAPIPath"`
	ElasticsearchUsername           string         `mapstructure:"username"`
	ExtraCACertFile                 string         `mapstructure:"extraCACertFile"`
	ExtraCACert                     *x509.CertPool `mapstructure:"extraCACert"`
	ElasticsearchPassword           string         `mapstructure:"password"`
}

Config structure with operator's config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL