spiegel_podman/pkg/api/server
Jhon Honce 8a7e70919f Refactor manifest list operations
* Update method/function signatures use the manifest list name and
  images associated with the operation explicitly, in general

  func f(ctx context.Context, manifestListName string,
         ImageNames []string, options *fOptions)

* Leverage gorilla/mux Subrouters to support API v3.x and v4.x for
  manifests
* Make manifest API endpoints more RESTful
* Add PUT /manifest/{id} to update existing manifests
* Add manifests.Annotate to go bindings, uncommented unit test
* Add DELETE /manifest/{Id} to remove existing manifest list, use
  PUT /manifest/{id} to remove images from a list
* Deprecated POST /manifest/{id}/add and /manifest/{id}/remove, use
  PUT /manifest/{id} instead
* Corrected swagger godoc and updated to cover API changes
* Update podman manifest commands to use registry.Context()
* Expose utils.GetVar() to obtain query parameters by name
* Unexpose server.registerSwaggerHandlers, not sure why this was ever
  exposed.
* Refactored code to use http.Header instead of map[string]string when
  operating on HTTP headers.
* Add API-Version header support in bindings to allow calling explicate
  versions of the API. Header is _NOT_ forwarded to the API service.

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2022-01-14 16:13:35 -07:00
..
idle Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
docs.go Update swagger documentation 2021-12-31 08:43:56 -05:00
handler_api.go Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
handler_logging.go Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
handler_panic.go Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
handler_rid.go Log Apache access_log-like entries at Info level [NO NEW TESTS NEEDED] 2021-11-05 10:34:02 -07:00
listener_api.go Make podman service log events 2020-11-19 14:42:56 -07:00
register_archive.go support container to container copy 2021-07-27 15:32:23 +02:00
register_auth.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_containers.go Add podman rm --depend 2022-01-11 14:33:54 -05:00
register_distribution.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_events.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_exec.go Fix resize race with podman exec -it 2021-06-16 16:43:30 +02:00
register_generate.go Add restart-sec option to systemd generate 2021-12-03 12:11:28 +01:00
register_healthcheck.go swagger: remove name wildcards 2021-04-07 15:21:44 +02:00
register_images.go podman build enable --all-platforms and --unsetenv 2022-01-13 15:01:28 +01:00
register_info.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_manifest.go Refactor manifest list operations 2022-01-14 16:13:35 -07:00
register_monitor.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_networks.go correct typo words in docs 2022-01-05 15:23:07 -08:00
register_ping.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_play.go play kube add support for multiple networks 2021-12-14 15:23:40 +01:00
register_plugins.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_pods.go Implement top streaming for containers and pods 2021-11-02 08:11:14 -07:00
register_secrets.go Add filtering functionality to http api secrets list 2021-09-03 10:29:31 +02:00
register_swagger.go Refactor manifest list operations 2022-01-14 16:13:35 -07:00
register_swarm.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_system.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_version.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_volumes.go correct typo words in docs 2022-01-05 15:23:07 -08:00
server.go Refactor manifest list operations 2022-01-14 16:13:35 -07:00
swagger.go Fix swagger definitions 2021-11-01 22:37:35 +01:00