MCPcopy Index your code
hub / github.com/saltstack/salt / store

Method store

tests/pytests/unit/modules/test_mine.py:19–21  ·  view source on GitHub ↗
(self, bank, key, value)

Source from the content-addressed store, hash-verified

17 self.data = {}
18
19 def store(self, bank, key, value):
20 self.data[bank, key] = value
21 return "FakeCache:StoreSuccess!"
22
23 def fetch(self, bank, key):
24 return self.data.get((bank, key), {})

Calls

no outgoing calls

Tested by

no test coverage detected