public static interface WatchtowerClientGrpc.AsyncService
WatchtowerClient is a service that grants access to the watchtower client functionality of the daemon.
Modifier and Type | Method and Description |
---|---|
default void |
addTower(Wtclient.AddTowerRequest request,
io.grpc.stub.StreamObserver<Wtclient.AddTowerResponse> responseObserver)
AddTower adds a new watchtower reachable at the given address and
considers it for new sessions.
|
default void |
getTowerInfo(Wtclient.GetTowerInfoRequest request,
io.grpc.stub.StreamObserver<Wtclient.Tower> responseObserver)
GetTowerInfo retrieves information for a registered watchtower.
|
default void |
listTowers(Wtclient.ListTowersRequest request,
io.grpc.stub.StreamObserver<Wtclient.ListTowersResponse> responseObserver)
ListTowers returns the list of watchtowers registered with the client.
|
default void |
policy(Wtclient.PolicyRequest request,
io.grpc.stub.StreamObserver<Wtclient.PolicyResponse> responseObserver)
Policy returns the active watchtower client policy configuration.
|
default void |
removeTower(Wtclient.RemoveTowerRequest request,
io.grpc.stub.StreamObserver<Wtclient.RemoveTowerResponse> responseObserver)
RemoveTower removes a watchtower from being considered for future session
negotiations and from being used for any subsequent backups until it's added
again.
|
default void |
stats(Wtclient.StatsRequest request,
io.grpc.stub.StreamObserver<Wtclient.StatsResponse> responseObserver)
Stats returns the in-memory statistics of the client since startup.
|
default void addTower(Wtclient.AddTowerRequest request, io.grpc.stub.StreamObserver<Wtclient.AddTowerResponse> responseObserver)
AddTower adds a new watchtower reachable at the given address and considers it for new sessions. If the watchtower already exists, then any new addresses included will be considered when dialing it for session negotiations and backups.
default void removeTower(Wtclient.RemoveTowerRequest request, io.grpc.stub.StreamObserver<Wtclient.RemoveTowerResponse> responseObserver)
RemoveTower removes a watchtower from being considered for future session negotiations and from being used for any subsequent backups until it's added again. If an address is provided, then this RPC only serves as a way of removing the address from the watchtower instead.
default void listTowers(Wtclient.ListTowersRequest request, io.grpc.stub.StreamObserver<Wtclient.ListTowersResponse> responseObserver)
ListTowers returns the list of watchtowers registered with the client.
default void getTowerInfo(Wtclient.GetTowerInfoRequest request, io.grpc.stub.StreamObserver<Wtclient.Tower> responseObserver)
GetTowerInfo retrieves information for a registered watchtower.
default void stats(Wtclient.StatsRequest request, io.grpc.stub.StreamObserver<Wtclient.StatsResponse> responseObserver)
Stats returns the in-memory statistics of the client since startup.
default void policy(Wtclient.PolicyRequest request, io.grpc.stub.StreamObserver<Wtclient.PolicyResponse> responseObserver)
Policy returns the active watchtower client policy configuration.