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

Class MasterEvent

salt/utils/event.py:1060–1084  ·  view source on GitHub ↗

Warning! Use the get_event function or the code will not be RAET compatible Create a master event management object

Source from the content-addressed store, hash-verified

1058
1059
1060class MasterEvent(SaltEvent):
1061 """
1062 Warning! Use the get_event function or the code will not be
1063 RAET compatible
1064 Create a master event management object
1065 """
1066
1067 def __init__(
1068 self,
1069 sock_dir,
1070 opts=None,
1071 listen=True,
1072 io_loop=None,
1073 keep_loop=False,
1074 raise_errors=False,
1075 ):
1076 super().__init__(
1077 "master",
1078 sock_dir,
1079 opts,
1080 listen=listen,
1081 io_loop=io_loop,
1082 keep_loop=keep_loop,
1083 raise_errors=raise_errors,
1084 )
1085
1086
1087class LocalClientEvent(MasterEvent):

Callers 2

get_eventFunction · 0.85
get_master_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected