summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/healthcheck.go
blob: 3daf226476ce70dc9a6065a8e185839817ad4313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package tunnel

import (
	"context"

	"github.com/containers/podman/v2/libpod/define"
	"github.com/containers/podman/v2/pkg/bindings/containers"
	"github.com/containers/podman/v2/pkg/domain/entities"
)

func (ic *ContainerEngine) HealthCheckRun(ctx context.Context, nameOrID string, options entities.HealthCheckOptions) (*define.HealthCheckResults, error) {
	return containers.RunHealthCheck(ic.ClientCtx, nameOrID, nil)
}