MCPcopy Index your code
hub / github.com/apache/caldera / bootstrap

Method bootstrap

app/objects/c_agent.py:242–247  ·  view source on GitHub ↗
(self, data_svc)

Source from the content-addressed store, hash-verified

240 return False
241
242 async def bootstrap(self, data_svc):
243 abilities = []
244 for i in self.get_config(name='agents', prop='bootstrap_abilities'):
245 for a in await data_svc.locate('abilities', match=dict(ability_id=i)):
246 abilities.append(a)
247 await self.task(abilities, obfuscator='plain-text')
248
249 async def deadman(self, data_svc):
250 abilities = []

Callers 1

handle_heartbeatMethod · 0.80

Calls 3

taskMethod · 0.95
get_configMethod · 0.45
locateMethod · 0.45

Tested by

no test coverage detected