MCPcopy
hub / github.com/saltstack/salt / fire_master

Method fire_master

salt/utils/event.py:941–949  ·  view source on GitHub ↗

Send a single event to the master, with the payload "data" and the event identifier "tag". Default timeout is 1000ms

(self, data, tag, timeout=1000)

Source from the content-addressed store, hash-verified

939 return True
940
941 def fire_master(self, data, tag, timeout=1000):
942 """'
943 Send a single event to the master, with the payload "data" and the
944 event identifier "tag".
945
946 Default timeout is 1000ms
947 """
948 msg = {"tag": tag, "data": data, "events": None, "pretag": None}
949 return self.fire_event(msg, "fire_master", timeout)
950
951 def destroy(self):
952 if self.subscriber is not None:

Callers 2

test_fire_masterFunction · 0.45
test_send_master_eventFunction · 0.45

Calls 1

fire_eventMethod · 0.95

Tested by 2

test_fire_masterFunction · 0.36
test_send_master_eventFunction · 0.36