Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PluginManagementServiceListPluginsProcedure is the fully-qualified name of the PluginManagementService's ListPlugins RPC. PluginManagementServiceListPluginsProcedure = "/plugins.v1.PluginManagementService/ListPlugins" // PluginManagementServiceEnablePluginProcedure is the fully-qualified name of the PluginManagementService's EnablePlugin RPC. PluginManagementServiceEnablePluginProcedure = "/plugins.v1.PluginManagementService/EnablePlugin" // PluginManagementServiceDisablePluginProcedure is the fully-qualified name of the PluginManagementService's DisablePlugin RPC. PluginManagementServiceDisablePluginProcedure = "/plugins.v1.PluginManagementService/DisablePlugin" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginManagementServiceClient ¶
type PluginManagementServiceClient interface {
// ListPlugins returns all plugins registered with the engine.
ListPlugins(context.Context, *v1.ListPluginsRequest) (*v1.ListPluginsResponse, error)
// EnablePlugin enables a plugin by name.
EnablePlugin(context.Context, *v1.EnablePluginRequest) (*v1.EnablePluginResponse, error)
// DisablePlugin disables a plugin by name.
DisablePlugin(context.Context, *v1.DisablePluginRequest) (*v1.DisablePluginResponse, error)
}
PluginManagementServiceClient is a client for the plugins.v1.PluginManagementService service.
func NewPluginManagementServiceClient ¶
func NewPluginManagementServiceClient(call func(ctx context.Context, procedure string, req, res proto.Message) error) PluginManagementServiceClient
NewPluginManagementServiceClient constructs a client for the plugins.v1.PluginManagementService service that sends each request through call.
Click to show internal directories.
Click to hide internal directories.