Package xyz.block.ftl.admin.v1
Class AdminServiceGrpc.AdminServiceBlockingStub
-
- All Implemented Interfaces:
public final class AdminServiceGrpc.AdminServiceBlockingStub extends AbstractBlockingStub<S>A stub to allow clients to do synchronous 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 PingResponseping(PingRequest request)ConfigListResponseconfigList(ConfigListRequest request)List configuration.ConfigGetResponseconfigGet(ConfigGetRequest request)Get a config value.ConfigSetResponseconfigSet(ConfigSetRequest request)Set a config value.ConfigUnsetResponseconfigUnset(ConfigUnsetRequest request)Unset a config value.SecretsListResponsesecretsList(SecretsListRequest request)List secrets.SecretGetResponsesecretGet(SecretGetRequest request)Get a secret.SecretSetResponsesecretSet(SecretSetRequest request)Set a secret.SecretUnsetResponsesecretUnset(SecretUnsetRequest request)Unset a secret.MapConfigsForModuleResponsemapConfigsForModule(MapConfigsForModuleRequest request)MapForModule combines all configuration values visible to the module. Local values take precedence.MapSecretsForModuleResponsemapSecretsForModule(MapSecretsForModuleRequest request)MapSecretsForModule combines all secrets visible to the module. Local values take precedence.ResetSubscriptionResponseresetSubscription(ResetSubscriptionRequest request)Reset the offset for a subscription to the latest of each partition.Iterator<ApplyChangesetResponse>applyChangeset(ApplyChangesetRequest request)Creates and applies a changeset, returning the result This blocks until the changeset has completedUpdateDeploymentRuntimeResponseupdateDeploymentRuntime(UpdateDeploymentRuntimeRequest request)Updates a runtime deploymentGetSchemaResponsegetSchema(GetSchemaRequest request)Get the full schema.Iterator<PullSchemaResponse>pullSchema(PullSchemaRequest request)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.RollbackChangesetResponserollbackChangeset(RollbackChangesetRequest request)RollbackChangeset Rolls back a failing changesetFailChangesetResponsefailChangeset(FailChangesetRequest request)FailChangeset fails an active changeset.ClusterInfoResponseclusterInfo(ClusterInfoRequest request)GetArtefactDiffsResponsegetArtefactDiffs(GetArtefactDiffsRequest request)Get list of artefacts that differ between the server and client.Iterator<GetDeploymentArtefactsResponse>getDeploymentArtefacts(GetDeploymentArtefactsRequest request)Stream deployment artefacts from the server. Each artefact is streamed one after the other as a sequence of max 1MB chunks.Iterator<StreamLogsResponse>streamLogs(StreamLogsRequest request)GetTopicInfoResponsegetTopicInfo(GetTopicInfoRequest request)Get information about the state of pubsub topics.GetSubscriptionInfoResponsegetSubscriptionInfo(GetSubscriptionInfoRequest request)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.AbstractBlockingStub
newStub -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ping
PingResponse ping(PingRequest request)
-
configList
ConfigListResponse configList(ConfigListRequest request)
List configuration.
-
configGet
ConfigGetResponse configGet(ConfigGetRequest request)
Get a config value.
-
configSet
ConfigSetResponse configSet(ConfigSetRequest request)
Set a config value.
-
configUnset
ConfigUnsetResponse configUnset(ConfigUnsetRequest request)
Unset a config value.
-
secretsList
SecretsListResponse secretsList(SecretsListRequest request)
List secrets.
-
secretGet
SecretGetResponse secretGet(SecretGetRequest request)
Get a secret.
-
secretSet
SecretSetResponse secretSet(SecretSetRequest request)
Set a secret.
-
secretUnset
SecretUnsetResponse secretUnset(SecretUnsetRequest request)
Unset a secret.
-
mapConfigsForModule
MapConfigsForModuleResponse mapConfigsForModule(MapConfigsForModuleRequest request)
MapForModule combines all configuration values visible to the module. Local values take precedence.
-
mapSecretsForModule
MapSecretsForModuleResponse mapSecretsForModule(MapSecretsForModuleRequest request)
MapSecretsForModule combines all secrets visible to the module. Local values take precedence.
-
resetSubscription
ResetSubscriptionResponse resetSubscription(ResetSubscriptionRequest request)
Reset the offset for a subscription to the latest of each partition.
-
applyChangeset
Iterator<ApplyChangesetResponse> applyChangeset(ApplyChangesetRequest request)
Creates and applies a changeset, returning the result This blocks until the changeset has completed
-
updateDeploymentRuntime
UpdateDeploymentRuntimeResponse updateDeploymentRuntime(UpdateDeploymentRuntimeRequest request)
Updates a runtime deployment
-
getSchema
GetSchemaResponse getSchema(GetSchemaRequest request)
Get the full schema.
-
pullSchema
Iterator<PullSchemaResponse> pullSchema(PullSchemaRequest request)
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
RollbackChangesetResponse rollbackChangeset(RollbackChangesetRequest request)
RollbackChangeset Rolls back a failing changeset
-
failChangeset
FailChangesetResponse failChangeset(FailChangesetRequest request)
FailChangeset fails an active changeset.
-
clusterInfo
ClusterInfoResponse clusterInfo(ClusterInfoRequest request)
-
getArtefactDiffs
GetArtefactDiffsResponse getArtefactDiffs(GetArtefactDiffsRequest request)
Get list of artefacts that differ between the server and client.
-
getDeploymentArtefacts
Iterator<GetDeploymentArtefactsResponse> getDeploymentArtefacts(GetDeploymentArtefactsRequest request)
Stream deployment artefacts from the server. Each artefact is streamed one after the other as a sequence of max 1MB chunks.
-
streamLogs
Iterator<StreamLogsResponse> streamLogs(StreamLogsRequest request)
-
getTopicInfo
GetTopicInfoResponse getTopicInfo(GetTopicInfoRequest request)
Get information about the state of pubsub topics.
-
getSubscriptionInfo
GetSubscriptionInfoResponse getSubscriptionInfo(GetSubscriptionInfoRequest request)
Get information about the state of pubsub subscriptions.
-
-
-
-