mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
20 lines
646 B
Text
20 lines
646 B
Text
@load ./types
|
|
|
|
module ClusterController::API;
|
|
|
|
export {
|
|
const version = 1;
|
|
|
|
# Triggered when the operational instances align with desired ones, as
|
|
# defined by the latest cluster config sent by the client.
|
|
global notify_agents_ready: event(instances: set[string]);
|
|
|
|
global get_instances_request: event(reqid: string);
|
|
global get_instances_response: event(reqid: string,
|
|
result: ClusterController::Types::Result);
|
|
|
|
global set_configuration_request: event(reqid: string,
|
|
config: ClusterController::Types::Configuration);
|
|
global set_configuration_response: event(reqid: string,
|
|
result: ClusterController::Types::ResultVec);
|
|
}
|