pluginsv1rpc

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL