Package xyz.block.ftl.v1
Class ControllerServiceGrpc.ControllerServiceStub
-
- All Implemented Interfaces:
public final class ControllerServiceGrpc.ControllerServiceStub extends AbstractAsyncStub<S>A stub to allow clients to do asynchronous rpc calls to service ControllerService.
-
-
Field Summary
Fields Modifier and Type Field Description public final Channelchannelpublic final CallOptionscallOptions
-
Method Summary
Modifier and Type Method Description voidping(PingRequest request, StreamObserver<PingResponse> responseObserver)Ping service for readiness.voidprocessList(ProcessListRequest request, StreamObserver<ProcessListResponse> responseObserver)List "processes" running on the cluster.voidstatus(StatusRequest request, StreamObserver<StatusResponse> responseObserver)voidgetArtefactDiffs(GetArtefactDiffsRequest request, StreamObserver<GetArtefactDiffsResponse> responseObserver)Get list of artefacts that differ between the server and client.voiduploadArtefact(UploadArtefactRequest request, StreamObserver<UploadArtefactResponse> responseObserver)Upload an artefact to the server.voidcreateDeployment(CreateDeploymentRequest request, StreamObserver<CreateDeploymentResponse> responseObserver)Create a deployment.voidgetDeployment(GetDeploymentRequest request, StreamObserver<GetDeploymentResponse> responseObserver)Get the schema and artefact metadata for a deployment.voidgetDeploymentArtefacts(GetDeploymentArtefactsRequest request, StreamObserver<GetDeploymentArtefactsResponse> responseObserver)Stream deployment artefacts from the server. Each artefact is streamed one after the other as a sequence of max 1MB chunks.StreamObserver<RegisterRunnerRequest>registerRunner(StreamObserver<RegisterRunnerResponse> responseObserver)Register a Runner with the Controller. Each runner issue a RegisterRunnerRequest to the ControllerService every 10 seconds to maintain its heartbeat.voidupdateDeploy(UpdateDeployRequest request, StreamObserver<UpdateDeployResponse> responseObserver)Update an existing deployment.voidreplaceDeploy(ReplaceDeployRequest request, StreamObserver<ReplaceDeployResponse> responseObserver)Gradually replace an existing deployment with a new one. If a deployment already exists for the module of the new deployment, it will be scaled down and replaced by the new one.StreamObserver<StreamDeploymentLogsRequest>streamDeploymentLogs(StreamObserver<StreamDeploymentLogsResponse> responseObserver)Stream logs from a deploymentvoidgetSchema(GetSchemaRequest request, StreamObserver<GetSchemaResponse> responseObserver)Get the full schema.voidpullSchema(PullSchemaRequest request, StreamObserver<PullSchemaResponse> responseObserver)Pull schema changes from the Controller. Note that if there are no deployments this will block indefinitely, making it unsuitable for just retrieving the schema. Use GetSchema for that.voidresetSubscription(ResetSubscriptionRequest request, StreamObserver<ResetSubscriptionResponse> responseObserver)Reset the cursor for a subscription to the head of its topic.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady -
Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ping
void ping(PingRequest request, StreamObserver<PingResponse> responseObserver)
Ping service for readiness.
-
processList
void processList(ProcessListRequest request, StreamObserver<ProcessListResponse> responseObserver)
List "processes" running on the cluster.
-
status
void status(StatusRequest request, StreamObserver<StatusResponse> responseObserver)
-
getArtefactDiffs
void getArtefactDiffs(GetArtefactDiffsRequest request, StreamObserver<GetArtefactDiffsResponse> responseObserver)
Get list of artefacts that differ between the server and client.
-
uploadArtefact
void uploadArtefact(UploadArtefactRequest request, StreamObserver<UploadArtefactResponse> responseObserver)
Upload an artefact to the server.
-
createDeployment
void createDeployment(CreateDeploymentRequest request, StreamObserver<CreateDeploymentResponse> responseObserver)
Create a deployment.
-
getDeployment
void getDeployment(GetDeploymentRequest request, StreamObserver<GetDeploymentResponse> responseObserver)
Get the schema and artefact metadata for a deployment.
-
getDeploymentArtefacts
void getDeploymentArtefacts(GetDeploymentArtefactsRequest request, StreamObserver<GetDeploymentArtefactsResponse> responseObserver)
Stream deployment artefacts from the server. Each artefact is streamed one after the other as a sequence of max 1MB chunks.
-
registerRunner
StreamObserver<RegisterRunnerRequest> registerRunner(StreamObserver<RegisterRunnerResponse> responseObserver)
Register a Runner with the Controller. Each runner issue a RegisterRunnerRequest to the ControllerService every 10 seconds to maintain its heartbeat.
-
updateDeploy
void updateDeploy(UpdateDeployRequest request, StreamObserver<UpdateDeployResponse> responseObserver)
Update an existing deployment.
-
replaceDeploy
void replaceDeploy(ReplaceDeployRequest request, StreamObserver<ReplaceDeployResponse> responseObserver)
Gradually replace an existing deployment with a new one. If a deployment already exists for the module of the new deployment, it will be scaled down and replaced by the new one.
-
streamDeploymentLogs
StreamObserver<StreamDeploymentLogsRequest> streamDeploymentLogs(StreamObserver<StreamDeploymentLogsResponse> responseObserver)
Stream logs from a deployment
-
getSchema
void getSchema(GetSchemaRequest request, StreamObserver<GetSchemaResponse> responseObserver)
Get the full schema.
-
pullSchema
void pullSchema(PullSchemaRequest request, StreamObserver<PullSchemaResponse> responseObserver)
Pull schema changes from the Controller. Note that if there are no deployments this will block indefinitely, making it unsuitable for just retrieving the schema. Use GetSchema for that.
-
resetSubscription
void resetSubscription(ResetSubscriptionRequest request, StreamObserver<ResetSubscriptionResponse> responseObserver)
Reset the cursor for a subscription to the head of its topic.
-
-
-
-