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

import (
	"context"

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

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