-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from promhippie/new-features
feat: secret files, web config and better docs
- Loading branch information
Showing
26 changed files
with
278 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Change: Read secrets form files | ||
|
||
We have added proper support to load secrets like the password from files or | ||
from base64-encoded strings. Just provide the flags or environment variables | ||
for token or private key with a DSN formatted string like `file://path/to/file` | ||
or `base64://Zm9vYmFy`. | ||
|
||
https://github.com/promhippie/dockerhub_exporter/pull/135 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Enhancement: Integrate option pprof profiling | ||
|
||
We have added an option to enable a pprof endpoint for proper profiling support | ||
with the help of tools like Parca. The endpoint `/debug/pprof` can now | ||
optionally be enabled to get the profiling details for catching potential memory | ||
leaks. | ||
|
||
https://github.com/promhippie/dockerhub_exporter/pull/135 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Change: Integrate standard web config | ||
|
||
We integrated the new web config from the Prometheus toolkit which provides a | ||
configuration for TLS support and also some basic builtin authentication. For | ||
the detailed configuration you can check out the documentation. | ||
|
||
https://github.com/promhippie/dockerhub_exporter/pull/135 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package action | ||
|
||
// boolP returns a boolean pointer. | ||
func boolP(i bool) *bool { | ||
return &i | ||
} | ||
|
||
// stringP returns a string pointer. | ||
func stringP(i string) *string { | ||
return &i | ||
} | ||
|
||
// slceP returns a slice pointer. | ||
func sliceP(i []string) *[]string { | ||
return &i | ||
} |
Oops, something went wrong.