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

Method Info

core/mount/proxy/proxy.go:93–101  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

91}
92
93func (pm *proxyMounts) Info(ctx context.Context, name string) (mount.ActivationInfo, error) {
94 a, err := pm.client.Info(ctx, &mounts.InfoRequest{
95 Name: name,
96 })
97 if err != nil {
98 return mount.ActivationInfo{}, errgrpc.ToNative(err)
99 }
100 return ActivationInfoFromProto(a.Info), nil
101}
102
103func (pm *proxyMounts) Update(ctx context.Context, info mount.ActivationInfo, fieldpaths ...string) (mount.ActivationInfo, error) {
104 var updateMask *ptypes.FieldMask

Callers

nothing calls this directly

Calls 2

ActivationInfoFromProtoFunction · 0.85
InfoMethod · 0.65

Tested by

no test coverage detected