Merge pull request #5655 from baude/v2hcrun

podmanv2 enable healthcheck run
This commit is contained in:
OpenShift Merge Robot
2020-03-31 23:01:19 +02:00
committed by GitHub
7 changed files with 122 additions and 0 deletions

View File

@@ -2,6 +2,8 @@ package entities
import (
"context"
"github.com/containers/libpod/libpod/define"
)
type ContainerEngine interface {
@@ -32,4 +34,6 @@ type ContainerEngine interface {
VolumeRm(ctx context.Context, namesOrIds []string, opts VolumeRmOptions) ([]*VolumeRmReport, error)
VolumePrune(ctx context.Context, opts VolumePruneOptions) ([]*VolumePruneReport, error)
VolumeList(ctx context.Context, opts VolumeListOptions) ([]*VolumeListReport, error)
HealthCheckRun(ctx context.Context, nameOrId string, options HealthCheckOptions) (*define.HealthCheckResults, error)
}