This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds https ability to go rest client and pulsectl
HTTPS is available in two modes on the REST API: with a given certificate / key pair, or it can generate unsigned ones at start up. The client needs the ability to bypass cert signing errors when communicating with the API. In this commit a param is added when constructing a client instance called `insecure`. If this flag is given, the certificating signing errors are bypassed. When pulsectl constructs a client instance, it passes in the value of a new `--insecure` flag which provides pulsectl the same functionality described above.
- Loading branch information
Showing
8 changed files
with
135 additions
and
93 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
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.