MemoryStore implements the Store interface. It is meant primarily for testing. Not to be used directly. Only to be used as a backing store for config.Store
| 14 | // MemoryStore implements the Store interface. It is meant primarily for testing. |
| 15 | // Not to be used directly. Only to be used as a backing store for config.Store |
| 16 | type MemoryStore struct { |
| 17 | allowEnvironmentOverrides bool |
| 18 | validate bool |
| 19 | files map[string][]byte |
| 20 | savedConfig *model.Config |
| 21 | } |
| 22 | |
| 23 | // MemoryStoreOptions makes configuration of the memory store explicit. |
| 24 | type MemoryStoreOptions struct { |
nothing calls this directly
no outgoing calls
no test coverage detected