(attr string, val []byte)
| 959 | } |
| 960 | |
| 961 | func TypeExportKv(attr string, val []byte) (*bpb.KV, error) { |
| 962 | var update pb.TypeUpdate |
| 963 | if err := proto.Unmarshal(val, &update); err != nil { |
| 964 | return nil, err |
| 965 | } |
| 966 | return toType(attr, update), nil |
| 967 | } |
| 968 | |
| 969 | // Export request is used to trigger exports for the request list of groups. |
| 970 | // If a server receives request to export a group that it doesn't handle, it would |
no test coverage detected