podmanv2 enable healthcheck run

run healthcheck with podmanv2

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2020-03-29 18:07:05 -05:00
parent 598bb53d46
commit a84c006368
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 {
@@ -31,4 +33,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)
}