mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-08 18:05:41 +00:00
Add all option that are supported by the podman inspect --type flag to the completions. Also use the same constants instead of duplicating the strings. In order to do this I had to move the definitions into the common package to prevent an import cycle. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
16 lines
386 B
Go
16 lines
386 B
Go
package common
|
|
|
|
const (
|
|
// AllType can be of type ImageType or ContainerType.
|
|
AllType = "all"
|
|
// ContainerType is the container type.
|
|
ContainerType = "container"
|
|
// ImageType is the image type.
|
|
ImageType = "image"
|
|
// NetworkType is the network type
|
|
NetworkType = "network"
|
|
// PodType is the pod type.
|
|
PodType = "pod"
|
|
// VolumeType is the volume type
|
|
VolumeType = "volume"
|
|
)
|