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

import (
	"context"

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

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