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

Method VersionService

client/client.go:846–850  ·  view source on GitHub ↗

VersionService returns the underlying VersionClient

()

Source from the content-addressed store, hash-verified

844
845// VersionService returns the underlying VersionClient
846func (c *Client) VersionService() versionservice.VersionClient {
847 c.connMu.Lock()
848 defer c.connMu.Unlock()
849 return versionservice.NewVersionClient(c.conn)
850}
851
852// Conn returns the underlying RPC connection object
853// Either *grpc.ClientConn or *ttrpc.Conn

Callers 1

VersionMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected