infov1grpc

package
v1.5.1-20241031151143-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginInfoService_GetPluginInfo_FullMethodName = "/buf.plugin.info.v1.PluginInfoService/GetPluginInfo"
)

Variables

View Source
var PluginInfoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.plugin.info.v1.PluginInfoService",
	HandlerType: (*PluginInfoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPluginInfo",
			Handler:    _PluginInfoService_GetPluginInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/plugin/info/v1/plugin_info_service.proto",
}

PluginInfoService_ServiceDesc is the grpc.ServiceDesc for PluginInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPluginInfoServiceServer

func RegisterPluginInfoServiceServer(s grpc.ServiceRegistrar, srv PluginInfoServiceServer)

Types

type PluginInfoServiceClient

type PluginInfoServiceClient interface {
	// GetPluginInfo gets information about the plugin.
	GetPluginInfo(ctx context.Context, in *v1.GetPluginInfoRequest, opts ...grpc.CallOption) (*v1.GetPluginInfoResponse, error)
}

PluginInfoServiceClient is the client API for PluginInfoService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

The service that returns information about the plugin.

func NewPluginInfoServiceClient

func NewPluginInfoServiceClient(cc grpc.ClientConnInterface) PluginInfoServiceClient

type PluginInfoServiceServer

type PluginInfoServiceServer interface {
	// GetPluginInfo gets information about the plugin.
	GetPluginInfo(context.Context, *v1.GetPluginInfoRequest) (*v1.GetPluginInfoResponse, error)
}

PluginInfoServiceServer is the server API for PluginInfoService service. All implementations should embed UnimplementedPluginInfoServiceServer for forward compatibility.

The service that returns information about the plugin.

type UnimplementedPluginInfoServiceServer

type UnimplementedPluginInfoServiceServer struct{}

UnimplementedPluginInfoServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPluginInfoServiceServer) GetPluginInfo

type UnsafePluginInfoServiceServer

type UnsafePluginInfoServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePluginInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginInfoServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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