commit | 9789762a2ddbdb71a060abf484c53e6512911fb8 | [log] [tgz] |
---|---|---|
author | Marcelo E. Magallon <marcelo.magallon@grafana.com> | Mon Aug 02 16:37:13 2021 |
committer | Marcelo E. Magallon <marcelo.magallon@grafana.com> | Mon Oct 11 20:31:04 2021 |
tree | 22e747076af561f9bc663bbff6363e783a5e17d7 | |
parent | 5a265357f7c870751728f0b0901a724318001e9b [diff] |
Add helper method to config.Secret to load a file LoadFromFile is a very small helper to avoid repeating this code over and over again. This is related to prometheus/prometheus#8551 Signed-off-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>
This repository contains Go libraries that are shared across Prometheus components and libraries. They are considered internal to Prometheus, without any stability guarantees for external usage.
context.Context