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

import (
	"context"

	"github.com/containers/podman/v3/libpod/define"
	"github.com/containers/podman/v3/pkg/bindings/containers"
	"github.com/containers/podman/v3/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)
}