Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRelayerSetServer(s grpc.ServiceRegistrar, srv RelayerSetServer)
- type GetRelayerRequest
- type GetRelayerResponse
- func (*GetRelayerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRelayerResponse) GetId() *RelayerId
- func (*GetRelayerResponse) ProtoMessage()
- func (x *GetRelayerResponse) ProtoReflect() protoreflect.Message
- func (x *GetRelayerResponse) Reset()
- func (x *GetRelayerResponse) String() string
- type LatestHeadRequest
- func (*LatestHeadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LatestHeadRequest) GetRelayerId() *RelayerId
- func (*LatestHeadRequest) ProtoMessage()
- func (x *LatestHeadRequest) ProtoReflect() protoreflect.Message
- func (x *LatestHeadRequest) Reset()
- func (x *LatestHeadRequest) String() string
- type LatestHeadResponse
- func (*LatestHeadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LatestHeadResponse) GetHash() []byte
- func (x *LatestHeadResponse) GetHeight() string
- func (x *LatestHeadResponse) GetTimestamp() uint64
- func (*LatestHeadResponse) ProtoMessage()
- func (x *LatestHeadResponse) ProtoReflect() protoreflect.Message
- func (x *LatestHeadResponse) Reset()
- func (x *LatestHeadResponse) String() string
- type ListAllRelayersRequest
- func (*ListAllRelayersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllRelayersRequest) GetIds() []*RelayerId
- func (*ListAllRelayersRequest) ProtoMessage()
- func (x *ListAllRelayersRequest) ProtoReflect() protoreflect.Message
- func (x *ListAllRelayersRequest) Reset()
- func (x *ListAllRelayersRequest) String() string
- type ListAllRelayersResponse
- func (*ListAllRelayersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllRelayersResponse) GetIds() []*RelayerId
- func (*ListAllRelayersResponse) ProtoMessage()
- func (x *ListAllRelayersResponse) ProtoReflect() protoreflect.Message
- func (x *ListAllRelayersResponse) Reset()
- func (x *ListAllRelayersResponse) String() string
- type MercuryCredentials
- func (*MercuryCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *MercuryCredentials) GetLegacyUrl() string
- func (x *MercuryCredentials) GetPassword() string
- func (x *MercuryCredentials) GetUrl() string
- func (x *MercuryCredentials) GetUsername() string
- func (*MercuryCredentials) ProtoMessage()
- func (x *MercuryCredentials) ProtoReflect() protoreflect.Message
- func (x *MercuryCredentials) Reset()
- func (x *MercuryCredentials) String() string
- type NewChainWriterRequest
- func (*NewChainWriterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewChainWriterRequest) GetChainWriterConfig() []byte
- func (x *NewChainWriterRequest) GetRelayerId() *RelayerId
- func (*NewChainWriterRequest) ProtoMessage()
- func (x *NewChainWriterRequest) ProtoReflect() protoreflect.Message
- func (x *NewChainWriterRequest) Reset()
- func (x *NewChainWriterRequest) String() string
- type NewChainWriterResponse
- func (*NewChainWriterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewChainWriterResponse) GetChainWriterId() uint32
- func (*NewChainWriterResponse) ProtoMessage()
- func (x *NewChainWriterResponse) ProtoReflect() protoreflect.Message
- func (x *NewChainWriterResponse) Reset()
- func (x *NewChainWriterResponse) String() string
- type NewContractReaderRequest
- func (*NewContractReaderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewContractReaderRequest) GetContractReaderConfig() []byte
- func (x *NewContractReaderRequest) GetRelayerId() *RelayerId
- func (*NewContractReaderRequest) ProtoMessage()
- func (x *NewContractReaderRequest) ProtoReflect() protoreflect.Message
- func (x *NewContractReaderRequest) Reset()
- func (x *NewContractReaderRequest) String() string
- type NewContractReaderResponse
- func (*NewContractReaderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewContractReaderResponse) GetContractReaderId() uint32
- func (*NewContractReaderResponse) ProtoMessage()
- func (x *NewContractReaderResponse) ProtoReflect() protoreflect.Message
- func (x *NewContractReaderResponse) Reset()
- func (x *NewContractReaderResponse) String() string
- type NewPluginProviderRequest
- func (*NewPluginProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewPluginProviderRequest) GetPluginArgs() *PluginArgs
- func (x *NewPluginProviderRequest) GetRelayArgs() *RelayArgs
- func (x *NewPluginProviderRequest) GetRelayerId() *RelayerId
- func (*NewPluginProviderRequest) ProtoMessage()
- func (x *NewPluginProviderRequest) ProtoReflect() protoreflect.Message
- func (x *NewPluginProviderRequest) Reset()
- func (x *NewPluginProviderRequest) String() string
- type NewPluginProviderResponse
- func (*NewPluginProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewPluginProviderResponse) GetPluginProviderId() uint32
- func (*NewPluginProviderResponse) ProtoMessage()
- func (x *NewPluginProviderResponse) ProtoReflect() protoreflect.Message
- func (x *NewPluginProviderResponse) Reset()
- func (x *NewPluginProviderResponse) String() string
- type PluginArgs
- func (*PluginArgs) Descriptor() ([]byte, []int)deprecated
- func (x *PluginArgs) GetPluginConfig() []byte
- func (x *PluginArgs) GetTransmitterID() string
- func (*PluginArgs) ProtoMessage()
- func (x *PluginArgs) ProtoReflect() protoreflect.Message
- func (x *PluginArgs) Reset()
- func (x *PluginArgs) String() string
- type RelayArgs
- func (*RelayArgs) Descriptor() ([]byte, []int)deprecated
- func (x *RelayArgs) GetContractID() string
- func (x *RelayArgs) GetMercuryCredentials() *MercuryCredentials
- func (x *RelayArgs) GetProviderType() string
- func (x *RelayArgs) GetRelayConfig() []byte
- func (*RelayArgs) ProtoMessage()
- func (x *RelayArgs) ProtoReflect() protoreflect.Message
- func (x *RelayArgs) Reset()
- func (x *RelayArgs) String() string
- type RelayerHealthReportResponse
- func (*RelayerHealthReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelayerHealthReportResponse) GetReport() map[string]string
- func (*RelayerHealthReportResponse) ProtoMessage()
- func (x *RelayerHealthReportResponse) ProtoReflect() protoreflect.Message
- func (x *RelayerHealthReportResponse) Reset()
- func (x *RelayerHealthReportResponse) String() string
- type RelayerId
- type RelayerNameResponse
- func (*RelayerNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelayerNameResponse) GetName() string
- func (*RelayerNameResponse) ProtoMessage()
- func (x *RelayerNameResponse) ProtoReflect() protoreflect.Message
- func (x *RelayerNameResponse) Reset()
- func (x *RelayerNameResponse) String() string
- type RelayerSetClient
- type RelayerSetServer
- type UnimplementedRelayerSetServer
- func (UnimplementedRelayerSetServer) CloseRelayer(context.Context, *RelayerId) (*emptypb.Empty, error)
- func (UnimplementedRelayerSetServer) Get(context.Context, *GetRelayerRequest) (*GetRelayerResponse, error)
- func (UnimplementedRelayerSetServer) List(context.Context, *ListAllRelayersRequest) (*ListAllRelayersResponse, error)
- func (UnimplementedRelayerSetServer) NewChainWriter(context.Context, *NewChainWriterRequest) (*NewChainWriterResponse, error)
- func (UnimplementedRelayerSetServer) NewContractReader(context.Context, *NewContractReaderRequest) (*NewContractReaderResponse, error)
- func (UnimplementedRelayerSetServer) NewPluginProvider(context.Context, *NewPluginProviderRequest) (*NewPluginProviderResponse, error)
- func (UnimplementedRelayerSetServer) RelayerHealthReport(context.Context, *RelayerId) (*RelayerHealthReportResponse, error)
- func (UnimplementedRelayerSetServer) RelayerLatestHead(context.Context, *LatestHeadRequest) (*LatestHeadResponse, error)
- func (UnimplementedRelayerSetServer) RelayerName(context.Context, *RelayerId) (*RelayerNameResponse, error)
- func (UnimplementedRelayerSetServer) RelayerReady(context.Context, *RelayerId) (*emptypb.Empty, error)
- func (UnimplementedRelayerSetServer) StartRelayer(context.Context, *RelayerId) (*emptypb.Empty, error)
- type UnsafeRelayerSetServer
Constants ¶
const ( RelayerSet_Get_FullMethodName = "/loop.relayerset.RelayerSet/Get" RelayerSet_List_FullMethodName = "/loop.relayerset.RelayerSet/List" RelayerSet_NewPluginProvider_FullMethodName = "/loop.relayerset.RelayerSet/NewPluginProvider" RelayerSet_NewContractReader_FullMethodName = "/loop.relayerset.RelayerSet/NewContractReader" RelayerSet_NewChainWriter_FullMethodName = "/loop.relayerset.RelayerSet/NewChainWriter" RelayerSet_StartRelayer_FullMethodName = "/loop.relayerset.RelayerSet/StartRelayer" RelayerSet_CloseRelayer_FullMethodName = "/loop.relayerset.RelayerSet/CloseRelayer" RelayerSet_RelayerReady_FullMethodName = "/loop.relayerset.RelayerSet/RelayerReady" RelayerSet_RelayerHealthReport_FullMethodName = "/loop.relayerset.RelayerSet/RelayerHealthReport" RelayerSet_RelayerName_FullMethodName = "/loop.relayerset.RelayerSet/RelayerName" RelayerSet_RelayerLatestHead_FullMethodName = "/loop.relayerset.RelayerSet/RelayerLatestHead" )
Variables ¶
var File_relayerset_proto protoreflect.FileDescriptor
var RelayerSet_ServiceDesc = grpc.ServiceDesc{ ServiceName: "loop.relayerset.RelayerSet", HandlerType: (*RelayerSetServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _RelayerSet_Get_Handler, }, { MethodName: "List", Handler: _RelayerSet_List_Handler, }, { MethodName: "NewPluginProvider", Handler: _RelayerSet_NewPluginProvider_Handler, }, { MethodName: "NewContractReader", Handler: _RelayerSet_NewContractReader_Handler, }, { MethodName: "NewChainWriter", Handler: _RelayerSet_NewChainWriter_Handler, }, { MethodName: "StartRelayer", Handler: _RelayerSet_StartRelayer_Handler, }, { MethodName: "CloseRelayer", Handler: _RelayerSet_CloseRelayer_Handler, }, { MethodName: "RelayerReady", Handler: _RelayerSet_RelayerReady_Handler, }, { MethodName: "RelayerHealthReport", Handler: _RelayerSet_RelayerHealthReport_Handler, }, { MethodName: "RelayerName", Handler: _RelayerSet_RelayerName_Handler, }, { MethodName: "RelayerLatestHead", Handler: _RelayerSet_RelayerLatestHead_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "relayerset.proto", }
RelayerSet_ServiceDesc is the grpc.ServiceDesc for RelayerSet service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRelayerSetServer ¶
func RegisterRelayerSetServer(s grpc.ServiceRegistrar, srv RelayerSetServer)
Types ¶
type GetRelayerRequest ¶
type GetRelayerRequest struct { Id *RelayerId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRelayerRequest) Descriptor
deprecated
func (*GetRelayerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRelayerRequest.ProtoReflect.Descriptor instead.
func (*GetRelayerRequest) GetId ¶
func (x *GetRelayerRequest) GetId() *RelayerId
func (*GetRelayerRequest) ProtoMessage ¶
func (*GetRelayerRequest) ProtoMessage()
func (*GetRelayerRequest) ProtoReflect ¶
func (x *GetRelayerRequest) ProtoReflect() protoreflect.Message
func (*GetRelayerRequest) Reset ¶
func (x *GetRelayerRequest) Reset()
func (*GetRelayerRequest) String ¶
func (x *GetRelayerRequest) String() string
type GetRelayerResponse ¶
type GetRelayerResponse struct { Id *RelayerId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRelayerResponse) Descriptor
deprecated
func (*GetRelayerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRelayerResponse.ProtoReflect.Descriptor instead.
func (*GetRelayerResponse) GetId ¶
func (x *GetRelayerResponse) GetId() *RelayerId
func (*GetRelayerResponse) ProtoMessage ¶
func (*GetRelayerResponse) ProtoMessage()
func (*GetRelayerResponse) ProtoReflect ¶
func (x *GetRelayerResponse) ProtoReflect() protoreflect.Message
func (*GetRelayerResponse) Reset ¶
func (x *GetRelayerResponse) Reset()
func (*GetRelayerResponse) String ¶
func (x *GetRelayerResponse) String() string
type LatestHeadRequest ¶
type LatestHeadRequest struct { RelayerId *RelayerId `protobuf:"bytes,1,opt,name=relayerId,proto3" json:"relayerId,omitempty"` // contains filtered or unexported fields }
func (*LatestHeadRequest) Descriptor
deprecated
func (*LatestHeadRequest) Descriptor() ([]byte, []int)
Deprecated: Use LatestHeadRequest.ProtoReflect.Descriptor instead.
func (*LatestHeadRequest) GetRelayerId ¶
func (x *LatestHeadRequest) GetRelayerId() *RelayerId
func (*LatestHeadRequest) ProtoMessage ¶
func (*LatestHeadRequest) ProtoMessage()
func (*LatestHeadRequest) ProtoReflect ¶
func (x *LatestHeadRequest) ProtoReflect() protoreflect.Message
func (*LatestHeadRequest) Reset ¶
func (x *LatestHeadRequest) Reset()
func (*LatestHeadRequest) String ¶
func (x *LatestHeadRequest) String() string
type LatestHeadResponse ¶
type LatestHeadResponse struct { Height string `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*LatestHeadResponse) Descriptor
deprecated
func (*LatestHeadResponse) Descriptor() ([]byte, []int)
Deprecated: Use LatestHeadResponse.ProtoReflect.Descriptor instead.
func (*LatestHeadResponse) GetHash ¶
func (x *LatestHeadResponse) GetHash() []byte
func (*LatestHeadResponse) GetHeight ¶
func (x *LatestHeadResponse) GetHeight() string
func (*LatestHeadResponse) GetTimestamp ¶
func (x *LatestHeadResponse) GetTimestamp() uint64
func (*LatestHeadResponse) ProtoMessage ¶
func (*LatestHeadResponse) ProtoMessage()
func (*LatestHeadResponse) ProtoReflect ¶
func (x *LatestHeadResponse) ProtoReflect() protoreflect.Message
func (*LatestHeadResponse) Reset ¶
func (x *LatestHeadResponse) Reset()
func (*LatestHeadResponse) String ¶
func (x *LatestHeadResponse) String() string
type ListAllRelayersRequest ¶
type ListAllRelayersRequest struct { Ids []*RelayerId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ListAllRelayersRequest) Descriptor
deprecated
func (*ListAllRelayersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllRelayersRequest.ProtoReflect.Descriptor instead.
func (*ListAllRelayersRequest) GetIds ¶
func (x *ListAllRelayersRequest) GetIds() []*RelayerId
func (*ListAllRelayersRequest) ProtoMessage ¶
func (*ListAllRelayersRequest) ProtoMessage()
func (*ListAllRelayersRequest) ProtoReflect ¶
func (x *ListAllRelayersRequest) ProtoReflect() protoreflect.Message
func (*ListAllRelayersRequest) Reset ¶
func (x *ListAllRelayersRequest) Reset()
func (*ListAllRelayersRequest) String ¶
func (x *ListAllRelayersRequest) String() string
type ListAllRelayersResponse ¶
type ListAllRelayersResponse struct { Ids []*RelayerId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ListAllRelayersResponse) Descriptor
deprecated
func (*ListAllRelayersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAllRelayersResponse.ProtoReflect.Descriptor instead.
func (*ListAllRelayersResponse) GetIds ¶
func (x *ListAllRelayersResponse) GetIds() []*RelayerId
func (*ListAllRelayersResponse) ProtoMessage ¶
func (*ListAllRelayersResponse) ProtoMessage()
func (*ListAllRelayersResponse) ProtoReflect ¶
func (x *ListAllRelayersResponse) ProtoReflect() protoreflect.Message
func (*ListAllRelayersResponse) Reset ¶
func (x *ListAllRelayersResponse) Reset()
func (*ListAllRelayersResponse) String ¶
func (x *ListAllRelayersResponse) String() string
type MercuryCredentials ¶
type MercuryCredentials struct { LegacyUrl string `protobuf:"bytes,1,opt,name=legacy_url,json=legacyUrl,proto3" json:"legacy_url,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
TODO - this is a temporary solution to minimise refactor and allow the relayer to pass necessary credentials to the plugin - should be rolled into the relayConfig as a second step
func (*MercuryCredentials) Descriptor
deprecated
func (*MercuryCredentials) Descriptor() ([]byte, []int)
Deprecated: Use MercuryCredentials.ProtoReflect.Descriptor instead.
func (*MercuryCredentials) GetLegacyUrl ¶
func (x *MercuryCredentials) GetLegacyUrl() string
func (*MercuryCredentials) GetPassword ¶
func (x *MercuryCredentials) GetPassword() string
func (*MercuryCredentials) GetUrl ¶
func (x *MercuryCredentials) GetUrl() string
func (*MercuryCredentials) GetUsername ¶
func (x *MercuryCredentials) GetUsername() string
func (*MercuryCredentials) ProtoMessage ¶
func (*MercuryCredentials) ProtoMessage()
func (*MercuryCredentials) ProtoReflect ¶
func (x *MercuryCredentials) ProtoReflect() protoreflect.Message
func (*MercuryCredentials) Reset ¶
func (x *MercuryCredentials) Reset()
func (*MercuryCredentials) String ¶
func (x *MercuryCredentials) String() string
type NewChainWriterRequest ¶
type NewChainWriterRequest struct { RelayerId *RelayerId `protobuf:"bytes,1,opt,name=relayerId,proto3" json:"relayerId,omitempty"` ChainWriterConfig []byte `protobuf:"bytes,2,opt,name=chainWriterConfig,proto3" json:"chainWriterConfig,omitempty"` // contains filtered or unexported fields }
func (*NewChainWriterRequest) Descriptor
deprecated
func (*NewChainWriterRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewChainWriterRequest.ProtoReflect.Descriptor instead.
func (*NewChainWriterRequest) GetChainWriterConfig ¶
func (x *NewChainWriterRequest) GetChainWriterConfig() []byte
func (*NewChainWriterRequest) GetRelayerId ¶
func (x *NewChainWriterRequest) GetRelayerId() *RelayerId
func (*NewChainWriterRequest) ProtoMessage ¶
func (*NewChainWriterRequest) ProtoMessage()
func (*NewChainWriterRequest) ProtoReflect ¶
func (x *NewChainWriterRequest) ProtoReflect() protoreflect.Message
func (*NewChainWriterRequest) Reset ¶
func (x *NewChainWriterRequest) Reset()
func (*NewChainWriterRequest) String ¶
func (x *NewChainWriterRequest) String() string
type NewChainWriterResponse ¶
type NewChainWriterResponse struct { ChainWriterId uint32 `protobuf:"varint,1,opt,name=chainWriterId,proto3" json:"chainWriterId,omitempty"` // contains filtered or unexported fields }
func (*NewChainWriterResponse) Descriptor
deprecated
func (*NewChainWriterResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewChainWriterResponse.ProtoReflect.Descriptor instead.
func (*NewChainWriterResponse) GetChainWriterId ¶
func (x *NewChainWriterResponse) GetChainWriterId() uint32
func (*NewChainWriterResponse) ProtoMessage ¶
func (*NewChainWriterResponse) ProtoMessage()
func (*NewChainWriterResponse) ProtoReflect ¶
func (x *NewChainWriterResponse) ProtoReflect() protoreflect.Message
func (*NewChainWriterResponse) Reset ¶
func (x *NewChainWriterResponse) Reset()
func (*NewChainWriterResponse) String ¶
func (x *NewChainWriterResponse) String() string
type NewContractReaderRequest ¶
type NewContractReaderRequest struct { RelayerId *RelayerId `protobuf:"bytes,1,opt,name=relayerId,proto3" json:"relayerId,omitempty"` ContractReaderConfig []byte `protobuf:"bytes,2,opt,name=contractReaderConfig,proto3" json:"contractReaderConfig,omitempty"` // contains filtered or unexported fields }
func (*NewContractReaderRequest) Descriptor
deprecated
func (*NewContractReaderRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewContractReaderRequest.ProtoReflect.Descriptor instead.
func (*NewContractReaderRequest) GetContractReaderConfig ¶
func (x *NewContractReaderRequest) GetContractReaderConfig() []byte
func (*NewContractReaderRequest) GetRelayerId ¶
func (x *NewContractReaderRequest) GetRelayerId() *RelayerId
func (*NewContractReaderRequest) ProtoMessage ¶
func (*NewContractReaderRequest) ProtoMessage()
func (*NewContractReaderRequest) ProtoReflect ¶
func (x *NewContractReaderRequest) ProtoReflect() protoreflect.Message
func (*NewContractReaderRequest) Reset ¶
func (x *NewContractReaderRequest) Reset()
func (*NewContractReaderRequest) String ¶
func (x *NewContractReaderRequest) String() string
type NewContractReaderResponse ¶
type NewContractReaderResponse struct { ContractReaderId uint32 `protobuf:"varint,1,opt,name=contractReaderId,proto3" json:"contractReaderId,omitempty"` // contains filtered or unexported fields }
func (*NewContractReaderResponse) Descriptor
deprecated
func (*NewContractReaderResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewContractReaderResponse.ProtoReflect.Descriptor instead.
func (*NewContractReaderResponse) GetContractReaderId ¶
func (x *NewContractReaderResponse) GetContractReaderId() uint32
func (*NewContractReaderResponse) ProtoMessage ¶
func (*NewContractReaderResponse) ProtoMessage()
func (*NewContractReaderResponse) ProtoReflect ¶
func (x *NewContractReaderResponse) ProtoReflect() protoreflect.Message
func (*NewContractReaderResponse) Reset ¶
func (x *NewContractReaderResponse) Reset()
func (*NewContractReaderResponse) String ¶
func (x *NewContractReaderResponse) String() string
type NewPluginProviderRequest ¶
type NewPluginProviderRequest struct { RelayerId *RelayerId `protobuf:"bytes,1,opt,name=relayerId,proto3" json:"relayerId,omitempty"` RelayArgs *RelayArgs `protobuf:"bytes,2,opt,name=relayArgs,proto3" json:"relayArgs,omitempty"` PluginArgs *PluginArgs `protobuf:"bytes,3,opt,name=pluginArgs,proto3" json:"pluginArgs,omitempty"` // contains filtered or unexported fields }
func (*NewPluginProviderRequest) Descriptor
deprecated
func (*NewPluginProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewPluginProviderRequest.ProtoReflect.Descriptor instead.
func (*NewPluginProviderRequest) GetPluginArgs ¶
func (x *NewPluginProviderRequest) GetPluginArgs() *PluginArgs
func (*NewPluginProviderRequest) GetRelayArgs ¶
func (x *NewPluginProviderRequest) GetRelayArgs() *RelayArgs
func (*NewPluginProviderRequest) GetRelayerId ¶
func (x *NewPluginProviderRequest) GetRelayerId() *RelayerId
func (*NewPluginProviderRequest) ProtoMessage ¶
func (*NewPluginProviderRequest) ProtoMessage()
func (*NewPluginProviderRequest) ProtoReflect ¶
func (x *NewPluginProviderRequest) ProtoReflect() protoreflect.Message
func (*NewPluginProviderRequest) Reset ¶
func (x *NewPluginProviderRequest) Reset()
func (*NewPluginProviderRequest) String ¶
func (x *NewPluginProviderRequest) String() string
type NewPluginProviderResponse ¶
type NewPluginProviderResponse struct { PluginProviderId uint32 `protobuf:"varint,1,opt,name=plugin_provider_id,json=pluginProviderId,proto3" json:"plugin_provider_id,omitempty"` // contains filtered or unexported fields }
func (*NewPluginProviderResponse) Descriptor
deprecated
func (*NewPluginProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewPluginProviderResponse.ProtoReflect.Descriptor instead.
func (*NewPluginProviderResponse) GetPluginProviderId ¶
func (x *NewPluginProviderResponse) GetPluginProviderId() uint32
func (*NewPluginProviderResponse) ProtoMessage ¶
func (*NewPluginProviderResponse) ProtoMessage()
func (*NewPluginProviderResponse) ProtoReflect ¶
func (x *NewPluginProviderResponse) ProtoReflect() protoreflect.Message
func (*NewPluginProviderResponse) Reset ¶
func (x *NewPluginProviderResponse) Reset()
func (*NewPluginProviderResponse) String ¶
func (x *NewPluginProviderResponse) String() string
type PluginArgs ¶
type PluginArgs struct { TransmitterID string `protobuf:"bytes,1,opt,name=transmitterID,proto3" json:"transmitterID,omitempty"` PluginConfig []byte `protobuf:"bytes,2,opt,name=pluginConfig,proto3" json:"pluginConfig,omitempty"` // contains filtered or unexported fields }
func (*PluginArgs) Descriptor
deprecated
func (*PluginArgs) Descriptor() ([]byte, []int)
Deprecated: Use PluginArgs.ProtoReflect.Descriptor instead.
func (*PluginArgs) GetPluginConfig ¶
func (x *PluginArgs) GetPluginConfig() []byte
func (*PluginArgs) GetTransmitterID ¶
func (x *PluginArgs) GetTransmitterID() string
func (*PluginArgs) ProtoMessage ¶
func (*PluginArgs) ProtoMessage()
func (*PluginArgs) ProtoReflect ¶
func (x *PluginArgs) ProtoReflect() protoreflect.Message
func (*PluginArgs) Reset ¶
func (x *PluginArgs) Reset()
func (*PluginArgs) String ¶
func (x *PluginArgs) String() string
type RelayArgs ¶
type RelayArgs struct { ContractID string `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"` RelayConfig []byte `protobuf:"bytes,2,opt,name=relayConfig,proto3" json:"relayConfig,omitempty"` ProviderType string `protobuf:"bytes,3,opt,name=providerType,proto3" json:"providerType,omitempty"` // TODO - this is a temporary solution to minimise refactor and allow the relayer to pass necessary credentials to the plugin - should be rolled into the relayConfig as a second step MercuryCredentials *MercuryCredentials `protobuf:"bytes,4,opt,name=mercuryCredentials,proto3" json:"mercuryCredentials,omitempty"` // contains filtered or unexported fields }
func (*RelayArgs) Descriptor
deprecated
func (*RelayArgs) GetContractID ¶
func (*RelayArgs) GetMercuryCredentials ¶
func (x *RelayArgs) GetMercuryCredentials() *MercuryCredentials
func (*RelayArgs) GetProviderType ¶
func (*RelayArgs) GetRelayConfig ¶
func (*RelayArgs) ProtoMessage ¶
func (*RelayArgs) ProtoMessage()
func (*RelayArgs) ProtoReflect ¶
func (x *RelayArgs) ProtoReflect() protoreflect.Message
type RelayerHealthReportResponse ¶
type RelayerHealthReportResponse struct { Report map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RelayerHealthReportResponse) Descriptor
deprecated
func (*RelayerHealthReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelayerHealthReportResponse.ProtoReflect.Descriptor instead.
func (*RelayerHealthReportResponse) GetReport ¶
func (x *RelayerHealthReportResponse) GetReport() map[string]string
func (*RelayerHealthReportResponse) ProtoMessage ¶
func (*RelayerHealthReportResponse) ProtoMessage()
func (*RelayerHealthReportResponse) ProtoReflect ¶
func (x *RelayerHealthReportResponse) ProtoReflect() protoreflect.Message
func (*RelayerHealthReportResponse) Reset ¶
func (x *RelayerHealthReportResponse) Reset()
func (*RelayerHealthReportResponse) String ¶
func (x *RelayerHealthReportResponse) String() string
type RelayerId ¶
type RelayerId struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
func (*RelayerId) Descriptor
deprecated
func (*RelayerId) GetChainId ¶
func (*RelayerId) GetNetwork ¶
func (*RelayerId) ProtoMessage ¶
func (*RelayerId) ProtoMessage()
func (*RelayerId) ProtoReflect ¶
func (x *RelayerId) ProtoReflect() protoreflect.Message
type RelayerNameResponse ¶
type RelayerNameResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RelayerNameResponse) Descriptor
deprecated
func (*RelayerNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelayerNameResponse.ProtoReflect.Descriptor instead.
func (*RelayerNameResponse) GetName ¶
func (x *RelayerNameResponse) GetName() string
func (*RelayerNameResponse) ProtoMessage ¶
func (*RelayerNameResponse) ProtoMessage()
func (*RelayerNameResponse) ProtoReflect ¶
func (x *RelayerNameResponse) ProtoReflect() protoreflect.Message
func (*RelayerNameResponse) Reset ¶
func (x *RelayerNameResponse) Reset()
func (*RelayerNameResponse) String ¶
func (x *RelayerNameResponse) String() string
type RelayerSetClient ¶
type RelayerSetClient interface { Get(ctx context.Context, in *GetRelayerRequest, opts ...grpc.CallOption) (*GetRelayerResponse, error) List(ctx context.Context, in *ListAllRelayersRequest, opts ...grpc.CallOption) (*ListAllRelayersResponse, error) NewPluginProvider(ctx context.Context, in *NewPluginProviderRequest, opts ...grpc.CallOption) (*NewPluginProviderResponse, error) NewContractReader(ctx context.Context, in *NewContractReaderRequest, opts ...grpc.CallOption) (*NewContractReaderResponse, error) NewChainWriter(ctx context.Context, in *NewChainWriterRequest, opts ...grpc.CallOption) (*NewChainWriterResponse, error) StartRelayer(ctx context.Context, in *RelayerId, opts ...grpc.CallOption) (*emptypb.Empty, error) CloseRelayer(ctx context.Context, in *RelayerId, opts ...grpc.CallOption) (*emptypb.Empty, error) RelayerReady(ctx context.Context, in *RelayerId, opts ...grpc.CallOption) (*emptypb.Empty, error) RelayerHealthReport(ctx context.Context, in *RelayerId, opts ...grpc.CallOption) (*RelayerHealthReportResponse, error) RelayerName(ctx context.Context, in *RelayerId, opts ...grpc.CallOption) (*RelayerNameResponse, error) RelayerLatestHead(ctx context.Context, in *LatestHeadRequest, opts ...grpc.CallOption) (*LatestHeadResponse, error) }
RelayerSetClient is the client API for RelayerSet 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.
func NewRelayerSetClient ¶
func NewRelayerSetClient(cc grpc.ClientConnInterface) RelayerSetClient
type RelayerSetServer ¶
type RelayerSetServer interface { Get(context.Context, *GetRelayerRequest) (*GetRelayerResponse, error) List(context.Context, *ListAllRelayersRequest) (*ListAllRelayersResponse, error) NewPluginProvider(context.Context, *NewPluginProviderRequest) (*NewPluginProviderResponse, error) NewContractReader(context.Context, *NewContractReaderRequest) (*NewContractReaderResponse, error) NewChainWriter(context.Context, *NewChainWriterRequest) (*NewChainWriterResponse, error) StartRelayer(context.Context, *RelayerId) (*emptypb.Empty, error) CloseRelayer(context.Context, *RelayerId) (*emptypb.Empty, error) RelayerReady(context.Context, *RelayerId) (*emptypb.Empty, error) RelayerHealthReport(context.Context, *RelayerId) (*RelayerHealthReportResponse, error) RelayerName(context.Context, *RelayerId) (*RelayerNameResponse, error) RelayerLatestHead(context.Context, *LatestHeadRequest) (*LatestHeadResponse, error) // contains filtered or unexported methods }
RelayerSetServer is the server API for RelayerSet service. All implementations must embed UnimplementedRelayerSetServer for forward compatibility
type UnimplementedRelayerSetServer ¶
type UnimplementedRelayerSetServer struct { }
UnimplementedRelayerSetServer must be embedded to have forward compatible implementations.
func (UnimplementedRelayerSetServer) CloseRelayer ¶
func (UnimplementedRelayerSetServer) Get ¶
func (UnimplementedRelayerSetServer) Get(context.Context, *GetRelayerRequest) (*GetRelayerResponse, error)
func (UnimplementedRelayerSetServer) List ¶
func (UnimplementedRelayerSetServer) List(context.Context, *ListAllRelayersRequest) (*ListAllRelayersResponse, error)
func (UnimplementedRelayerSetServer) NewChainWriter ¶
func (UnimplementedRelayerSetServer) NewChainWriter(context.Context, *NewChainWriterRequest) (*NewChainWriterResponse, error)
func (UnimplementedRelayerSetServer) NewContractReader ¶
func (UnimplementedRelayerSetServer) NewContractReader(context.Context, *NewContractReaderRequest) (*NewContractReaderResponse, error)
func (UnimplementedRelayerSetServer) NewPluginProvider ¶
func (UnimplementedRelayerSetServer) NewPluginProvider(context.Context, *NewPluginProviderRequest) (*NewPluginProviderResponse, error)
func (UnimplementedRelayerSetServer) RelayerHealthReport ¶
func (UnimplementedRelayerSetServer) RelayerHealthReport(context.Context, *RelayerId) (*RelayerHealthReportResponse, error)
func (UnimplementedRelayerSetServer) RelayerLatestHead ¶
func (UnimplementedRelayerSetServer) RelayerLatestHead(context.Context, *LatestHeadRequest) (*LatestHeadResponse, error)
func (UnimplementedRelayerSetServer) RelayerName ¶
func (UnimplementedRelayerSetServer) RelayerName(context.Context, *RelayerId) (*RelayerNameResponse, error)
func (UnimplementedRelayerSetServer) RelayerReady ¶
func (UnimplementedRelayerSetServer) StartRelayer ¶
type UnsafeRelayerSetServer ¶
type UnsafeRelayerSetServer interface {
// contains filtered or unexported methods
}
UnsafeRelayerSetServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RelayerSetServer will result in compilation errors.