File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,16 @@ import (
1616)
1717
1818type Config struct {
19- BasicAuth string // Currently unused in CLI
20- Bearer string // Currently unused in CLI
21- Hostname string `env:"CHECK_ELASTICSEARCH_HOSTNAME"`
22- CAFile string `env:"CHECK_ELASTICSEARCH_CA_FILE"`
23- CertFile string `env:"CHECK_ELASTICSEARCH_CERT_FILE"`
24- KeyFile string `env:"CHECK_ELASTICSEARCH_KEY_FILE"`
25- Username string `env:"CHECK_ELASTICSEARCH_USERNAME"`
26- Password string `env:"CHECK_ELASTICSEARCH_PASSWORD"`
27- Port int
28- TLS bool
29- Insecure bool
19+ Bearer string // Currently unused in CLI
20+ Hostname string `env:"CHECK_ELASTICSEARCH_HOSTNAME"`
21+ CAFile string `env:"CHECK_ELASTICSEARCH_CA_FILE"`
22+ CertFile string `env:"CHECK_ELASTICSEARCH_CERT_FILE"`
23+ KeyFile string `env:"CHECK_ELASTICSEARCH_KEY_FILE"`
24+ Username string `env:"CHECK_ELASTICSEARCH_USERNAME"`
25+ Password string `env:"CHECK_ELASTICSEARCH_PASSWORD"`
26+ Port int
27+ TLS bool
28+ Insecure bool
3029}
3130
3231// LoadFromEnv can be used to load struct values from 'env' tags.
You can’t perform that action at this time.
0 commit comments