aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/healthcheck.go
blob: e589489b385c63758b55db586cfc71139e0a60e9 (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)
}