spiegel_podman/pkg/api/server
Paul Holzinger 8494bcb866 podman network label support
Add label support for podman network create. Use the `args`
field in the cni config file to store the podman labels.
Use `podman_labels` as key name and store the labels as
map[string]string.

For reference: https://github.com/containernetworking/cni/blob/master/CONVENTIONS.md#args-in-network-config
https://github.com/containernetworking/cni/blob/spec-v0.4.0/SPEC.md#network-configuration

Example snippet:

```
...
"args": {
	"podman_labels": {
		"key1":"value1",
		"key2":"value2"
	}
}
...
```

Make podman network list support several filters. Supported filters are name,
plugin, driver and label. Filters with different keys work exclusive. Several label
filters work exclusive and the other filter keys are working inclusive.

Also adjust the compat api to support labels in network create and list.

Breaking changes:

- podman network ls -f shortform is used for --filter instead --format
This matches docker and other podman commands (container ps, volume ps)

- libpod network list endpoint filter parameter is removed. Instead the
filters paramter should be used as json encoded map[string][]string.

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2020-11-28 18:35:43 +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 podman network label support 2020-11-28 18:35:43 +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