MCPcopy Index your code
hub / github.com/containerd/containerd / HealthService

Method HealthService

client/client.go:789–793  ·  view source on GitHub ↗

HealthService returns the underlying GRPC HealthClient

()

Source from the content-addressed store, hash-verified

787
788// HealthService returns the underlying GRPC HealthClient
789func (c *Client) HealthService() grpc_health_v1.HealthClient {
790 c.connMu.Lock()
791 defer c.connMu.Unlock()
792 return grpc_health_v1.NewHealthClient(c.conn)
793}
794
795// EventService returns the underlying event service
796func (c *Client) EventService() EventService {

Callers 1

IsServingMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected