方法列表
检查是否有正在执行的任务
admin
RPC
existsDNSTasks (ExistsDNSTasksRequest) returns (ExistsDNSTasksResponse)
HTTP
POST /DNSTaskService/existsDNSTasks
输入对象:ExistsDNSTasksRequest:
{ }
输出对象:ExistsDNSTasksResponse:
查找正在执行的所有任务
admin
RPC
findAllDoingDNSTasks (FindAllDoingDNSTasksRequest) returns (FindAllDoingDNSTasksResponse)
HTTP
POST /DNSTaskService/findAllDoingDNSTasks
输入对象:FindAllDoingDNSTasksRequest:
{ // 集群ID int64 nodeClusterId; }
输出对象:FindAllDoingDNSTasksResponse:
删除任务
admin
RPC
deleteDNSTask (DeleteDNSTaskRequest) returns (RPCSuccess)
HTTP
POST /DNSTaskService/deleteDNSTask
输入对象:DeleteDNSTaskRequest:
输出对象:RPCSuccess:
{ }
删除所有同步任务
admin
RPC
deleteAllDNSTasks (DeleteAllDNSTasksRequest) returns (RPCSuccess)
HTTP
POST /DNSTaskService/deleteAllDNSTasks
输入对象:DeleteAllDNSTasksRequest:
{ }
输出对象:RPCSuccess:
{ }