Package xyz.block.ftl.admin.v1
Class AdminServiceGrpc.AdminServiceStub
-
- All Implemented Interfaces:
public final class AdminServiceGrpc.AdminServiceStub extends AbstractAsyncStub<S>A stub to allow clients to do asynchronous rpc calls to service AdminService.
AdminService is the service that provides and updates admin data. For example, it is used to encapsulate configuration and secrets.
-
-
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)voidconfigList(ConfigListRequest request, StreamObserver<ConfigListResponse> responseObserver)List configuration.voidconfigGet(ConfigGetRequest request, StreamObserver<ConfigGetResponse> responseObserver)Get a config value.voidconfigSet(ConfigSetRequest request, StreamObserver<ConfigSetResponse> responseObserver)Set a config value.voidconfigUnset(ConfigUnsetRequest request, StreamObserver<ConfigUnsetResponse> responseObserver)Unset a config value.voidsecretsList(SecretsListRequest request, StreamObserver<SecretsListResponse> responseObserver)List secrets.voidsecretGet(SecretGetRequest request, StreamObserver<SecretGetResponse> responseObserver)Get a secret.voidsecretSet(SecretSetRequest request, StreamObserver<SecretSetResponse> responseObserver)Set a secret.voidsecretUnset(SecretUnsetRequest request, StreamObserver<SecretUnsetResponse> responseObserver)Unset a secret.voidmapConfigsForModule(MapConfigsForModuleRequest request, StreamObserver<MapConfigsForModuleResponse> responseObserver)MapForModule combines all configuration values visible to the module. Local values take precedence.voidmapSecretsForModule(MapSecretsForModuleRequest request, StreamObserver<MapSecretsForModuleResponse> responseObserver)MapSecretsForModule combines all secrets visible to the module. Local values take precedence.voidresetSubscription(ResetSubscriptionRequest request, StreamObserver<ResetSubscriptionResponse> responseObserver)Reset the offset for a subscription to the latest of each partition.voidapplyChangeset(ApplyChangesetRequest request, StreamObserver<ApplyChangesetResponse> responseObserver)Creates and applies a changeset, returning the result This blocks until the changeset has completedvoidupdateDeploymentRuntime(UpdateDeploymentRuntimeRequest request, StreamObserver<UpdateDeploymentRuntimeResponse> responseObserver)Updates a runtime deploymentvoidgetSchema(GetSchemaRequest request, StreamObserver<GetSchemaResponse> responseObserver)Get the full schema.voidpullSchema(PullSchemaRequest request, StreamObserver<PullSchemaResponse> responseObserver)Pull schema changes from the Schema Service. Note that if there are no deployments this will block indefinitely, making it unsuitable for just retrieving the schema. Use GetSchema for that.voidrollbackChangeset(RollbackChangesetRequest request, StreamObserver<RollbackChangesetResponse> responseObserver)RollbackChangeset Rolls back a failing changesetvoidfailChangeset(FailChangesetRequest request, StreamObserver<FailChangesetResponse> responseObserver)FailChangeset fails an active changeset.voidclusterInfo(ClusterInfoRequest request, StreamObserver<ClusterInfoResponse> responseObserver)voidgetArtefactDiffs(GetArtefactDiffsRequest request, StreamObserver<GetArtefactDiffsResponse> responseObserver)Get list of artefacts that differ between the server and client.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<UploadArtefactRequest>uploadArtefact(StreamObserver<UploadArtefactResponse> responseObserver)Upload an artefact to the server.voidstreamLogs(StreamLogsRequest request, StreamObserver<StreamLogsResponse> responseObserver)voidgetTopicInfo(GetTopicInfoRequest request, StreamObserver<GetTopicInfoResponse> responseObserver)Get information about the state of pubsub topics.voidgetSubscriptionInfo(GetSubscriptionInfoRequest request, StreamObserver<GetSubscriptionInfoResponse> responseObserver)Get information about the state of pubsub subscriptions.-
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)
-
configList
void configList(ConfigListRequest request, StreamObserver<ConfigListResponse> responseObserver)
List configuration.
-
configGet
void configGet(ConfigGetRequest request, StreamObserver<ConfigGetResponse> responseObserver)
Get a config value.
-
configSet
void configSet(ConfigSetRequest request, StreamObserver<ConfigSetResponse> responseObserver)
Set a config value.
-
configUnset
void configUnset(ConfigUnsetRequest request, StreamObserver<ConfigUnsetResponse> responseObserver)
Unset a config value.
-
secretsList
void secretsList(SecretsListRequest request, StreamObserver<SecretsListResponse> responseObserver)
List secrets.
-
secretGet
void secretGet(SecretGetRequest request, StreamObserver<SecretGetResponse> responseObserver)
Get a secret.
-
secretSet
void secretSet(SecretSetRequest request, StreamObserver<SecretSetResponse> responseObserver)
Set a secret.
-
secretUnset
void secretUnset(SecretUnsetRequest request, StreamObserver<SecretUnsetResponse> responseObserver)
Unset a secret.
-
mapConfigsForModule
void mapConfigsForModule(MapConfigsForModuleRequest request, StreamObserver<MapConfigsForModuleResponse> responseObserver)
MapForModule combines all configuration values visible to the module. Local values take precedence.
-
mapSecretsForModule
void mapSecretsForModule(MapSecretsForModuleRequest request, StreamObserver<MapSecretsForModuleResponse> responseObserver)
MapSecretsForModule combines all secrets visible to the module. Local values take precedence.
-
resetSubscription
void resetSubscription(ResetSubscriptionRequest request, StreamObserver<ResetSubscriptionResponse> responseObserver)
Reset the offset for a subscription to the latest of each partition.
-
applyChangeset
void applyChangeset(ApplyChangesetRequest request, StreamObserver<ApplyChangesetResponse> responseObserver)
Creates and applies a changeset, returning the result This blocks until the changeset has completed
-
updateDeploymentRuntime
void updateDeploymentRuntime(UpdateDeploymentRuntimeRequest request, StreamObserver<UpdateDeploymentRuntimeResponse> responseObserver)
Updates a runtime 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 Schema Service. Note that if there are no deployments this will block indefinitely, making it unsuitable for just retrieving the schema. Use GetSchema for that.
-
rollbackChangeset
void rollbackChangeset(RollbackChangesetRequest request, StreamObserver<RollbackChangesetResponse> responseObserver)
RollbackChangeset Rolls back a failing changeset
-
failChangeset
void failChangeset(FailChangesetRequest request, StreamObserver<FailChangesetResponse> responseObserver)
FailChangeset fails an active changeset.
-
clusterInfo
void clusterInfo(ClusterInfoRequest request, StreamObserver<ClusterInfoResponse> responseObserver)
-
getArtefactDiffs
void getArtefactDiffs(GetArtefactDiffsRequest request, StreamObserver<GetArtefactDiffsResponse> responseObserver)
Get list of artefacts that differ between the server and client.
-
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.
-
uploadArtefact
StreamObserver<UploadArtefactRequest> uploadArtefact(StreamObserver<UploadArtefactResponse> responseObserver)
Upload an artefact to the server.
-
streamLogs
void streamLogs(StreamLogsRequest request, StreamObserver<StreamLogsResponse> responseObserver)
-
getTopicInfo
void getTopicInfo(GetTopicInfoRequest request, StreamObserver<GetTopicInfoResponse> responseObserver)
Get information about the state of pubsub topics.
-
getSubscriptionInfo
void getSubscriptionInfo(GetSubscriptionInfoRequest request, StreamObserver<GetSubscriptionInfoResponse> responseObserver)
Get information about the state of pubsub subscriptions.
-
-
-
-