MCPcopy Create free account
hub / github.com/saltstack/salt / cache_job

Method cache_job

salt/client/ssh/__init__.py:945–951  ·  view source on GitHub ↗

Cache the job information

(self, jid, id_, ret, fun)

Source from the content-addressed store, hash-verified

943 yield ret
944
945 def cache_job(self, jid, id_, ret, fun):
946 """
947 Cache the job information
948 """
949 self.returners["{}.returner".format(self.opts["master_job_cache"])](
950 {"jid": jid, "id": id_, "return": ret, "fun": fun}
951 )
952
953 def run(self, jid=None):
954 """

Callers 2

run_iterMethod · 0.95
runMethod · 0.95

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected