spiegel_podman/cmd/podman/networks
Paul Holzinger d4fe645ed4 shell completion --format: use structs by reference
For the AutocompleteFormat function we expect the correct template
struct which is used in the golang template. The function can handle
both struct and pointer to a struct. Using the reference is more
efficient since it doe snot have to copy the whole struct.

Also change some structs to use he actual type from the template instead
of some nested one to make sure it has to correct fields.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-05-03 13:41:54 -04:00
..
connect.go bump go module to version 4 2022-01-18 12:47:07 +01:00
create.go network create: add support for ipam-driver none 2022-04-11 11:09:15 +02:00
disconnect.go bump go module to version 4 2022-01-18 12:47:07 +01:00
exists.go bump go module to version 4 2022-01-18 12:47:07 +01:00
inspect.go network inspect --format: add completion for go template 2022-05-03 13:41:34 -04:00
list.go shell completion --format: use structs by reference 2022-05-03 13:41:54 -04:00
network.go bump go module to version 4 2022-01-18 12:47:07 +01:00
prune.go bump go module to version 4 2022-01-18 12:47:07 +01:00
reload.go bump go module to version 4 2022-01-18 12:47:07 +01:00
rm.go bump go module to version 4 2022-01-18 12:47:07 +01:00