spiegel_podman/libpod/define
Matthew Heon 8d56eb5342 Add support for network connect / disconnect to DB
Convert the existing network aliases set/remove code to network
connect and disconnect. We can no longer modify aliases for an
existing network, but we can add and remove entire networks. As
part of this, we need to add a new function to retrieve current
aliases the container is connected to (we had a table for this
as of the first aliases PR, but it was not externally exposed).

At the same time, remove all deconflicting logic for aliases.
Docker does absolutely no checks of this nature, and allows two
containers to have the same aliases, aliases that conflict with
container names, etc - it's just left to DNS to return all the
IP addresses, and presumably we round-robin from there? Most
tests for the existing code had to be removed because of this.

Convert all uses of the old container config.Networks field,
which previously included all networks in the container, to use
the new DB table. This ensures we actually get an up-to-date list
of in-use networks. Also, add network aliases to the output of
`podman inspect`.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-11-11 16:37:54 -05:00
..
annotations.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
config.go Add --umask flag for create, run 2020-07-21 14:22:30 -04:00
container_inspect.go Add support for network connect / disconnect to DB 2020-11-11 16:37:54 -05:00
containerstate.go v2 podman stats 2020-05-05 08:46:51 -05:00
errors.go Add support for network connect / disconnect to DB 2020-11-11 16:37:54 -05:00
exec_codes.go Revert "Exec: use ErrorConmonRead" 2020-03-09 09:50:40 -04:00
healthchecks.go Fix remote integration for healthchecks 2020-05-20 14:43:01 -05:00
info.go Include cgroup manager in podman info output 2020-09-22 13:15:01 -04:00
pod_inspect.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
version.go Refactor version handling in cmd tree 2020-09-18 15:13:58 -07:00