2using System.Collections.Generic;
4using System.Threading.Tasks;
43 ValueTask<SwarmRegistrationResponse?>
RegisterNode(
SwarmServer node, Guid registrationId, CancellationToken cancellationToken);
51 ValueTask
UnregisterNode(Guid registrationId, CancellationToken cancellationToken);
Information about a server in the swarm.
A request to update the swarm's TGS version.
Swarm service operations for the Controllers.SwarmController.
ValueTask UnregisterNode(Guid registrationId, CancellationToken cancellationToken)
Attempt to unregister a node with a given registrationId with the controller.
ValueTask< bool > RemoteCommitReceived(Guid registrationId, CancellationToken cancellationToken)
Notify the controller that the node with the given registrationId is ready to commit or notify the n...
ValueTask< bool > PrepareUpdateFromController(SwarmUpdateRequest updateRequest, CancellationToken cancellationToken)
Notify the node of an update request from the controller.
bool ValidateRegistration(Guid registrationId)
Validate a given registrationId .
ValueTask< SwarmRegistrationResponse?> RegisterNode(SwarmServer node, Guid registrationId, CancellationToken cancellationToken)
Attempt to register a given node with the controller.
void UpdateSwarmServersList(IEnumerable< SwarmServerInformation > swarmServers)
Pass in an updated list of swarmServers to the node.
Allows aborting a swarm distributed update operation.