summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-20 23:32:52 +0200
committerGitHub <noreply@github.com>2020-05-20 23:32:52 +0200
commit588df9039700e53eb3d8222c15494a5dd727e4f5 (patch)
tree782863dbf1231dea2fe6410ad1e5ec3cda92049b /pkg/domain/entities
parente8e5a5f96e0b5d915baeeb0915cc0ca788b70e64 (diff)
parent087fdda199aaef9f1f0ae1d111e60d22a40ed106 (diff)
downloadpodman-588df9039700e53eb3d8222c15494a5dd727e4f5.tar.gz
podman-588df9039700e53eb3d8222c15494a5dd727e4f5.tar.bz2
podman-588df9039700e53eb3d8222c15494a5dd727e4f5.zip
Merge pull request #6161 from kunalkushwaha/network-inspect
`--format` and `--filter` options for `network ls` and `network inspect` command
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/network.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/network.go b/pkg/domain/entities/network.go
index d001553e0..9beeeb042 100644
--- a/pkg/domain/entities/network.go
+++ b/pkg/domain/entities/network.go
@@ -10,6 +10,7 @@ import (
type NetworkListOptions struct {
Format string
Quiet bool
+ Filter string
}
// NetworkListReport describes the results from listing networks
@@ -19,6 +20,7 @@ type NetworkListReport struct {
// NetworkInspectOptions describes options for inspect networks
type NetworkInspectOptions struct {
+ Format string
}
// NetworkInspectReport describes the results from inspect networks