Documentation
¶
Index ¶
- Variables
- func RegisterPluginManagerServer(s *grpc.Server, srv PluginManagerServer)
- type GetPluginRequest
- type GetPluginResponse
- func (*GetPluginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPluginResponse) GetAddr() *NetAddr
- func (x *GetPluginResponse) GetPid() int64
- func (x *GetPluginResponse) GetProtocol() string
- func (x *GetPluginResponse) GetProtocolVersion() int64
- func (*GetPluginResponse) ProtoMessage()
- func (x *GetPluginResponse) ProtoReflect() protoreflect.Message
- func (x *GetPluginResponse) Reset()
- func (x *GetPluginResponse) String() string
- type NetAddr
- type PluginManagerClient
- type PluginManagerServer
- type UnimplementedPluginManagerServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_plugin_manager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPluginManagerServer ¶
func RegisterPluginManagerServer(s *grpc.Server, srv PluginManagerServer)
Types ¶
type GetPluginRequest ¶
type GetPluginRequest struct { Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` // contains filtered or unexported fields }
func (*GetPluginRequest) Descriptor
deprecated
func (*GetPluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPluginRequest.ProtoReflect.Descriptor instead.
func (*GetPluginRequest) GetConnection ¶
func (x *GetPluginRequest) GetConnection() string
func (*GetPluginRequest) ProtoMessage ¶
func (*GetPluginRequest) ProtoMessage()
func (*GetPluginRequest) ProtoReflect ¶
func (x *GetPluginRequest) ProtoReflect() protoreflect.Message
func (*GetPluginRequest) Reset ¶
func (x *GetPluginRequest) Reset()
func (*GetPluginRequest) String ¶
func (x *GetPluginRequest) String() string
type GetPluginResponse ¶
type GetPluginResponse struct { Protocol string `protobuf:"bytes,1,opt,name=Protocol,proto3" json:"Protocol,omitempty"` ProtocolVersion int64 `protobuf:"varint,2,opt,name=ProtocolVersion,proto3" json:"ProtocolVersion,omitempty"` Addr *NetAddr `protobuf:"bytes,3,opt,name=Addr,proto3" json:"Addr,omitempty"` Pid int64 `protobuf:"varint,4,opt,name=Pid,proto3" json:"Pid,omitempty"` // contains filtered or unexported fields }
func (*GetPluginResponse) Descriptor
deprecated
func (*GetPluginResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPluginResponse.ProtoReflect.Descriptor instead.
func (*GetPluginResponse) GetAddr ¶
func (x *GetPluginResponse) GetAddr() *NetAddr
func (*GetPluginResponse) GetPid ¶
func (x *GetPluginResponse) GetPid() int64
func (*GetPluginResponse) GetProtocol ¶
func (x *GetPluginResponse) GetProtocol() string
func (*GetPluginResponse) GetProtocolVersion ¶
func (x *GetPluginResponse) GetProtocolVersion() int64
func (*GetPluginResponse) ProtoMessage ¶
func (*GetPluginResponse) ProtoMessage()
func (*GetPluginResponse) ProtoReflect ¶
func (x *GetPluginResponse) ProtoReflect() protoreflect.Message
func (*GetPluginResponse) Reset ¶
func (x *GetPluginResponse) Reset()
func (*GetPluginResponse) String ¶
func (x *GetPluginResponse) String() string
type NetAddr ¶
type NetAddr struct { Network string `protobuf:"bytes,1,opt,name=Network,proto3" json:"Network,omitempty"` // name of the network (for example, "tcp", "udp") Address string `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"` // string form of address (for example, "192.0.2.1:25", "[2001:db8::1]:80") // contains filtered or unexported fields }
func (*NetAddr) Descriptor
deprecated
func (*NetAddr) GetAddress ¶
func (*NetAddr) GetNetwork ¶
func (*NetAddr) ProtoMessage ¶
func (*NetAddr) ProtoMessage()
func (*NetAddr) ProtoReflect ¶
func (x *NetAddr) ProtoReflect() protoreflect.Message
type PluginManagerClient ¶
type PluginManagerClient interface {
GetPlugin(ctx context.Context, in *GetPluginRequest, opts ...grpc.CallOption) (*GetPluginResponse, error)
}
PluginManagerClient is the client API for PluginManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPluginManagerClient ¶
func NewPluginManagerClient(cc grpc.ClientConnInterface) PluginManagerClient
type PluginManagerServer ¶
type PluginManagerServer interface {
GetPlugin(context.Context, *GetPluginRequest) (*GetPluginResponse, error)
}
PluginManagerServer is the server API for PluginManager service.
type UnimplementedPluginManagerServer ¶
type UnimplementedPluginManagerServer struct { }
UnimplementedPluginManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedPluginManagerServer) GetPlugin ¶
func (*UnimplementedPluginManagerServer) GetPlugin(context.Context, *GetPluginRequest) (*GetPluginResponse, error)
Click to show internal directories.
Click to hide internal directories.