(a mount.ActivationInfo)
| 26 | ) |
| 27 | |
| 28 | func 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 | |
| 38 | func ActivationInfoFromProto(a *types.ActivationInfo) mount.ActivationInfo { |
| 39 | if a == nil { |