diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-19 16:56:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 16:56:17 -0500 |
commit | 5e7262ddf595f9187d01e12f5dcee2fe1c713798 (patch) | |
tree | 6cde028a76610dfc85eb7e27af7743af2e9842bb /pkg/domain/entities/engine_container.go | |
parent | 37470c4d200c5cde2f8e233dbaa6d200d94919cc (diff) | |
parent | a45d22a1ddd2840cf8c3a38540aa8683cc0d5c7d (diff) | |
download | podman-5e7262ddf595f9187d01e12f5dcee2fe1c713798.tar.gz podman-5e7262ddf595f9187d01e12f5dcee2fe1c713798.tar.bz2 podman-5e7262ddf595f9187d01e12f5dcee2fe1c713798.zip |
Merge pull request #9021 from Luap99/podman-network-exists
podman network exists
Diffstat (limited to 'pkg/domain/entities/engine_container.go')
-rw-r--r-- | pkg/domain/entities/engine_container.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go index d2552770c..7b43ac961 100644 --- a/pkg/domain/entities/engine_container.go +++ b/pkg/domain/entities/engine_container.go @@ -60,6 +60,7 @@ type ContainerEngine interface { NetworkConnect(ctx context.Context, networkname string, options NetworkConnectOptions) error NetworkCreate(ctx context.Context, name string, options NetworkCreateOptions) (*NetworkCreateReport, error) NetworkDisconnect(ctx context.Context, networkname string, options NetworkDisconnectOptions) error + NetworkExists(ctx context.Context, networkname string) (*BoolReport, error) NetworkInspect(ctx context.Context, namesOrIds []string, options InspectOptions) ([]NetworkInspectReport, []error, error) NetworkList(ctx context.Context, options NetworkListOptions) ([]*NetworkListReport, error) NetworkReload(ctx context.Context, names []string, options NetworkReloadOptions) ([]*NetworkReloadReport, error) |