| 2521 | } |
| 2522 | |
| 2523 | type KVS struct { |
| 2524 | Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` |
| 2525 | // done used to indicate if the stream of KVS is over. |
| 2526 | Done bool `protobuf:"varint,2,opt,name=done,proto3" json:"done,omitempty"` |
| 2527 | // predicates is the list of predicates known by the leader at the time of the snapshot. |
| 2528 | Predicates []string `protobuf:"bytes,3,rep,name=predicates,proto3" json:"predicates,omitempty"` |
| 2529 | // types is the list of types known by the leader at the time of the snapshot. |
| 2530 | Types []string `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"` |
| 2531 | } |
| 2532 | |
| 2533 | func (m *KVS) Reset() { *m = KVS{} } |
| 2534 | func (m *KVS) String() string { return proto.CompactTextString(m) } |
nothing calls this directly
no outgoing calls
no test coverage detected