summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_images.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-09-30 14:31:26 -0700
committerJhon Honce <jhonce@redhat.com>2020-09-30 15:56:58 -0700
commitfad55e47307f9d7aeadfd0e11f4374afd7b0e061 (patch)
treee98e803966976e008a08c89688aa77ec5465ce14 /pkg/api/server/register_images.go
parent5954d370718f67ebb220f3dbed24a63adf5c3dae (diff)
downloadpodman-fad55e47307f9d7aeadfd0e11f4374afd7b0e061.tar.gz
podman-fad55e47307f9d7aeadfd0e11f4374afd7b0e061.tar.bz2
podman-fad55e47307f9d7aeadfd0e11f4374afd7b0e061.zip
Support --http-proxy for remote builds
* Fix misspelled parameter * add http-proxy support for builds http_proxy must be set in the podman.service unit file, for example Environment=http_proxy=<value> Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r--pkg/api/server/register_images.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index 32e401a54..cb0d26d1e 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -1423,6 +1423,13 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// description: |
// output configuration TBD
// (As of version 1.xx)
+ // - in: query
+ // name: httpproxy
+ // type: boolean
+ // default:
+ // description: |
+ // Inject http proxy environment variables into container
+ // (As of version 2.0.0)
// produces:
// - application/json
// responses: