podman/pkg/api/server
Paul Holzinger c31a5c0d9c Add support for network ids
The network ID is not stored. It is just the sha256 hash from
the network name. There is a risk of a potential hash collision.
However it's very unlikely and even if we hit this it will
complain that more than network with this ID exists.

The main benefit is that the compat api can have proper
network ID support. Also this adds the support for
`podman network ls --format "{{.ID}}"` and `--filter id=<ID>`.

It also ensures that we can do network rm <ID> and network
inspect <ID>.

Since we use a hash this commit is backwards compatible even for
already existing networks.

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2020-12-02 10:27:00 +01:00
..
idle Change http ConnState actions between new and active 2020-10-31 20:31:33 -06:00
docs.go Remove 'experimental' from API doc 2020-07-25 13:57:40 -04:00
handler_api.go Make podman service log events 2020-11-19 14:42:56 -07:00
listener_api.go Make podman service log events 2020-11-19 14:42:56 -07:00
register_archive.go Correct HTTP methods for /containers/{id}/archive 2020-09-15 08:11:49 -07:00
register_auth.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_containers.go new endpoint: /libpod/containers/stats 2020-09-24 14:09:55 +02:00
register_distribution.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_events.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_exec.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_generate.go APIv2 add generate systemd endpoint 2020-09-02 22:06:19 +02:00
register_healthcheck.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_images.go Search repository tags using --list-tags 2020-10-09 11:49:46 -04:00
register_info.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_manifest.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_monitor.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_networks.go Add support for network ids 2020-12-02 10:27:00 +01:00
register_ping.go REST API v2 - ping - fix typo in header 2020-11-25 20:49:08 +01:00
register_play.go Add an option to control if play kube should start the pod 2020-11-17 20:00:58 +01:00
register_plugins.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_pods.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_swagger.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_swarm.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_system.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_version.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_volumes.go fix for compatibility volume creation 2020-09-28 13:28:07 -05:00
server.go Make podman service log events 2020-11-19 14:42:56 -07:00
swagger.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00