-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add mdox formating and binary flag doc autogen (#1053)
Rationales: * Flags are nice to have for OSS users to use, but it's extremely useful for us to double check if we don't accidently break some flag names/drop some flags (API surface). This is to help with #1001 and co (: * Mdox can help us with link check in future
- Loading branch information
Showing
16 changed files
with
1,277 additions
and
23 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
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,5 @@ | ||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT | ||
|
||
go 1.21.4 | ||
|
||
require github.com/bwplotka/mdox v0.9.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
* | ||
!*.md | ||
!go.mod | ||
!go.sum | ||
!.bingo | ||
|
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,30 @@ | ||
# Config Reloader | ||
|
||
Small binary, a wrapper on top of github.com/thanos-io/thanos/pkg/reloader for extra checks and tuning. | ||
Meant to be run as a sidecar. | ||
|
||
## Flags | ||
|
||
```bash mdox-exec="bash hack/format_help.sh config-reloader" | ||
Usage of config-reloader: | ||
-config-dir string | ||
config directory to watch for changes | ||
-config-dir-output string | ||
config directory to write with interpolated environment variables | ||
-config-file string | ||
config file to watch for changes | ||
-config-file-output string | ||
config file to write with interpolated environment variables | ||
-listen-address string | ||
address on which to expose metrics (default ":19091") | ||
-ready-startup-probing-interval duration | ||
how often to poll ready endpoint during startup (default 1s) | ||
-ready-startup-probing-no-conn-threshold int | ||
how many times ready endpoint can fail due to no connection failure. This can happen if the config-reloader starts faster than the config target endpoint readiness server. (default 5) | ||
-ready-url string | ||
ready endpoint of the configuration target that returns a 200 when ready to serve traffic. If set, the config-reloader will probe it on startup (default "http://127.0.0.1:19090/-/ready") | ||
-reload-url string | ||
reload endpoint of the configuration target that triggers a reload of the configuration file (default "http://127.0.0.1:19090/-/reload") | ||
-watched-dir value | ||
directory to watch for file changes (for rule and secret files, may be repeated) | ||
``` |
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
Oops, something went wrong.