summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-01 18:27:16 +0200
committerGitHub <noreply@github.com>2020-05-01 18:27:16 +0200
commit226e0da6fe12bf8a023f67ce6cebacd54ec65fdc (patch)
treea42bfedb583873d9d9e9d8830b6f688b138e0d08 /pkg/domain/entities/engine_container.go
parent49107a5a2ee98793b4ecfaa0e1a6cacfdf5ccdd0 (diff)
parent98e71583a4e7a0bf1f4a00fcab8bafa4915eb14a (diff)
downloadpodman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.tar.gz
podman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.tar.bz2
podman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.zip
Merge pull request #6057 from baude/v2networking
v2networking enable commands
Diffstat (limited to 'pkg/domain/entities/engine_container.go')
-rw-r--r--pkg/domain/entities/engine_container.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_container.go b/pkg/domain/entities/engine_container.go
index eebf4c033..b11932de6 100644
--- a/pkg/domain/entities/engine_container.go
+++ b/pkg/domain/entities/engine_container.go
@@ -44,6 +44,10 @@ type ContainerEngine interface {
GenerateSystemd(ctx context.Context, nameOrID string, opts GenerateSystemdOptions) (*GenerateSystemdReport, error)
HealthCheckRun(ctx context.Context, nameOrId string, options HealthCheckOptions) (*define.HealthCheckResults, error)
Info(ctx context.Context) (*define.Info, error)
+ NetworkCreate(ctx context.Context, name string, options NetworkCreateOptions) (*NetworkCreateReport, error)
+ NetworkInspect(ctx context.Context, namesOrIds []string, options NetworkInspectOptions) ([]NetworkInspectReport, error)
+ NetworkList(ctx context.Context, options NetworkListOptions) ([]*NetworkListReport, error)
+ NetworkRm(ctx context.Context, namesOrIds []string, options NetworkRmOptions) ([]*NetworkRmReport, error)
PodCreate(ctx context.Context, opts PodCreateOptions) (*PodCreateReport, error)
PodExists(ctx context.Context, nameOrId string) (*BoolReport, error)
PodInspect(ctx context.Context, options PodInspectOptions) (*PodInspectReport, error)