dummy data used to test the datastore
| 68 | |
| 69 | // dummy data used to test the datastore |
| 70 | type dummyObject struct { |
| 71 | Name string `kv:"leaf"` |
| 72 | NetworkType string `kv:"leaf"` |
| 73 | EnableIPv6 bool `kv:"leaf"` |
| 74 | Rec *recStruct `kv:"recursive"` |
| 75 | Dict map[string]*recStruct `kv:"iterative"` |
| 76 | Generic options.Generic `kv:"iterative"` |
| 77 | ID string |
| 78 | DBIndex uint64 |
| 79 | DBExists bool |
| 80 | ReturnValue bool |
| 81 | } |
| 82 | |
| 83 | func (n *dummyObject) Key() []string { |
| 84 | return []string{dummyKey, n.ID} |
nothing calls this directly
no outgoing calls
no test coverage detected