-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): add support for custom HTTP headers (#1756)
* feat(grafana.spec.client): add generic headers section Signed-off-by: christophe.boucharlat <[email protected]> * feat(instrumentedRoundTripper): add methods to add headers in the instrumented Transport object and reuse it in subsequent requests Signed-off-by: christophe.boucharlat <[email protected]> * fix(grafana.spec.client): changed headers format to a map of key value to simplify syntax Signed-off-by: christophe.boucharlat <[email protected]> * fix(controllers/client/round_tripper): added checks on headers if nil, removed useless pointers & follow coding style Signed-off-by: christophe.boucharlat <[email protected]> * fix: regenerate code * fix(client): nil point dereference * chore: suppress false positives for errcheck linter --------- Signed-off-by: christophe.boucharlat <[email protected]> Co-authored-by: Igor Beliakov <[email protected]> Co-authored-by: Igor Beliakov <[email protected]>
- Loading branch information
1 parent
1ef7aab
commit 73ef281
Showing
10 changed files
with
81 additions
and
13 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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