VictoriaMetrics/lib/flagutil
Aliaksandr Valialkin 1f105dde98
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-21 22:03:38 +02:00
..
testdata all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-21 22:03:38 +02:00
array_test.go
array.go
bytes_test.go
bytes.go
dict_test.go
dict.go
duration_test.go
duration.go
flag.go
password_test.go all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-21 22:03:38 +02:00
password.go all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-21 22:03:38 +02:00
secret.go
usage.go