コード例 #1
0
ファイル: conftest.py プロジェクト: e7ChatsApp/inmanta-core
 def update_resource(self, ctx: HandlerContext, changes: dict,
                     resource: AgentConfig) -> None:
     agent_config = ctx.get("map")
     agent_config[resource.agentname] = resource.uri
     self._set_map(agent_config)
コード例 #2
0
ファイル: conftest.py プロジェクト: e7ChatsApp/inmanta-core
 def delete_resource(self, ctx: HandlerContext,
                     resource: AgentConfig) -> None:
     agent_config = ctx.get("map")
     del agent_config[resource.agentname]
     self._set_map(agent_config)