VictoriaMetrics/lib/flagutil
Aliaksandr Valialkin 885ee160c2
all: allow dynamically reading *AuthKey flag values from files and urls
Examples:

1) -metricsAuthKey=file:///abs/path/to/file - reads flag value from the given absolute filepath
2) -metricsAuthKey=file://./relative/path/to/file - reads flag value from the given relative filepath
3) -metricsAuthKey=http://some-host/some/path?query_arg=abc - reads flag value from the given url

The flag value is automatically updated when the file contents changes.
2024-01-22 01:23:23 +02:00
..
testdata all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-22 01:23:23 +02:00
array.go app/vmauth: add support for hot standby mode via first_available load balancing policy 2023-12-08 23:32:10 +02:00
array_test.go app/vmauth: add support for hot standby mode via first_available load balancing policy 2023-12-08 23:32:10 +02:00
bytes.go
bytes_test.go
dict.go app/{vmagent,vmalert}: add the ability to set OAuth2 endpoint params via the corresponding *.oauth2.endpointParams command-line flags 2023-12-20 21:38:16 +02:00
dict_test.go app/{vmagent,vmalert}: add the ability to set OAuth2 endpoint params via the corresponding *.oauth2.endpointParams command-line flags 2023-12-20 21:38:16 +02:00
duration.go
duration_test.go
flag.go
password.go all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-22 01:23:23 +02:00
password_test.go all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-22 01:23:23 +02:00
secret.go
usage.go