MCPcopy
hub / github.com/containerd/containerd / ActivationInfoToProto

Function ActivationInfoToProto

core/mount/proxy/convert.go:28–36  ·  view source on GitHub ↗
(a mount.ActivationInfo)

Source from the content-addressed store, hash-verified

26)
27
28func ActivationInfoToProto(a mount.ActivationInfo) *types.ActivationInfo {
29 return &types.ActivationInfo{
30 Name: a.Name,
31 Active: ActiveMountToProto(a.Active),
32 System: mount.ToProto(a.System),
33 Labels: a.Labels,
34 }
35
36}
37
38func ActivationInfoFromProto(a *types.ActivationInfo) mount.ActivationInfo {
39 if a == nil {

Callers 5

ActivateMethod · 0.92
InfoMethod · 0.92
UpdateMethod · 0.92
ListMethod · 0.92
UpdateMethod · 0.85

Calls 2

ToProtoFunction · 0.92
ActiveMountToProtoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…