salt.returners.multi_returner
Read/Write multiple returners
-
Clean out the old jobs from all returners (if you have it)
salt.returners.multi_returner.clean_old_jobs()
-
Merge the return data from all returners
salt.returners.multi_returner.get_jid(jid)
-
Return all job data from all returners
salt.returners.multi_returner.get_jids()
-
Merge the load data from all returners
salt.returners.multi_returner.get_load(jid)
-
Call both with prep_jid on all returners in multi_returner
TODO: finish this, what do do when you get different jids from 2 returners... since our jids are time based, this make this problem hard, because they aren't unique, meaning that we have to make sure that no one else got the jid and if they did we spin to get a new one, which means "locking" the jid in 2 returners is non-trivial
salt.returners.multi_returner.prep_jid(nocache=False, passed_jid=None)
-
Write return to all returners in multi_returner
salt.returners.multi_returner.returner(load)
-
Write load to all returners in multi_returner
salt.returners.multi_returner.save_load(jid, clear_load, minions=None)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/returners/all/salt.returners.multi_returner.html