Interface ApiHubPluginGrpc.AsyncService (0.1.0)

public static interface ApiHubPluginGrpc.AsyncService

This service is used for managing plugins inside the API Hub.

Methods

disablePlugin(DisablePluginRequest request, StreamObserver<Plugin> responseObserver)

public default void disablePlugin(DisablePluginRequest request, StreamObserver<Plugin> responseObserver)

Disables a plugin. The state of the plugin after disabling is DISABLED

Parameters
Name Description
request DisablePluginRequest
responseObserver io.grpc.stub.StreamObserver<Plugin>

enablePlugin(EnablePluginRequest request, StreamObserver<Plugin> responseObserver)

public default void enablePlugin(EnablePluginRequest request, StreamObserver<Plugin> responseObserver)

Enables a plugin. The state of the plugin after enabling is ENABLED

Parameters
Name Description
request EnablePluginRequest
responseObserver io.grpc.stub.StreamObserver<Plugin>

getPlugin(GetPluginRequest request, StreamObserver<Plugin> responseObserver)

public default void getPlugin(GetPluginRequest request, StreamObserver<Plugin> responseObserver)

Get details about an API Hub plugin.

Parameters
Name Description
request GetPluginRequest
responseObserver io.grpc.stub.StreamObserver<Plugin>