Documentation ¶
Overview ¶
Package rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterControlServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterControlServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ControlServiceClient) error
- func RegisterControlServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterControlServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ControlServiceServer) error
- func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)
- func RegisterPingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PingServiceClient) error
- func RegisterPingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PingServiceServer) error
- func RegisterPingServiceServer(s grpc.ServiceRegistrar, srv PingServiceServer)
- type AddNodeRequest
- func (*AddNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNodeRequest) GetChainConfigs() map[string]string
- func (x *AddNodeRequest) GetExecPath() string
- func (x *AddNodeRequest) GetName() string
- func (x *AddNodeRequest) GetNodeConfig() string
- func (x *AddNodeRequest) GetPluginDir() string
- func (x *AddNodeRequest) GetSubnetConfigs() map[string]string
- func (x *AddNodeRequest) GetUpgradeConfigs() map[string]string
- func (*AddNodeRequest) ProtoMessage()
- func (x *AddNodeRequest) ProtoReflect() protoreflect.Message
- func (x *AddNodeRequest) Reset()
- func (x *AddNodeRequest) String() string
- type AddNodeResponse
- type AttachPeerRequest
- type AttachPeerResponse
- func (*AttachPeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachPeerResponse) GetAttachedPeerInfo() *AttachedPeerInfo
- func (x *AttachPeerResponse) GetClusterInfo() *ClusterInfo
- func (*AttachPeerResponse) ProtoMessage()
- func (x *AttachPeerResponse) ProtoReflect() protoreflect.Message
- func (x *AttachPeerResponse) Reset()
- func (x *AttachPeerResponse) String() string
- type AttachedPeerInfo
- type BlockchainSpec
- func (*BlockchainSpec) Descriptor() ([]byte, []int)deprecated
- func (x *BlockchainSpec) GetBlockchainAlias() string
- func (x *BlockchainSpec) GetChainConfig() string
- func (x *BlockchainSpec) GetGenesis() string
- func (x *BlockchainSpec) GetNetworkUpgrade() string
- func (x *BlockchainSpec) GetPerNodeChainConfig() string
- func (x *BlockchainSpec) GetSubnetId() string
- func (x *BlockchainSpec) GetSubnetSpec() *SubnetSpec
- func (x *BlockchainSpec) GetVmName() string
- func (*BlockchainSpec) ProtoMessage()
- func (x *BlockchainSpec) ProtoReflect() protoreflect.Message
- func (x *BlockchainSpec) Reset()
- func (x *BlockchainSpec) String() string
- type ClusterInfo
- func (*ClusterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterInfo) GetAttachedPeerInfos() map[string]*ListOfAttachedPeerInfo
- func (x *ClusterInfo) GetCustomChains() map[string]*CustomChainInfo
- func (x *ClusterInfo) GetCustomChainsHealthy() bool
- func (x *ClusterInfo) GetHealthy() bool
- func (x *ClusterInfo) GetNodeInfos() map[string]*NodeInfo
- func (x *ClusterInfo) GetNodeNames() []string
- func (x *ClusterInfo) GetPid() int32
- func (x *ClusterInfo) GetRootDataDir() string
- func (x *ClusterInfo) GetSubnetParticipants() map[string]*SubnetParticipants
- func (x *ClusterInfo) GetSubnets() []string
- func (*ClusterInfo) ProtoMessage()
- func (x *ClusterInfo) ProtoReflect() protoreflect.Message
- func (x *ClusterInfo) Reset()
- func (x *ClusterInfo) String() string
- type ControlServiceClient
- type ControlServiceServer
- type ControlService_StreamStatusClient
- type ControlService_StreamStatusServer
- type CreateBlockchainsRequest
- func (*CreateBlockchainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBlockchainsRequest) GetBlockchainSpecs() []*BlockchainSpec
- func (*CreateBlockchainsRequest) ProtoMessage()
- func (x *CreateBlockchainsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBlockchainsRequest) Reset()
- func (x *CreateBlockchainsRequest) String() string
- type CreateBlockchainsResponse
- func (*CreateBlockchainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBlockchainsResponse) GetChainIds() []string
- func (x *CreateBlockchainsResponse) GetClusterInfo() *ClusterInfo
- func (*CreateBlockchainsResponse) ProtoMessage()
- func (x *CreateBlockchainsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBlockchainsResponse) Reset()
- func (x *CreateBlockchainsResponse) String() string
- type CreateSubnetsRequest
- func (*CreateSubnetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubnetsRequest) GetSubnetSpecs() []*SubnetSpec
- func (*CreateSubnetsRequest) ProtoMessage()
- func (x *CreateSubnetsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSubnetsRequest) Reset()
- func (x *CreateSubnetsRequest) String() string
- type CreateSubnetsResponse
- func (*CreateSubnetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubnetsResponse) GetClusterInfo() *ClusterInfo
- func (x *CreateSubnetsResponse) GetSubnetIds() []string
- func (*CreateSubnetsResponse) ProtoMessage()
- func (x *CreateSubnetsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSubnetsResponse) Reset()
- func (x *CreateSubnetsResponse) String() string
- type CustomChainInfo
- func (*CustomChainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CustomChainInfo) GetChainId() string
- func (x *CustomChainInfo) GetChainName() string
- func (x *CustomChainInfo) GetSubnetId() string
- func (x *CustomChainInfo) GetVmId() string
- func (*CustomChainInfo) ProtoMessage()
- func (x *CustomChainInfo) ProtoReflect() protoreflect.Message
- func (x *CustomChainInfo) Reset()
- func (x *CustomChainInfo) String() string
- type GetSnapshotNamesRequest
- type GetSnapshotNamesResponse
- func (*GetSnapshotNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotNamesResponse) GetSnapshotNames() []string
- func (*GetSnapshotNamesResponse) ProtoMessage()
- func (x *GetSnapshotNamesResponse) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotNamesResponse) Reset()
- func (x *GetSnapshotNamesResponse) String() string
- type HealthRequest
- type HealthResponse
- type ListOfAttachedPeerInfo
- func (*ListOfAttachedPeerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ListOfAttachedPeerInfo) GetPeers() []*AttachedPeerInfo
- func (*ListOfAttachedPeerInfo) ProtoMessage()
- func (x *ListOfAttachedPeerInfo) ProtoReflect() protoreflect.Message
- func (x *ListOfAttachedPeerInfo) Reset()
- func (x *ListOfAttachedPeerInfo) String() string
- type LoadSnapshotRequest
- func (*LoadSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadSnapshotRequest) GetChainConfigs() map[string]string
- func (x *LoadSnapshotRequest) GetExecPath() string
- func (x *LoadSnapshotRequest) GetGlobalNodeConfig() string
- func (x *LoadSnapshotRequest) GetPluginDir() string
- func (x *LoadSnapshotRequest) GetReassignPortsIfUsed() bool
- func (x *LoadSnapshotRequest) GetRootDataDir() string
- func (x *LoadSnapshotRequest) GetSnapshotName() string
- func (x *LoadSnapshotRequest) GetSubnetConfigs() map[string]string
- func (x *LoadSnapshotRequest) GetUpgradeConfigs() map[string]string
- func (*LoadSnapshotRequest) ProtoMessage()
- func (x *LoadSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *LoadSnapshotRequest) Reset()
- func (x *LoadSnapshotRequest) String() string
- type LoadSnapshotResponse
- func (*LoadSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoadSnapshotResponse) GetClusterInfo() *ClusterInfo
- func (*LoadSnapshotResponse) ProtoMessage()
- func (x *LoadSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *LoadSnapshotResponse) Reset()
- func (x *LoadSnapshotResponse) String() string
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetConfig() []byte
- func (x *NodeInfo) GetDbDir() string
- func (x *NodeInfo) GetExecPath() string
- func (x *NodeInfo) GetId() string
- func (x *NodeInfo) GetLogDir() string
- func (x *NodeInfo) GetName() string
- func (x *NodeInfo) GetPaused() bool
- func (x *NodeInfo) GetPluginDir() string
- func (x *NodeInfo) GetUri() string
- func (x *NodeInfo) GetWhitelistedSubnets() string
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type PauseNodeRequest
- type PauseNodeResponse
- func (*PauseNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PauseNodeResponse) GetClusterInfo() *ClusterInfo
- func (*PauseNodeResponse) ProtoMessage()
- func (x *PauseNodeResponse) ProtoReflect() protoreflect.Message
- func (x *PauseNodeResponse) Reset()
- func (x *PauseNodeResponse) String() string
- type PingRequest
- type PingResponse
- type PingServiceClient
- type PingServiceServer
- type RPCVersionRequest
- type RPCVersionResponse
- func (*RPCVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RPCVersionResponse) GetVersion() uint32
- func (*RPCVersionResponse) ProtoMessage()
- func (x *RPCVersionResponse) ProtoReflect() protoreflect.Message
- func (x *RPCVersionResponse) Reset()
- func (x *RPCVersionResponse) String() string
- type RemoveNodeRequest
- type RemoveNodeResponse
- func (*RemoveNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNodeResponse) GetClusterInfo() *ClusterInfo
- func (*RemoveNodeResponse) ProtoMessage()
- func (x *RemoveNodeResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveNodeResponse) Reset()
- func (x *RemoveNodeResponse) String() string
- type RemoveSnapshotRequest
- func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSnapshotRequest) GetSnapshotName() string
- func (*RemoveSnapshotRequest) ProtoMessage()
- func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSnapshotRequest) Reset()
- func (x *RemoveSnapshotRequest) String() string
- type RemoveSnapshotResponse
- type RestartNodeRequest
- func (*RestartNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartNodeRequest) GetChainConfigs() map[string]string
- func (x *RestartNodeRequest) GetExecPath() string
- func (x *RestartNodeRequest) GetName() string
- func (x *RestartNodeRequest) GetPluginDir() string
- func (x *RestartNodeRequest) GetSubnetConfigs() map[string]string
- func (x *RestartNodeRequest) GetUpgradeConfigs() map[string]string
- func (x *RestartNodeRequest) GetWhitelistedSubnets() string
- func (*RestartNodeRequest) ProtoMessage()
- func (x *RestartNodeRequest) ProtoReflect() protoreflect.Message
- func (x *RestartNodeRequest) Reset()
- func (x *RestartNodeRequest) String() string
- type RestartNodeResponse
- func (*RestartNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestartNodeResponse) GetClusterInfo() *ClusterInfo
- func (*RestartNodeResponse) ProtoMessage()
- func (x *RestartNodeResponse) ProtoReflect() protoreflect.Message
- func (x *RestartNodeResponse) Reset()
- func (x *RestartNodeResponse) String() string
- type ResumeNodeRequest
- type ResumeNodeResponse
- func (*ResumeNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeNodeResponse) GetClusterInfo() *ClusterInfo
- func (*ResumeNodeResponse) ProtoMessage()
- func (x *ResumeNodeResponse) ProtoReflect() protoreflect.Message
- func (x *ResumeNodeResponse) Reset()
- func (x *ResumeNodeResponse) String() string
- type SaveSnapshotRequest
- func (*SaveSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveSnapshotRequest) GetSnapshotName() string
- func (*SaveSnapshotRequest) ProtoMessage()
- func (x *SaveSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *SaveSnapshotRequest) Reset()
- func (x *SaveSnapshotRequest) String() string
- type SaveSnapshotResponse
- func (*SaveSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SaveSnapshotResponse) GetSnapshotPath() string
- func (*SaveSnapshotResponse) ProtoMessage()
- func (x *SaveSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *SaveSnapshotResponse) Reset()
- func (x *SaveSnapshotResponse) String() string
- type SendOutboundMessageRequest
- func (*SendOutboundMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendOutboundMessageRequest) GetBytes() []byte
- func (x *SendOutboundMessageRequest) GetNodeName() string
- func (x *SendOutboundMessageRequest) GetOp() uint32
- func (x *SendOutboundMessageRequest) GetPeerId() string
- func (*SendOutboundMessageRequest) ProtoMessage()
- func (x *SendOutboundMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendOutboundMessageRequest) Reset()
- func (x *SendOutboundMessageRequest) String() string
- type SendOutboundMessageResponse
- func (*SendOutboundMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendOutboundMessageResponse) GetSent() bool
- func (*SendOutboundMessageResponse) ProtoMessage()
- func (x *SendOutboundMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendOutboundMessageResponse) Reset()
- func (x *SendOutboundMessageResponse) String() string
- type StartRequest
- func (*StartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartRequest) GetBlockchainSpecs() []*BlockchainSpec
- func (x *StartRequest) GetChainConfigs() map[string]string
- func (x *StartRequest) GetCustomNodeConfigs() map[string]string
- func (x *StartRequest) GetDynamicPorts() bool
- func (x *StartRequest) GetExecPath() string
- func (x *StartRequest) GetGlobalNodeConfig() string
- func (x *StartRequest) GetNumNodes() uint32
- func (x *StartRequest) GetPluginDir() string
- func (x *StartRequest) GetReassignPortsIfUsed() bool
- func (x *StartRequest) GetRootDataDir() string
- func (x *StartRequest) GetSubnetConfigs() map[string]string
- func (x *StartRequest) GetUpgradeConfigs() map[string]string
- func (x *StartRequest) GetWhitelistedSubnets() string
- func (*StartRequest) ProtoMessage()
- func (x *StartRequest) ProtoReflect() protoreflect.Message
- func (x *StartRequest) Reset()
- func (x *StartRequest) String() string
- type StartResponse
- func (*StartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartResponse) GetChainIds() []string
- func (x *StartResponse) GetClusterInfo() *ClusterInfo
- func (*StartResponse) ProtoMessage()
- func (x *StartResponse) ProtoReflect() protoreflect.Message
- func (x *StartResponse) Reset()
- func (x *StartResponse) String() string
- type StatusRequest
- type StatusResponse
- type StopRequest
- type StopResponse
- type StreamStatusRequest
- func (*StreamStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStatusRequest) GetPushInterval() int64
- func (*StreamStatusRequest) ProtoMessage()
- func (x *StreamStatusRequest) ProtoReflect() protoreflect.Message
- func (x *StreamStatusRequest) Reset()
- func (x *StreamStatusRequest) String() string
- type StreamStatusResponse
- func (*StreamStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStatusResponse) GetClusterInfo() *ClusterInfo
- func (*StreamStatusResponse) ProtoMessage()
- func (x *StreamStatusResponse) ProtoReflect() protoreflect.Message
- func (x *StreamStatusResponse) Reset()
- func (x *StreamStatusResponse) String() string
- type SubnetParticipants
- func (*SubnetParticipants) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetParticipants) GetNodeNames() []string
- func (*SubnetParticipants) ProtoMessage()
- func (x *SubnetParticipants) ProtoReflect() protoreflect.Message
- func (x *SubnetParticipants) Reset()
- func (x *SubnetParticipants) String() string
- type SubnetSpec
- func (*SubnetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetSpec) GetParticipants() []string
- func (x *SubnetSpec) GetSubnetConfig() string
- func (*SubnetSpec) ProtoMessage()
- func (x *SubnetSpec) ProtoReflect() protoreflect.Message
- func (x *SubnetSpec) Reset()
- func (x *SubnetSpec) String() string
- type URIsRequest
- type URIsResponse
- type UnimplementedControlServiceServer
- func (UnimplementedControlServiceServer) AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error)
- func (UnimplementedControlServiceServer) AttachPeer(context.Context, *AttachPeerRequest) (*AttachPeerResponse, error)
- func (UnimplementedControlServiceServer) CreateBlockchains(context.Context, *CreateBlockchainsRequest) (*CreateBlockchainsResponse, error)
- func (UnimplementedControlServiceServer) CreateSubnets(context.Context, *CreateSubnetsRequest) (*CreateSubnetsResponse, error)
- func (UnimplementedControlServiceServer) GetSnapshotNames(context.Context, *GetSnapshotNamesRequest) (*GetSnapshotNamesResponse, error)
- func (UnimplementedControlServiceServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
- func (UnimplementedControlServiceServer) LoadSnapshot(context.Context, *LoadSnapshotRequest) (*LoadSnapshotResponse, error)
- func (UnimplementedControlServiceServer) PauseNode(context.Context, *PauseNodeRequest) (*PauseNodeResponse, error)
- func (UnimplementedControlServiceServer) RPCVersion(context.Context, *RPCVersionRequest) (*RPCVersionResponse, error)
- func (UnimplementedControlServiceServer) RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error)
- func (UnimplementedControlServiceServer) RemoveSnapshot(context.Context, *RemoveSnapshotRequest) (*RemoveSnapshotResponse, error)
- func (UnimplementedControlServiceServer) RestartNode(context.Context, *RestartNodeRequest) (*RestartNodeResponse, error)
- func (UnimplementedControlServiceServer) ResumeNode(context.Context, *ResumeNodeRequest) (*ResumeNodeResponse, error)
- func (UnimplementedControlServiceServer) SaveSnapshot(context.Context, *SaveSnapshotRequest) (*SaveSnapshotResponse, error)
- func (UnimplementedControlServiceServer) SendOutboundMessage(context.Context, *SendOutboundMessageRequest) (*SendOutboundMessageResponse, error)
- func (UnimplementedControlServiceServer) Start(context.Context, *StartRequest) (*StartResponse, error)
- func (UnimplementedControlServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
- func (UnimplementedControlServiceServer) Stop(context.Context, *StopRequest) (*StopResponse, error)
- func (UnimplementedControlServiceServer) StreamStatus(*StreamStatusRequest, ControlService_StreamStatusServer) error
- func (UnimplementedControlServiceServer) URIs(context.Context, *URIsRequest) (*URIsResponse, error)
- func (UnimplementedControlServiceServer) WaitForHealthy(context.Context, *WaitForHealthyRequest) (*WaitForHealthyResponse, error)
- type UnimplementedPingServiceServer
- type UnsafeControlServiceServer
- type UnsafePingServiceServer
- type WaitForHealthyRequest
- type WaitForHealthyResponse
- func (*WaitForHealthyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForHealthyResponse) GetClusterInfo() *ClusterInfo
- func (*WaitForHealthyResponse) ProtoMessage()
- func (x *WaitForHealthyResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForHealthyResponse) Reset()
- func (x *WaitForHealthyResponse) String() string
Constants ¶
const ( ControlService_RPCVersion_FullMethodName = "/rpcpb.ControlService/RPCVersion" ControlService_Start_FullMethodName = "/rpcpb.ControlService/Start" ControlService_CreateBlockchains_FullMethodName = "/rpcpb.ControlService/CreateBlockchains" ControlService_CreateSubnets_FullMethodName = "/rpcpb.ControlService/CreateSubnets" ControlService_Health_FullMethodName = "/rpcpb.ControlService/Health" ControlService_URIs_FullMethodName = "/rpcpb.ControlService/URIs" ControlService_WaitForHealthy_FullMethodName = "/rpcpb.ControlService/WaitForHealthy" ControlService_Status_FullMethodName = "/rpcpb.ControlService/Status" ControlService_StreamStatus_FullMethodName = "/rpcpb.ControlService/StreamStatus" ControlService_RemoveNode_FullMethodName = "/rpcpb.ControlService/RemoveNode" ControlService_AddNode_FullMethodName = "/rpcpb.ControlService/AddNode" ControlService_RestartNode_FullMethodName = "/rpcpb.ControlService/RestartNode" ControlService_PauseNode_FullMethodName = "/rpcpb.ControlService/PauseNode" ControlService_ResumeNode_FullMethodName = "/rpcpb.ControlService/ResumeNode" ControlService_Stop_FullMethodName = "/rpcpb.ControlService/Stop" ControlService_AttachPeer_FullMethodName = "/rpcpb.ControlService/AttachPeer" ControlService_SendOutboundMessage_FullMethodName = "/rpcpb.ControlService/SendOutboundMessage" ControlService_SaveSnapshot_FullMethodName = "/rpcpb.ControlService/SaveSnapshot" ControlService_LoadSnapshot_FullMethodName = "/rpcpb.ControlService/LoadSnapshot" ControlService_RemoveSnapshot_FullMethodName = "/rpcpb.ControlService/RemoveSnapshot" ControlService_GetSnapshotNames_FullMethodName = "/rpcpb.ControlService/GetSnapshotNames" )
const (
PingService_Ping_FullMethodName = "/rpcpb.PingService/Ping"
)
Variables ¶
var ControlService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rpcpb.ControlService", HandlerType: (*ControlServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RPCVersion", Handler: _ControlService_RPCVersion_Handler, }, { MethodName: "Start", Handler: _ControlService_Start_Handler, }, { MethodName: "CreateBlockchains", Handler: _ControlService_CreateBlockchains_Handler, }, { MethodName: "CreateSubnets", Handler: _ControlService_CreateSubnets_Handler, }, { MethodName: "Health", Handler: _ControlService_Health_Handler, }, { MethodName: "URIs", Handler: _ControlService_URIs_Handler, }, { MethodName: "WaitForHealthy", Handler: _ControlService_WaitForHealthy_Handler, }, { MethodName: "Status", Handler: _ControlService_Status_Handler, }, { MethodName: "RemoveNode", Handler: _ControlService_RemoveNode_Handler, }, { MethodName: "AddNode", Handler: _ControlService_AddNode_Handler, }, { MethodName: "RestartNode", Handler: _ControlService_RestartNode_Handler, }, { MethodName: "PauseNode", Handler: _ControlService_PauseNode_Handler, }, { MethodName: "ResumeNode", Handler: _ControlService_ResumeNode_Handler, }, { MethodName: "Stop", Handler: _ControlService_Stop_Handler, }, { MethodName: "AttachPeer", Handler: _ControlService_AttachPeer_Handler, }, { MethodName: "SendOutboundMessage", Handler: _ControlService_SendOutboundMessage_Handler, }, { MethodName: "SaveSnapshot", Handler: _ControlService_SaveSnapshot_Handler, }, { MethodName: "LoadSnapshot", Handler: _ControlService_LoadSnapshot_Handler, }, { MethodName: "RemoveSnapshot", Handler: _ControlService_RemoveSnapshot_Handler, }, { MethodName: "GetSnapshotNames", Handler: _ControlService_GetSnapshotNames_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamStatus", Handler: _ControlService_StreamStatus_Handler, ServerStreams: true, }, }, Metadata: "rpcpb/rpc.proto", }
ControlService_ServiceDesc is the grpc.ServiceDesc for ControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_rpcpb_rpc_proto protoreflect.FileDescriptor
var PingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rpcpb.PingService", HandlerType: (*PingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _PingService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rpcpb/rpc.proto", }
PingService_ServiceDesc is the grpc.ServiceDesc for PingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterControlServiceHandler ¶
func RegisterControlServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterControlServiceHandler registers the http handlers for service ControlService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterControlServiceHandlerClient ¶
func RegisterControlServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ControlServiceClient) error
RegisterControlServiceHandlerClient registers the http handlers for service ControlService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ControlServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ControlServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ControlServiceClient" to call the correct interceptors.
func RegisterControlServiceHandlerFromEndpoint ¶
func RegisterControlServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterControlServiceHandlerFromEndpoint is same as RegisterControlServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterControlServiceHandlerServer ¶
func RegisterControlServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ControlServiceServer) error
RegisterControlServiceHandlerServer registers the http handlers for service ControlService to "mux". UnaryRPC :call ControlServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterControlServiceHandlerFromEndpoint instead.
func RegisterControlServiceServer ¶
func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)
func RegisterPingServiceHandler ¶
func RegisterPingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPingServiceHandler registers the http handlers for service PingService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPingServiceHandlerClient ¶
func RegisterPingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PingServiceClient) error
RegisterPingServiceHandlerClient registers the http handlers for service PingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PingServiceClient" to call the correct interceptors.
func RegisterPingServiceHandlerFromEndpoint ¶
func RegisterPingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPingServiceHandlerFromEndpoint is same as RegisterPingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPingServiceHandlerServer ¶
func RegisterPingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PingServiceServer) error
RegisterPingServiceHandlerServer registers the http handlers for service PingService to "mux". UnaryRPC :call PingServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPingServiceHandlerFromEndpoint instead.
func RegisterPingServiceServer ¶
func RegisterPingServiceServer(s grpc.ServiceRegistrar, srv PingServiceServer)
Types ¶
type AddNodeRequest ¶ added in v1.0.13
type AddNodeRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ExecPath string `protobuf:"bytes,2,opt,name=exec_path,json=execPath,proto3" json:"exec_path,omitempty"` NodeConfig *string `protobuf:"bytes,3,opt,name=node_config,json=nodeConfig,proto3,oneof" json:"node_config,omitempty"` // Map of chain name to config file contents. // If specified, will create a file "chainname/config.json" with // the contents provided here. ChainConfigs map[string]string `` /* 185-byte string literal not displayed */ // Map of chain name to config file contents. // If specified, will create a file "chainname/upgrade.json" with // the contents provided here. UpgradeConfigs map[string]string `` /* 191-byte string literal not displayed */ // Map of subnet id to subnet config file contents. // If specified, will create a file "subnetid.json" under subnets config dir with // the contents provided here. SubnetConfigs map[string]string `` /* 188-byte string literal not displayed */ // Plugin dir from which to load all custom VM executables. PluginDir string `protobuf:"bytes,7,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"` // contains filtered or unexported fields }
func (*AddNodeRequest) Descriptor
deprecated
added in
v1.0.13
func (*AddNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeRequest.ProtoReflect.Descriptor instead.
func (*AddNodeRequest) GetChainConfigs ¶ added in v1.2.0
func (x *AddNodeRequest) GetChainConfigs() map[string]string
func (*AddNodeRequest) GetExecPath ¶ added in v1.2.0
func (x *AddNodeRequest) GetExecPath() string
func (*AddNodeRequest) GetName ¶ added in v1.0.13
func (x *AddNodeRequest) GetName() string
func (*AddNodeRequest) GetNodeConfig ¶ added in v1.2.0
func (x *AddNodeRequest) GetNodeConfig() string
func (*AddNodeRequest) GetPluginDir ¶ added in v1.3.5
func (x *AddNodeRequest) GetPluginDir() string
func (*AddNodeRequest) GetSubnetConfigs ¶ added in v1.3.2
func (x *AddNodeRequest) GetSubnetConfigs() map[string]string
func (*AddNodeRequest) GetUpgradeConfigs ¶ added in v1.2.1
func (x *AddNodeRequest) GetUpgradeConfigs() map[string]string
func (*AddNodeRequest) ProtoMessage ¶ added in v1.0.13
func (*AddNodeRequest) ProtoMessage()
func (*AddNodeRequest) ProtoReflect ¶ added in v1.0.13
func (x *AddNodeRequest) ProtoReflect() protoreflect.Message
func (*AddNodeRequest) Reset ¶ added in v1.0.13
func (x *AddNodeRequest) Reset()
func (*AddNodeRequest) String ¶ added in v1.0.13
func (x *AddNodeRequest) String() string
type AddNodeResponse ¶ added in v1.0.13
type AddNodeResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*AddNodeResponse) Descriptor
deprecated
added in
v1.0.13
func (*AddNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeResponse.ProtoReflect.Descriptor instead.
func (*AddNodeResponse) GetClusterInfo ¶ added in v1.0.13
func (x *AddNodeResponse) GetClusterInfo() *ClusterInfo
func (*AddNodeResponse) ProtoMessage ¶ added in v1.0.13
func (*AddNodeResponse) ProtoMessage()
func (*AddNodeResponse) ProtoReflect ¶ added in v1.0.13
func (x *AddNodeResponse) ProtoReflect() protoreflect.Message
func (*AddNodeResponse) Reset ¶ added in v1.0.13
func (x *AddNodeResponse) Reset()
func (*AddNodeResponse) String ¶ added in v1.0.13
func (x *AddNodeResponse) String() string
type AttachPeerRequest ¶ added in v1.0.10
type AttachPeerRequest struct { NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // contains filtered or unexported fields }
func (*AttachPeerRequest) Descriptor
deprecated
added in
v1.0.10
func (*AttachPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachPeerRequest.ProtoReflect.Descriptor instead.
func (*AttachPeerRequest) GetNodeName ¶ added in v1.0.10
func (x *AttachPeerRequest) GetNodeName() string
func (*AttachPeerRequest) ProtoMessage ¶ added in v1.0.10
func (*AttachPeerRequest) ProtoMessage()
func (*AttachPeerRequest) ProtoReflect ¶ added in v1.0.10
func (x *AttachPeerRequest) ProtoReflect() protoreflect.Message
func (*AttachPeerRequest) Reset ¶ added in v1.0.10
func (x *AttachPeerRequest) Reset()
func (*AttachPeerRequest) String ¶ added in v1.0.10
func (x *AttachPeerRequest) String() string
type AttachPeerResponse ¶ added in v1.0.10
type AttachPeerResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` AttachedPeerInfo *AttachedPeerInfo `protobuf:"bytes,2,opt,name=attached_peer_info,json=attachedPeerInfo,proto3" json:"attached_peer_info,omitempty"` // contains filtered or unexported fields }
func (*AttachPeerResponse) Descriptor
deprecated
added in
v1.0.10
func (*AttachPeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachPeerResponse.ProtoReflect.Descriptor instead.
func (*AttachPeerResponse) GetAttachedPeerInfo ¶ added in v1.0.10
func (x *AttachPeerResponse) GetAttachedPeerInfo() *AttachedPeerInfo
func (*AttachPeerResponse) GetClusterInfo ¶ added in v1.0.10
func (x *AttachPeerResponse) GetClusterInfo() *ClusterInfo
func (*AttachPeerResponse) ProtoMessage ¶ added in v1.0.10
func (*AttachPeerResponse) ProtoMessage()
func (*AttachPeerResponse) ProtoReflect ¶ added in v1.0.10
func (x *AttachPeerResponse) ProtoReflect() protoreflect.Message
func (*AttachPeerResponse) Reset ¶ added in v1.0.10
func (x *AttachPeerResponse) Reset()
func (*AttachPeerResponse) String ¶ added in v1.0.10
func (x *AttachPeerResponse) String() string
type AttachedPeerInfo ¶ added in v1.0.10
type AttachedPeerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AttachedPeerInfo) Descriptor
deprecated
added in
v1.0.10
func (*AttachedPeerInfo) Descriptor() ([]byte, []int)
Deprecated: Use AttachedPeerInfo.ProtoReflect.Descriptor instead.
func (*AttachedPeerInfo) GetId ¶ added in v1.0.10
func (x *AttachedPeerInfo) GetId() string
func (*AttachedPeerInfo) ProtoMessage ¶ added in v1.0.10
func (*AttachedPeerInfo) ProtoMessage()
func (*AttachedPeerInfo) ProtoReflect ¶ added in v1.0.10
func (x *AttachedPeerInfo) ProtoReflect() protoreflect.Message
func (*AttachedPeerInfo) Reset ¶ added in v1.0.10
func (x *AttachedPeerInfo) Reset()
func (*AttachedPeerInfo) String ¶ added in v1.0.10
func (x *AttachedPeerInfo) String() string
type BlockchainSpec ¶ added in v1.1.1
type BlockchainSpec struct { VmName string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"` Genesis string `protobuf:"bytes,2,opt,name=genesis,proto3" json:"genesis,omitempty"` // either a subnet_id is given for a previously created subnet, // or a subnet specification is given for a new subnet generation SubnetId *string `protobuf:"bytes,3,opt,name=subnet_id,json=subnetId,proto3,oneof" json:"subnet_id,omitempty"` SubnetSpec *SubnetSpec `protobuf:"bytes,4,opt,name=subnet_spec,json=subnetSpec,proto3,oneof" json:"subnet_spec,omitempty"` // General chain config file path ChainConfig string `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"` NetworkUpgrade string `protobuf:"bytes,6,opt,name=network_upgrade,json=networkUpgrade,proto3" json:"network_upgrade,omitempty"` BlockchainAlias string `protobuf:"bytes,7,opt,name=blockchain_alias,json=blockchainAlias,proto3" json:"blockchain_alias,omitempty"` // Per node chain config file path PerNodeChainConfig string `protobuf:"bytes,8,opt,name=per_node_chain_config,json=perNodeChainConfig,proto3" json:"per_node_chain_config,omitempty"` // contains filtered or unexported fields }
func (*BlockchainSpec) Descriptor
deprecated
added in
v1.1.1
func (*BlockchainSpec) Descriptor() ([]byte, []int)
Deprecated: Use BlockchainSpec.ProtoReflect.Descriptor instead.
func (*BlockchainSpec) GetBlockchainAlias ¶ added in v1.3.4
func (x *BlockchainSpec) GetBlockchainAlias() string
func (*BlockchainSpec) GetChainConfig ¶ added in v1.3.0
func (x *BlockchainSpec) GetChainConfig() string
func (*BlockchainSpec) GetGenesis ¶ added in v1.1.1
func (x *BlockchainSpec) GetGenesis() string
func (*BlockchainSpec) GetNetworkUpgrade ¶ added in v1.3.0
func (x *BlockchainSpec) GetNetworkUpgrade() string
func (*BlockchainSpec) GetPerNodeChainConfig ¶ added in v1.3.4
func (x *BlockchainSpec) GetPerNodeChainConfig() string
func (*BlockchainSpec) GetSubnetId ¶ added in v1.1.1
func (x *BlockchainSpec) GetSubnetId() string
func (*BlockchainSpec) GetSubnetSpec ¶ added in v1.4.0
func (x *BlockchainSpec) GetSubnetSpec() *SubnetSpec
func (*BlockchainSpec) GetVmName ¶ added in v1.1.1
func (x *BlockchainSpec) GetVmName() string
func (*BlockchainSpec) ProtoMessage ¶ added in v1.1.1
func (*BlockchainSpec) ProtoMessage()
func (*BlockchainSpec) ProtoReflect ¶ added in v1.1.1
func (x *BlockchainSpec) ProtoReflect() protoreflect.Message
func (*BlockchainSpec) Reset ¶ added in v1.1.1
func (x *BlockchainSpec) Reset()
func (*BlockchainSpec) String ¶ added in v1.1.1
func (x *BlockchainSpec) String() string
type ClusterInfo ¶
type ClusterInfo struct { NodeNames []string `protobuf:"bytes,1,rep,name=node_names,json=nodeNames,proto3" json:"node_names,omitempty"` NodeInfos map[string]*NodeInfo `` /* 176-byte string literal not displayed */ Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"` RootDataDir string `protobuf:"bytes,4,opt,name=root_data_dir,json=rootDataDir,proto3" json:"root_data_dir,omitempty"` Healthy bool `protobuf:"varint,5,opt,name=healthy,proto3" json:"healthy,omitempty"` // Maps from the node ID to its attached peer infos. AttachedPeerInfos map[string]*ListOfAttachedPeerInfo `` /* 202-byte string literal not displayed */ // Set to "true" once custom blockchains are ready. CustomChainsHealthy bool `protobuf:"varint,7,opt,name=custom_chains_healthy,json=customChainsHealthy,proto3" json:"custom_chains_healthy,omitempty"` // The map of blockchain IDs in "ids.ID" format to its blockchain information. CustomChains map[string]*CustomChainInfo `` /* 185-byte string literal not displayed */ Subnets []string `protobuf:"bytes,9,rep,name=subnets,proto3" json:"subnets,omitempty"` SubnetParticipants map[string]*SubnetParticipants `` /* 204-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClusterInfo) Descriptor
deprecated
func (*ClusterInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClusterInfo.ProtoReflect.Descriptor instead.
func (*ClusterInfo) GetAttachedPeerInfos ¶ added in v1.0.10
func (x *ClusterInfo) GetAttachedPeerInfos() map[string]*ListOfAttachedPeerInfo
func (*ClusterInfo) GetCustomChains ¶ added in v1.2.0
func (x *ClusterInfo) GetCustomChains() map[string]*CustomChainInfo
func (*ClusterInfo) GetCustomChainsHealthy ¶ added in v1.2.0
func (x *ClusterInfo) GetCustomChainsHealthy() bool
func (*ClusterInfo) GetHealthy ¶
func (x *ClusterInfo) GetHealthy() bool
func (*ClusterInfo) GetNodeInfos ¶
func (x *ClusterInfo) GetNodeInfos() map[string]*NodeInfo
func (*ClusterInfo) GetNodeNames ¶
func (x *ClusterInfo) GetNodeNames() []string
func (*ClusterInfo) GetPid ¶
func (x *ClusterInfo) GetPid() int32
func (*ClusterInfo) GetRootDataDir ¶
func (x *ClusterInfo) GetRootDataDir() string
func (*ClusterInfo) GetSubnetParticipants ¶ added in v1.4.0
func (x *ClusterInfo) GetSubnetParticipants() map[string]*SubnetParticipants
func (*ClusterInfo) GetSubnets ¶ added in v1.1.1
func (x *ClusterInfo) GetSubnets() []string
func (*ClusterInfo) ProtoMessage ¶
func (*ClusterInfo) ProtoMessage()
func (*ClusterInfo) ProtoReflect ¶
func (x *ClusterInfo) ProtoReflect() protoreflect.Message
func (*ClusterInfo) Reset ¶
func (x *ClusterInfo) Reset()
func (*ClusterInfo) String ¶
func (x *ClusterInfo) String() string
type ControlServiceClient ¶
type ControlServiceClient interface { RPCVersion(ctx context.Context, in *RPCVersionRequest, opts ...grpc.CallOption) (*RPCVersionResponse, error) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) CreateBlockchains(ctx context.Context, in *CreateBlockchainsRequest, opts ...grpc.CallOption) (*CreateBlockchainsResponse, error) CreateSubnets(ctx context.Context, in *CreateSubnetsRequest, opts ...grpc.CallOption) (*CreateSubnetsResponse, error) Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error) URIs(ctx context.Context, in *URIsRequest, opts ...grpc.CallOption) (*URIsResponse, error) WaitForHealthy(ctx context.Context, in *WaitForHealthyRequest, opts ...grpc.CallOption) (*WaitForHealthyResponse, error) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) StreamStatus(ctx context.Context, in *StreamStatusRequest, opts ...grpc.CallOption) (ControlService_StreamStatusClient, error) RemoveNode(ctx context.Context, in *RemoveNodeRequest, opts ...grpc.CallOption) (*RemoveNodeResponse, error) AddNode(ctx context.Context, in *AddNodeRequest, opts ...grpc.CallOption) (*AddNodeResponse, error) RestartNode(ctx context.Context, in *RestartNodeRequest, opts ...grpc.CallOption) (*RestartNodeResponse, error) PauseNode(ctx context.Context, in *PauseNodeRequest, opts ...grpc.CallOption) (*PauseNodeResponse, error) ResumeNode(ctx context.Context, in *ResumeNodeRequest, opts ...grpc.CallOption) (*ResumeNodeResponse, error) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) AttachPeer(ctx context.Context, in *AttachPeerRequest, opts ...grpc.CallOption) (*AttachPeerResponse, error) SendOutboundMessage(ctx context.Context, in *SendOutboundMessageRequest, opts ...grpc.CallOption) (*SendOutboundMessageResponse, error) SaveSnapshot(ctx context.Context, in *SaveSnapshotRequest, opts ...grpc.CallOption) (*SaveSnapshotResponse, error) LoadSnapshot(ctx context.Context, in *LoadSnapshotRequest, opts ...grpc.CallOption) (*LoadSnapshotResponse, error) RemoveSnapshot(ctx context.Context, in *RemoveSnapshotRequest, opts ...grpc.CallOption) (*RemoveSnapshotResponse, error) GetSnapshotNames(ctx context.Context, in *GetSnapshotNamesRequest, opts ...grpc.CallOption) (*GetSnapshotNamesResponse, error) }
ControlServiceClient is the client API for ControlService 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 NewControlServiceClient ¶
func NewControlServiceClient(cc grpc.ClientConnInterface) ControlServiceClient
type ControlServiceServer ¶
type ControlServiceServer interface { RPCVersion(context.Context, *RPCVersionRequest) (*RPCVersionResponse, error) Start(context.Context, *StartRequest) (*StartResponse, error) CreateBlockchains(context.Context, *CreateBlockchainsRequest) (*CreateBlockchainsResponse, error) CreateSubnets(context.Context, *CreateSubnetsRequest) (*CreateSubnetsResponse, error) Health(context.Context, *HealthRequest) (*HealthResponse, error) URIs(context.Context, *URIsRequest) (*URIsResponse, error) WaitForHealthy(context.Context, *WaitForHealthyRequest) (*WaitForHealthyResponse, error) Status(context.Context, *StatusRequest) (*StatusResponse, error) StreamStatus(*StreamStatusRequest, ControlService_StreamStatusServer) error RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error) AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error) RestartNode(context.Context, *RestartNodeRequest) (*RestartNodeResponse, error) PauseNode(context.Context, *PauseNodeRequest) (*PauseNodeResponse, error) ResumeNode(context.Context, *ResumeNodeRequest) (*ResumeNodeResponse, error) Stop(context.Context, *StopRequest) (*StopResponse, error) AttachPeer(context.Context, *AttachPeerRequest) (*AttachPeerResponse, error) SendOutboundMessage(context.Context, *SendOutboundMessageRequest) (*SendOutboundMessageResponse, error) SaveSnapshot(context.Context, *SaveSnapshotRequest) (*SaveSnapshotResponse, error) LoadSnapshot(context.Context, *LoadSnapshotRequest) (*LoadSnapshotResponse, error) RemoveSnapshot(context.Context, *RemoveSnapshotRequest) (*RemoveSnapshotResponse, error) GetSnapshotNames(context.Context, *GetSnapshotNamesRequest) (*GetSnapshotNamesResponse, error) // contains filtered or unexported methods }
ControlServiceServer is the server API for ControlService service. All implementations must embed UnimplementedControlServiceServer for forward compatibility
type ControlService_StreamStatusClient ¶
type ControlService_StreamStatusClient interface { Recv() (*StreamStatusResponse, error) grpc.ClientStream }
type ControlService_StreamStatusServer ¶
type ControlService_StreamStatusServer interface { Send(*StreamStatusResponse) error grpc.ServerStream }
type CreateBlockchainsRequest ¶ added in v1.1.1
type CreateBlockchainsRequest struct { // The list of: // - custom chain's VM name // - genesis file path // - (optional) subnet id to use. // - chain config file path // - network upgrade file path // - subnet config file path // - chain config file path for specific nodes // // The matching file with the name in "ids.ID" format must exist. // e.g., ids.ToID(hashing.ComputeHash256("subnetevm")).String() // e.g., subnet-cli create VMID subnetevm // // If this field is set to none (by default), the node/network-runner // will return error BlockchainSpecs []*BlockchainSpec `protobuf:"bytes,1,rep,name=blockchain_specs,json=blockchainSpecs,proto3" json:"blockchain_specs,omitempty"` // contains filtered or unexported fields }
func (*CreateBlockchainsRequest) Descriptor
deprecated
added in
v1.1.1
func (*CreateBlockchainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBlockchainsRequest.ProtoReflect.Descriptor instead.
func (*CreateBlockchainsRequest) GetBlockchainSpecs ¶ added in v1.1.1
func (x *CreateBlockchainsRequest) GetBlockchainSpecs() []*BlockchainSpec
func (*CreateBlockchainsRequest) ProtoMessage ¶ added in v1.1.1
func (*CreateBlockchainsRequest) ProtoMessage()
func (*CreateBlockchainsRequest) ProtoReflect ¶ added in v1.1.1
func (x *CreateBlockchainsRequest) ProtoReflect() protoreflect.Message
func (*CreateBlockchainsRequest) Reset ¶ added in v1.1.1
func (x *CreateBlockchainsRequest) Reset()
func (*CreateBlockchainsRequest) String ¶ added in v1.1.1
func (x *CreateBlockchainsRequest) String() string
type CreateBlockchainsResponse ¶ added in v1.1.1
type CreateBlockchainsResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` ChainIds []string `protobuf:"bytes,2,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` // contains filtered or unexported fields }
func (*CreateBlockchainsResponse) Descriptor
deprecated
added in
v1.1.1
func (*CreateBlockchainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBlockchainsResponse.ProtoReflect.Descriptor instead.
func (*CreateBlockchainsResponse) GetChainIds ¶ added in v1.4.0
func (x *CreateBlockchainsResponse) GetChainIds() []string
func (*CreateBlockchainsResponse) GetClusterInfo ¶ added in v1.1.1
func (x *CreateBlockchainsResponse) GetClusterInfo() *ClusterInfo
func (*CreateBlockchainsResponse) ProtoMessage ¶ added in v1.1.1
func (*CreateBlockchainsResponse) ProtoMessage()
func (*CreateBlockchainsResponse) ProtoReflect ¶ added in v1.1.1
func (x *CreateBlockchainsResponse) ProtoReflect() protoreflect.Message
func (*CreateBlockchainsResponse) Reset ¶ added in v1.1.1
func (x *CreateBlockchainsResponse) Reset()
func (*CreateBlockchainsResponse) String ¶ added in v1.1.1
func (x *CreateBlockchainsResponse) String() string
type CreateSubnetsRequest ¶ added in v1.1.1
type CreateSubnetsRequest struct { SubnetSpecs []*SubnetSpec `protobuf:"bytes,1,rep,name=subnet_specs,json=subnetSpecs,proto3" json:"subnet_specs,omitempty"` // contains filtered or unexported fields }
func (*CreateSubnetsRequest) Descriptor
deprecated
added in
v1.1.1
func (*CreateSubnetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubnetsRequest.ProtoReflect.Descriptor instead.
func (*CreateSubnetsRequest) GetSubnetSpecs ¶ added in v1.4.0
func (x *CreateSubnetsRequest) GetSubnetSpecs() []*SubnetSpec
func (*CreateSubnetsRequest) ProtoMessage ¶ added in v1.1.1
func (*CreateSubnetsRequest) ProtoMessage()
func (*CreateSubnetsRequest) ProtoReflect ¶ added in v1.1.1
func (x *CreateSubnetsRequest) ProtoReflect() protoreflect.Message
func (*CreateSubnetsRequest) Reset ¶ added in v1.1.1
func (x *CreateSubnetsRequest) Reset()
func (*CreateSubnetsRequest) String ¶ added in v1.1.1
func (x *CreateSubnetsRequest) String() string
type CreateSubnetsResponse ¶ added in v1.1.1
type CreateSubnetsResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` SubnetIds []string `protobuf:"bytes,2,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"` // contains filtered or unexported fields }
func (*CreateSubnetsResponse) Descriptor
deprecated
added in
v1.1.1
func (*CreateSubnetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubnetsResponse.ProtoReflect.Descriptor instead.
func (*CreateSubnetsResponse) GetClusterInfo ¶ added in v1.1.1
func (x *CreateSubnetsResponse) GetClusterInfo() *ClusterInfo
func (*CreateSubnetsResponse) GetSubnetIds ¶ added in v1.4.0
func (x *CreateSubnetsResponse) GetSubnetIds() []string
func (*CreateSubnetsResponse) ProtoMessage ¶ added in v1.1.1
func (*CreateSubnetsResponse) ProtoMessage()
func (*CreateSubnetsResponse) ProtoReflect ¶ added in v1.1.1
func (x *CreateSubnetsResponse) ProtoReflect() protoreflect.Message
func (*CreateSubnetsResponse) Reset ¶ added in v1.1.1
func (x *CreateSubnetsResponse) Reset()
func (*CreateSubnetsResponse) String ¶ added in v1.1.1
func (x *CreateSubnetsResponse) String() string
type CustomChainInfo ¶ added in v1.2.0
type CustomChainInfo struct { // Blockchain name given to the create blockchain TX // Currently used to keep a record of the VM name, // which is not saved anywhere and can't be recovered from VM ID ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` // VM ID in "ids.ID" format. VmId string `protobuf:"bytes,2,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` // Create subnet transaction ID -- subnet ID. // The subnet ID must be whitelisted by the avalanche node. SubnetId string `protobuf:"bytes,3,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` // Create blockchain transaction ID -- blockchain ID> // The blockchain ID is used for RPC endpoints. ChainId string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
func (*CustomChainInfo) Descriptor
deprecated
added in
v1.2.0
func (*CustomChainInfo) Descriptor() ([]byte, []int)
Deprecated: Use CustomChainInfo.ProtoReflect.Descriptor instead.
func (*CustomChainInfo) GetChainId ¶ added in v1.2.0
func (x *CustomChainInfo) GetChainId() string
func (*CustomChainInfo) GetChainName ¶ added in v1.2.0
func (x *CustomChainInfo) GetChainName() string
func (*CustomChainInfo) GetSubnetId ¶ added in v1.2.0
func (x *CustomChainInfo) GetSubnetId() string
func (*CustomChainInfo) GetVmId ¶ added in v1.2.0
func (x *CustomChainInfo) GetVmId() string
func (*CustomChainInfo) ProtoMessage ¶ added in v1.2.0
func (*CustomChainInfo) ProtoMessage()
func (*CustomChainInfo) ProtoReflect ¶ added in v1.2.0
func (x *CustomChainInfo) ProtoReflect() protoreflect.Message
func (*CustomChainInfo) Reset ¶ added in v1.2.0
func (x *CustomChainInfo) Reset()
func (*CustomChainInfo) String ¶ added in v1.2.0
func (x *CustomChainInfo) String() string
type GetSnapshotNamesRequest ¶ added in v1.0.17
type GetSnapshotNamesRequest struct {
// contains filtered or unexported fields
}
func (*GetSnapshotNamesRequest) Descriptor
deprecated
added in
v1.0.17
func (*GetSnapshotNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotNamesRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotNamesRequest) ProtoMessage ¶ added in v1.0.17
func (*GetSnapshotNamesRequest) ProtoMessage()
func (*GetSnapshotNamesRequest) ProtoReflect ¶ added in v1.0.17
func (x *GetSnapshotNamesRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotNamesRequest) Reset ¶ added in v1.0.17
func (x *GetSnapshotNamesRequest) Reset()
func (*GetSnapshotNamesRequest) String ¶ added in v1.0.17
func (x *GetSnapshotNamesRequest) String() string
type GetSnapshotNamesResponse ¶ added in v1.0.17
type GetSnapshotNamesResponse struct { SnapshotNames []string `protobuf:"bytes,1,rep,name=snapshot_names,json=snapshotNames,proto3" json:"snapshot_names,omitempty"` // contains filtered or unexported fields }
func (*GetSnapshotNamesResponse) Descriptor
deprecated
added in
v1.0.17
func (*GetSnapshotNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotNamesResponse.ProtoReflect.Descriptor instead.
func (*GetSnapshotNamesResponse) GetSnapshotNames ¶ added in v1.0.17
func (x *GetSnapshotNamesResponse) GetSnapshotNames() []string
func (*GetSnapshotNamesResponse) ProtoMessage ¶ added in v1.0.17
func (*GetSnapshotNamesResponse) ProtoMessage()
func (*GetSnapshotNamesResponse) ProtoReflect ¶ added in v1.0.17
func (x *GetSnapshotNamesResponse) ProtoReflect() protoreflect.Message
func (*GetSnapshotNamesResponse) Reset ¶ added in v1.0.17
func (x *GetSnapshotNamesResponse) Reset()
func (*GetSnapshotNamesResponse) String ¶ added in v1.0.17
func (x *GetSnapshotNamesResponse) String() string
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetClusterInfo ¶
func (x *HealthResponse) GetClusterInfo() *ClusterInfo
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type ListOfAttachedPeerInfo ¶ added in v1.0.10
type ListOfAttachedPeerInfo struct { Peers []*AttachedPeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
func (*ListOfAttachedPeerInfo) Descriptor
deprecated
added in
v1.0.10
func (*ListOfAttachedPeerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ListOfAttachedPeerInfo.ProtoReflect.Descriptor instead.
func (*ListOfAttachedPeerInfo) GetPeers ¶ added in v1.0.10
func (x *ListOfAttachedPeerInfo) GetPeers() []*AttachedPeerInfo
func (*ListOfAttachedPeerInfo) ProtoMessage ¶ added in v1.0.10
func (*ListOfAttachedPeerInfo) ProtoMessage()
func (*ListOfAttachedPeerInfo) ProtoReflect ¶ added in v1.0.10
func (x *ListOfAttachedPeerInfo) ProtoReflect() protoreflect.Message
func (*ListOfAttachedPeerInfo) Reset ¶ added in v1.0.10
func (x *ListOfAttachedPeerInfo) Reset()
func (*ListOfAttachedPeerInfo) String ¶ added in v1.0.10
func (x *ListOfAttachedPeerInfo) String() string
type LoadSnapshotRequest ¶ added in v1.0.17
type LoadSnapshotRequest struct { SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"` ExecPath *string `protobuf:"bytes,2,opt,name=exec_path,json=execPath,proto3,oneof" json:"exec_path,omitempty"` PluginDir string `protobuf:"bytes,3,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"` RootDataDir *string `protobuf:"bytes,4,opt,name=root_data_dir,json=rootDataDir,proto3,oneof" json:"root_data_dir,omitempty"` ChainConfigs map[string]string `` /* 185-byte string literal not displayed */ UpgradeConfigs map[string]string `` /* 191-byte string literal not displayed */ GlobalNodeConfig *string `protobuf:"bytes,7,opt,name=global_node_config,json=globalNodeConfig,proto3,oneof" json:"global_node_config,omitempty"` ReassignPortsIfUsed *bool `` /* 129-byte string literal not displayed */ SubnetConfigs map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LoadSnapshotRequest) Descriptor
deprecated
added in
v1.0.17
func (*LoadSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadSnapshotRequest.ProtoReflect.Descriptor instead.
func (*LoadSnapshotRequest) GetChainConfigs ¶ added in v1.1.3
func (x *LoadSnapshotRequest) GetChainConfigs() map[string]string
func (*LoadSnapshotRequest) GetExecPath ¶ added in v1.1.1
func (x *LoadSnapshotRequest) GetExecPath() string
func (*LoadSnapshotRequest) GetGlobalNodeConfig ¶ added in v1.1.4
func (x *LoadSnapshotRequest) GetGlobalNodeConfig() string
func (*LoadSnapshotRequest) GetPluginDir ¶ added in v1.1.1
func (x *LoadSnapshotRequest) GetPluginDir() string
func (*LoadSnapshotRequest) GetReassignPortsIfUsed ¶ added in v1.2.3
func (x *LoadSnapshotRequest) GetReassignPortsIfUsed() bool
func (*LoadSnapshotRequest) GetRootDataDir ¶ added in v1.1.1
func (x *LoadSnapshotRequest) GetRootDataDir() string
func (*LoadSnapshotRequest) GetSnapshotName ¶ added in v1.0.17
func (x *LoadSnapshotRequest) GetSnapshotName() string
func (*LoadSnapshotRequest) GetSubnetConfigs ¶ added in v1.3.2
func (x *LoadSnapshotRequest) GetSubnetConfigs() map[string]string
func (*LoadSnapshotRequest) GetUpgradeConfigs ¶ added in v1.2.1
func (x *LoadSnapshotRequest) GetUpgradeConfigs() map[string]string
func (*LoadSnapshotRequest) ProtoMessage ¶ added in v1.0.17
func (*LoadSnapshotRequest) ProtoMessage()
func (*LoadSnapshotRequest) ProtoReflect ¶ added in v1.0.17
func (x *LoadSnapshotRequest) ProtoReflect() protoreflect.Message
func (*LoadSnapshotRequest) Reset ¶ added in v1.0.17
func (x *LoadSnapshotRequest) Reset()
func (*LoadSnapshotRequest) String ¶ added in v1.0.17
func (x *LoadSnapshotRequest) String() string
type LoadSnapshotResponse ¶ added in v1.0.17
type LoadSnapshotResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*LoadSnapshotResponse) Descriptor
deprecated
added in
v1.0.17
func (*LoadSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoadSnapshotResponse.ProtoReflect.Descriptor instead.
func (*LoadSnapshotResponse) GetClusterInfo ¶ added in v1.0.17
func (x *LoadSnapshotResponse) GetClusterInfo() *ClusterInfo
func (*LoadSnapshotResponse) ProtoMessage ¶ added in v1.0.17
func (*LoadSnapshotResponse) ProtoMessage()
func (*LoadSnapshotResponse) ProtoReflect ¶ added in v1.0.17
func (x *LoadSnapshotResponse) ProtoReflect() protoreflect.Message
func (*LoadSnapshotResponse) Reset ¶ added in v1.0.17
func (x *LoadSnapshotResponse) Reset()
func (*LoadSnapshotResponse) String ¶ added in v1.0.17
func (x *LoadSnapshotResponse) String() string
type NodeInfo ¶
type NodeInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ExecPath string `protobuf:"bytes,2,opt,name=exec_path,json=execPath,proto3" json:"exec_path,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` LogDir string `protobuf:"bytes,5,opt,name=log_dir,json=logDir,proto3" json:"log_dir,omitempty"` DbDir string `protobuf:"bytes,6,opt,name=db_dir,json=dbDir,proto3" json:"db_dir,omitempty"` PluginDir string `protobuf:"bytes,7,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"` WhitelistedSubnets string `protobuf:"bytes,8,opt,name=whitelisted_subnets,json=whitelistedSubnets,proto3" json:"whitelisted_subnets,omitempty"` Config []byte `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"` Paused bool `protobuf:"varint,10,opt,name=paused,proto3" json:"paused,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetExecPath ¶
func (*NodeInfo) GetPluginDir ¶ added in v1.0.11
func (*NodeInfo) GetWhitelistedSubnets ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type PauseNodeRequest ¶ added in v1.4.0
type PauseNodeRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PauseNodeRequest) Descriptor
deprecated
added in
v1.4.0
func (*PauseNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseNodeRequest.ProtoReflect.Descriptor instead.
func (*PauseNodeRequest) GetName ¶ added in v1.4.0
func (x *PauseNodeRequest) GetName() string
func (*PauseNodeRequest) ProtoMessage ¶ added in v1.4.0
func (*PauseNodeRequest) ProtoMessage()
func (*PauseNodeRequest) ProtoReflect ¶ added in v1.4.0
func (x *PauseNodeRequest) ProtoReflect() protoreflect.Message
func (*PauseNodeRequest) Reset ¶ added in v1.4.0
func (x *PauseNodeRequest) Reset()
func (*PauseNodeRequest) String ¶ added in v1.4.0
func (x *PauseNodeRequest) String() string
type PauseNodeResponse ¶ added in v1.4.0
type PauseNodeResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*PauseNodeResponse) Descriptor
deprecated
added in
v1.4.0
func (*PauseNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PauseNodeResponse.ProtoReflect.Descriptor instead.
func (*PauseNodeResponse) GetClusterInfo ¶ added in v1.4.0
func (x *PauseNodeResponse) GetClusterInfo() *ClusterInfo
func (*PauseNodeResponse) ProtoMessage ¶ added in v1.4.0
func (*PauseNodeResponse) ProtoMessage()
func (*PauseNodeResponse) ProtoReflect ¶ added in v1.4.0
func (x *PauseNodeResponse) ProtoReflect() protoreflect.Message
func (*PauseNodeResponse) Reset ¶ added in v1.4.0
func (x *PauseNodeResponse) Reset()
func (*PauseNodeResponse) String ¶ added in v1.4.0
func (x *PauseNodeResponse) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetPid ¶
func (x *PingResponse) GetPid() int32
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type PingServiceClient ¶
type PingServiceClient interface {
Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}
PingServiceClient is the client API for PingService 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 NewPingServiceClient ¶
func NewPingServiceClient(cc grpc.ClientConnInterface) PingServiceClient
type PingServiceServer ¶
type PingServiceServer interface { Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
PingServiceServer is the server API for PingService service. All implementations must embed UnimplementedPingServiceServer for forward compatibility
type RPCVersionRequest ¶ added in v1.3.8
type RPCVersionRequest struct {
// contains filtered or unexported fields
}
func (*RPCVersionRequest) Descriptor
deprecated
added in
v1.3.8
func (*RPCVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RPCVersionRequest.ProtoReflect.Descriptor instead.
func (*RPCVersionRequest) ProtoMessage ¶ added in v1.3.8
func (*RPCVersionRequest) ProtoMessage()
func (*RPCVersionRequest) ProtoReflect ¶ added in v1.3.8
func (x *RPCVersionRequest) ProtoReflect() protoreflect.Message
func (*RPCVersionRequest) Reset ¶ added in v1.3.8
func (x *RPCVersionRequest) Reset()
func (*RPCVersionRequest) String ¶ added in v1.3.8
func (x *RPCVersionRequest) String() string
type RPCVersionResponse ¶ added in v1.3.8
type RPCVersionResponse struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*RPCVersionResponse) Descriptor
deprecated
added in
v1.3.8
func (*RPCVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RPCVersionResponse.ProtoReflect.Descriptor instead.
func (*RPCVersionResponse) GetVersion ¶ added in v1.3.8
func (x *RPCVersionResponse) GetVersion() uint32
func (*RPCVersionResponse) ProtoMessage ¶ added in v1.3.8
func (*RPCVersionResponse) ProtoMessage()
func (*RPCVersionResponse) ProtoReflect ¶ added in v1.3.8
func (x *RPCVersionResponse) ProtoReflect() protoreflect.Message
func (*RPCVersionResponse) Reset ¶ added in v1.3.8
func (x *RPCVersionResponse) Reset()
func (*RPCVersionResponse) String ¶ added in v1.3.8
func (x *RPCVersionResponse) String() string
type RemoveNodeRequest ¶
type RemoveNodeRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RemoveNodeRequest) Descriptor
deprecated
func (*RemoveNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNodeRequest.ProtoReflect.Descriptor instead.
func (*RemoveNodeRequest) GetName ¶
func (x *RemoveNodeRequest) GetName() string
func (*RemoveNodeRequest) ProtoMessage ¶
func (*RemoveNodeRequest) ProtoMessage()
func (*RemoveNodeRequest) ProtoReflect ¶
func (x *RemoveNodeRequest) ProtoReflect() protoreflect.Message
func (*RemoveNodeRequest) Reset ¶
func (x *RemoveNodeRequest) Reset()
func (*RemoveNodeRequest) String ¶
func (x *RemoveNodeRequest) String() string
type RemoveNodeResponse ¶
type RemoveNodeResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*RemoveNodeResponse) Descriptor
deprecated
func (*RemoveNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNodeResponse.ProtoReflect.Descriptor instead.
func (*RemoveNodeResponse) GetClusterInfo ¶
func (x *RemoveNodeResponse) GetClusterInfo() *ClusterInfo
func (*RemoveNodeResponse) ProtoMessage ¶
func (*RemoveNodeResponse) ProtoMessage()
func (*RemoveNodeResponse) ProtoReflect ¶
func (x *RemoveNodeResponse) ProtoReflect() protoreflect.Message
func (*RemoveNodeResponse) Reset ¶
func (x *RemoveNodeResponse) Reset()
func (*RemoveNodeResponse) String ¶
func (x *RemoveNodeResponse) String() string
type RemoveSnapshotRequest ¶ added in v1.0.17
type RemoveSnapshotRequest struct { SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"` // contains filtered or unexported fields }
func (*RemoveSnapshotRequest) Descriptor
deprecated
added in
v1.0.17
func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RemoveSnapshotRequest) GetSnapshotName ¶ added in v1.0.17
func (x *RemoveSnapshotRequest) GetSnapshotName() string
func (*RemoveSnapshotRequest) ProtoMessage ¶ added in v1.0.17
func (*RemoveSnapshotRequest) ProtoMessage()
func (*RemoveSnapshotRequest) ProtoReflect ¶ added in v1.0.17
func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message
func (*RemoveSnapshotRequest) Reset ¶ added in v1.0.17
func (x *RemoveSnapshotRequest) Reset()
func (*RemoveSnapshotRequest) String ¶ added in v1.0.17
func (x *RemoveSnapshotRequest) String() string
type RemoveSnapshotResponse ¶ added in v1.0.17
type RemoveSnapshotResponse struct {
// contains filtered or unexported fields
}
func (*RemoveSnapshotResponse) Descriptor
deprecated
added in
v1.0.17
func (*RemoveSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSnapshotResponse.ProtoReflect.Descriptor instead.
func (*RemoveSnapshotResponse) ProtoMessage ¶ added in v1.0.17
func (*RemoveSnapshotResponse) ProtoMessage()
func (*RemoveSnapshotResponse) ProtoReflect ¶ added in v1.0.17
func (x *RemoveSnapshotResponse) ProtoReflect() protoreflect.Message
func (*RemoveSnapshotResponse) Reset ¶ added in v1.0.17
func (x *RemoveSnapshotResponse) Reset()
func (*RemoveSnapshotResponse) String ¶ added in v1.0.17
func (x *RemoveSnapshotResponse) String() string
type RestartNodeRequest ¶
type RestartNodeRequest struct { // Must be a valid node name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional fields are set to the previous values if empty. ExecPath *string `protobuf:"bytes,2,opt,name=exec_path,json=execPath,proto3,oneof" json:"exec_path,omitempty"` WhitelistedSubnets *string `protobuf:"bytes,3,opt,name=whitelisted_subnets,json=whitelistedSubnets,proto3,oneof" json:"whitelisted_subnets,omitempty"` // Map of chain name to config file contents. // If specified, will create a file "chainname/config.json" with // the contents provided here. ChainConfigs map[string]string `` /* 185-byte string literal not displayed */ // Map of chain name to config file contents. // If specified, will create a file "chainname/upgrade.json" with // the contents provided here. UpgradeConfigs map[string]string `` /* 191-byte string literal not displayed */ // Map of subnet id to subnet config file contents. // If specified, will create a file "subnetid.json" under subnets config dir with // the contents provided here. SubnetConfigs map[string]string `` /* 188-byte string literal not displayed */ // Plugin dir from which to load all custom VM executables. PluginDir string `protobuf:"bytes,7,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"` // contains filtered or unexported fields }
func (*RestartNodeRequest) Descriptor
deprecated
func (*RestartNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartNodeRequest.ProtoReflect.Descriptor instead.
func (*RestartNodeRequest) GetChainConfigs ¶ added in v1.2.1
func (x *RestartNodeRequest) GetChainConfigs() map[string]string
func (*RestartNodeRequest) GetExecPath ¶ added in v1.0.11
func (x *RestartNodeRequest) GetExecPath() string
func (*RestartNodeRequest) GetName ¶
func (x *RestartNodeRequest) GetName() string
func (*RestartNodeRequest) GetPluginDir ¶ added in v1.3.5
func (x *RestartNodeRequest) GetPluginDir() string
func (*RestartNodeRequest) GetSubnetConfigs ¶ added in v1.3.2
func (x *RestartNodeRequest) GetSubnetConfigs() map[string]string
func (*RestartNodeRequest) GetUpgradeConfigs ¶ added in v1.2.1
func (x *RestartNodeRequest) GetUpgradeConfigs() map[string]string
func (*RestartNodeRequest) GetWhitelistedSubnets ¶ added in v1.0.11
func (x *RestartNodeRequest) GetWhitelistedSubnets() string
func (*RestartNodeRequest) ProtoMessage ¶
func (*RestartNodeRequest) ProtoMessage()
func (*RestartNodeRequest) ProtoReflect ¶
func (x *RestartNodeRequest) ProtoReflect() protoreflect.Message
func (*RestartNodeRequest) Reset ¶
func (x *RestartNodeRequest) Reset()
func (*RestartNodeRequest) String ¶
func (x *RestartNodeRequest) String() string
type RestartNodeResponse ¶
type RestartNodeResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*RestartNodeResponse) Descriptor
deprecated
func (*RestartNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestartNodeResponse.ProtoReflect.Descriptor instead.
func (*RestartNodeResponse) GetClusterInfo ¶
func (x *RestartNodeResponse) GetClusterInfo() *ClusterInfo
func (*RestartNodeResponse) ProtoMessage ¶
func (*RestartNodeResponse) ProtoMessage()
func (*RestartNodeResponse) ProtoReflect ¶
func (x *RestartNodeResponse) ProtoReflect() protoreflect.Message
func (*RestartNodeResponse) Reset ¶
func (x *RestartNodeResponse) Reset()
func (*RestartNodeResponse) String ¶
func (x *RestartNodeResponse) String() string
type ResumeNodeRequest ¶ added in v1.4.0
type ResumeNodeRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ResumeNodeRequest) Descriptor
deprecated
added in
v1.4.0
func (*ResumeNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeNodeRequest.ProtoReflect.Descriptor instead.
func (*ResumeNodeRequest) GetName ¶ added in v1.4.0
func (x *ResumeNodeRequest) GetName() string
func (*ResumeNodeRequest) ProtoMessage ¶ added in v1.4.0
func (*ResumeNodeRequest) ProtoMessage()
func (*ResumeNodeRequest) ProtoReflect ¶ added in v1.4.0
func (x *ResumeNodeRequest) ProtoReflect() protoreflect.Message
func (*ResumeNodeRequest) Reset ¶ added in v1.4.0
func (x *ResumeNodeRequest) Reset()
func (*ResumeNodeRequest) String ¶ added in v1.4.0
func (x *ResumeNodeRequest) String() string
type ResumeNodeResponse ¶ added in v1.4.0
type ResumeNodeResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*ResumeNodeResponse) Descriptor
deprecated
added in
v1.4.0
func (*ResumeNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeNodeResponse.ProtoReflect.Descriptor instead.
func (*ResumeNodeResponse) GetClusterInfo ¶ added in v1.4.0
func (x *ResumeNodeResponse) GetClusterInfo() *ClusterInfo
func (*ResumeNodeResponse) ProtoMessage ¶ added in v1.4.0
func (*ResumeNodeResponse) ProtoMessage()
func (*ResumeNodeResponse) ProtoReflect ¶ added in v1.4.0
func (x *ResumeNodeResponse) ProtoReflect() protoreflect.Message
func (*ResumeNodeResponse) Reset ¶ added in v1.4.0
func (x *ResumeNodeResponse) Reset()
func (*ResumeNodeResponse) String ¶ added in v1.4.0
func (x *ResumeNodeResponse) String() string
type SaveSnapshotRequest ¶ added in v1.0.17
type SaveSnapshotRequest struct { SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"` // contains filtered or unexported fields }
func (*SaveSnapshotRequest) Descriptor
deprecated
added in
v1.0.17
func (*SaveSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveSnapshotRequest.ProtoReflect.Descriptor instead.
func (*SaveSnapshotRequest) GetSnapshotName ¶ added in v1.0.17
func (x *SaveSnapshotRequest) GetSnapshotName() string
func (*SaveSnapshotRequest) ProtoMessage ¶ added in v1.0.17
func (*SaveSnapshotRequest) ProtoMessage()
func (*SaveSnapshotRequest) ProtoReflect ¶ added in v1.0.17
func (x *SaveSnapshotRequest) ProtoReflect() protoreflect.Message
func (*SaveSnapshotRequest) Reset ¶ added in v1.0.17
func (x *SaveSnapshotRequest) Reset()
func (*SaveSnapshotRequest) String ¶ added in v1.0.17
func (x *SaveSnapshotRequest) String() string
type SaveSnapshotResponse ¶ added in v1.0.17
type SaveSnapshotResponse struct { SnapshotPath string `protobuf:"bytes,1,opt,name=snapshot_path,json=snapshotPath,proto3" json:"snapshot_path,omitempty"` // contains filtered or unexported fields }
func (*SaveSnapshotResponse) Descriptor
deprecated
added in
v1.0.17
func (*SaveSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveSnapshotResponse.ProtoReflect.Descriptor instead.
func (*SaveSnapshotResponse) GetSnapshotPath ¶ added in v1.0.17
func (x *SaveSnapshotResponse) GetSnapshotPath() string
func (*SaveSnapshotResponse) ProtoMessage ¶ added in v1.0.17
func (*SaveSnapshotResponse) ProtoMessage()
func (*SaveSnapshotResponse) ProtoReflect ¶ added in v1.0.17
func (x *SaveSnapshotResponse) ProtoReflect() protoreflect.Message
func (*SaveSnapshotResponse) Reset ¶ added in v1.0.17
func (x *SaveSnapshotResponse) Reset()
func (*SaveSnapshotResponse) String ¶ added in v1.0.17
func (x *SaveSnapshotResponse) String() string
type SendOutboundMessageRequest ¶ added in v1.0.10
type SendOutboundMessageRequest struct { NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Op uint32 `protobuf:"varint,3,opt,name=op,proto3" json:"op,omitempty"` Bytes []byte `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*SendOutboundMessageRequest) Descriptor
deprecated
added in
v1.0.10
func (*SendOutboundMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendOutboundMessageRequest.ProtoReflect.Descriptor instead.
func (*SendOutboundMessageRequest) GetBytes ¶ added in v1.0.10
func (x *SendOutboundMessageRequest) GetBytes() []byte
func (*SendOutboundMessageRequest) GetNodeName ¶ added in v1.0.10
func (x *SendOutboundMessageRequest) GetNodeName() string
func (*SendOutboundMessageRequest) GetOp ¶ added in v1.0.10
func (x *SendOutboundMessageRequest) GetOp() uint32
func (*SendOutboundMessageRequest) GetPeerId ¶ added in v1.0.10
func (x *SendOutboundMessageRequest) GetPeerId() string
func (*SendOutboundMessageRequest) ProtoMessage ¶ added in v1.0.10
func (*SendOutboundMessageRequest) ProtoMessage()
func (*SendOutboundMessageRequest) ProtoReflect ¶ added in v1.0.10
func (x *SendOutboundMessageRequest) ProtoReflect() protoreflect.Message
func (*SendOutboundMessageRequest) Reset ¶ added in v1.0.10
func (x *SendOutboundMessageRequest) Reset()
func (*SendOutboundMessageRequest) String ¶ added in v1.0.10
func (x *SendOutboundMessageRequest) String() string
type SendOutboundMessageResponse ¶ added in v1.0.10
type SendOutboundMessageResponse struct { Sent bool `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"` // contains filtered or unexported fields }
func (*SendOutboundMessageResponse) Descriptor
deprecated
added in
v1.0.10
func (*SendOutboundMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendOutboundMessageResponse.ProtoReflect.Descriptor instead.
func (*SendOutboundMessageResponse) GetSent ¶ added in v1.0.10
func (x *SendOutboundMessageResponse) GetSent() bool
func (*SendOutboundMessageResponse) ProtoMessage ¶ added in v1.0.10
func (*SendOutboundMessageResponse) ProtoMessage()
func (*SendOutboundMessageResponse) ProtoReflect ¶ added in v1.0.10
func (x *SendOutboundMessageResponse) ProtoReflect() protoreflect.Message
func (*SendOutboundMessageResponse) Reset ¶ added in v1.0.10
func (x *SendOutboundMessageResponse) Reset()
func (*SendOutboundMessageResponse) String ¶ added in v1.0.10
func (x *SendOutboundMessageResponse) String() string
type StartRequest ¶
type StartRequest struct { ExecPath string `protobuf:"bytes,1,opt,name=exec_path,json=execPath,proto3" json:"exec_path,omitempty"` NumNodes *uint32 `protobuf:"varint,2,opt,name=num_nodes,json=numNodes,proto3,oneof" json:"num_nodes,omitempty"` WhitelistedSubnets *string `protobuf:"bytes,3,opt,name=whitelisted_subnets,json=whitelistedSubnets,proto3,oneof" json:"whitelisted_subnets,omitempty"` GlobalNodeConfig *string `protobuf:"bytes,4,opt,name=global_node_config,json=globalNodeConfig,proto3,oneof" json:"global_node_config,omitempty"` // Used for both database and log files. RootDataDir *string `protobuf:"bytes,5,opt,name=root_data_dir,json=rootDataDir,proto3,oneof" json:"root_data_dir,omitempty"` // Plugin dir from which to load all custom VM executables. PluginDir string `protobuf:"bytes,6,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"` // The list of: // - custom chain's VM name // - genesis file path // - (optional) subnet id to use. // - chain config file path // - network upgrade file path // // subnet id must be always nil when using StartRequest, as the network is empty and has no preloaded // subnet ids available. // // The matching file with the name in "ids.ID" format must exist. // e.g., ids.ToID(hashing.ComputeHash256("subnetevm")).String() // e.g., subnet-cli create VMID subnetevm // // If this field is set to none (by default), the node/network-runner // does not install the custom chain and does not create the subnet, // even if the VM binary exists on the local plugins directory. BlockchainSpecs []*BlockchainSpec `protobuf:"bytes,7,rep,name=blockchain_specs,json=blockchainSpecs,proto3" json:"blockchain_specs,omitempty"` CustomNodeConfigs map[string]string `` /* 202-byte string literal not displayed */ // Map of chain name to config file contents. // If specified, will create a file "chainname/config.json" with // the contents provided here. ChainConfigs map[string]string `` /* 185-byte string literal not displayed */ // Map of chain name to upgrade file contents. // If specified, will create a file "chainname/upgrade.json" with // the contents provided here. UpgradeConfigs map[string]string `` /* 192-byte string literal not displayed */ // reassign default/custom ports if they are already taken ReassignPortsIfUsed *bool `` /* 130-byte string literal not displayed */ // use dynamic ports instead of default ones DynamicPorts *bool `protobuf:"varint,12,opt,name=dynamic_ports,json=dynamicPorts,proto3,oneof" json:"dynamic_ports,omitempty"` // Map of subnet id to subnet config file contents. // If specified, will create a file "subnetid.json" under subnets config dir with // the contents provided here. SubnetConfigs map[string]string `` /* 189-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) GetBlockchainSpecs ¶ added in v1.2.0
func (x *StartRequest) GetBlockchainSpecs() []*BlockchainSpec
func (*StartRequest) GetChainConfigs ¶ added in v1.1.3
func (x *StartRequest) GetChainConfigs() map[string]string
func (*StartRequest) GetCustomNodeConfigs ¶ added in v1.0.13
func (x *StartRequest) GetCustomNodeConfigs() map[string]string
func (*StartRequest) GetDynamicPorts ¶ added in v1.2.3
func (x *StartRequest) GetDynamicPorts() bool
func (*StartRequest) GetExecPath ¶
func (x *StartRequest) GetExecPath() string
func (*StartRequest) GetGlobalNodeConfig ¶ added in v1.0.13
func (x *StartRequest) GetGlobalNodeConfig() string
func (*StartRequest) GetNumNodes ¶ added in v1.0.9
func (x *StartRequest) GetNumNodes() uint32
func (*StartRequest) GetPluginDir ¶ added in v1.0.11
func (x *StartRequest) GetPluginDir() string
func (*StartRequest) GetReassignPortsIfUsed ¶ added in v1.2.3
func (x *StartRequest) GetReassignPortsIfUsed() bool
func (*StartRequest) GetRootDataDir ¶ added in v1.0.9
func (x *StartRequest) GetRootDataDir() string
func (*StartRequest) GetSubnetConfigs ¶ added in v1.3.2
func (x *StartRequest) GetSubnetConfigs() map[string]string
func (*StartRequest) GetUpgradeConfigs ¶ added in v1.2.1
func (x *StartRequest) GetUpgradeConfigs() map[string]string
func (*StartRequest) GetWhitelistedSubnets ¶
func (x *StartRequest) GetWhitelistedSubnets() string
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type StartResponse ¶
type StartResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` ChainIds []string `protobuf:"bytes,2,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` // contains filtered or unexported fields }
func (*StartResponse) Descriptor
deprecated
func (*StartResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
func (*StartResponse) GetChainIds ¶ added in v1.4.0
func (x *StartResponse) GetChainIds() []string
func (*StartResponse) GetClusterInfo ¶
func (x *StartResponse) GetClusterInfo() *ClusterInfo
func (*StartResponse) ProtoMessage ¶
func (*StartResponse) ProtoMessage()
func (*StartResponse) ProtoReflect ¶
func (x *StartResponse) ProtoReflect() protoreflect.Message
func (*StartResponse) Reset ¶
func (x *StartResponse) Reset()
func (*StartResponse) String ¶
func (x *StartResponse) String() string
type StatusRequest ¶
type StatusRequest struct {
// contains filtered or unexported fields
}
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetClusterInfo ¶
func (x *StatusResponse) GetClusterInfo() *ClusterInfo
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StopRequest ¶
type StopRequest struct {
// contains filtered or unexported fields
}
func (*StopRequest) Descriptor
deprecated
func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type StopResponse ¶
type StopResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*StopResponse) Descriptor
deprecated
func (*StopResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
func (*StopResponse) GetClusterInfo ¶
func (x *StopResponse) GetClusterInfo() *ClusterInfo
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) ProtoReflect ¶
func (x *StopResponse) ProtoReflect() protoreflect.Message
func (*StopResponse) Reset ¶
func (x *StopResponse) Reset()
func (*StopResponse) String ¶
func (x *StopResponse) String() string
type StreamStatusRequest ¶
type StreamStatusRequest struct { PushInterval int64 `protobuf:"varint,1,opt,name=push_interval,json=pushInterval,proto3" json:"push_interval,omitempty"` // contains filtered or unexported fields }
func (*StreamStatusRequest) Descriptor
deprecated
func (*StreamStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamStatusRequest.ProtoReflect.Descriptor instead.
func (*StreamStatusRequest) GetPushInterval ¶
func (x *StreamStatusRequest) GetPushInterval() int64
func (*StreamStatusRequest) ProtoMessage ¶
func (*StreamStatusRequest) ProtoMessage()
func (*StreamStatusRequest) ProtoReflect ¶
func (x *StreamStatusRequest) ProtoReflect() protoreflect.Message
func (*StreamStatusRequest) Reset ¶
func (x *StreamStatusRequest) Reset()
func (*StreamStatusRequest) String ¶
func (x *StreamStatusRequest) String() string
type StreamStatusResponse ¶
type StreamStatusResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*StreamStatusResponse) Descriptor
deprecated
func (*StreamStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamStatusResponse.ProtoReflect.Descriptor instead.
func (*StreamStatusResponse) GetClusterInfo ¶
func (x *StreamStatusResponse) GetClusterInfo() *ClusterInfo
func (*StreamStatusResponse) ProtoMessage ¶
func (*StreamStatusResponse) ProtoMessage()
func (*StreamStatusResponse) ProtoReflect ¶
func (x *StreamStatusResponse) ProtoReflect() protoreflect.Message
func (*StreamStatusResponse) Reset ¶
func (x *StreamStatusResponse) Reset()
func (*StreamStatusResponse) String ¶
func (x *StreamStatusResponse) String() string
type SubnetParticipants ¶ added in v1.4.0
type SubnetParticipants struct { NodeNames []string `protobuf:"bytes,1,rep,name=node_names,json=nodeNames,proto3" json:"node_names,omitempty"` // contains filtered or unexported fields }
func (*SubnetParticipants) Descriptor
deprecated
added in
v1.4.0
func (*SubnetParticipants) Descriptor() ([]byte, []int)
Deprecated: Use SubnetParticipants.ProtoReflect.Descriptor instead.
func (*SubnetParticipants) GetNodeNames ¶ added in v1.4.0
func (x *SubnetParticipants) GetNodeNames() []string
func (*SubnetParticipants) ProtoMessage ¶ added in v1.4.0
func (*SubnetParticipants) ProtoMessage()
func (*SubnetParticipants) ProtoReflect ¶ added in v1.4.0
func (x *SubnetParticipants) ProtoReflect() protoreflect.Message
func (*SubnetParticipants) Reset ¶ added in v1.4.0
func (x *SubnetParticipants) Reset()
func (*SubnetParticipants) String ¶ added in v1.4.0
func (x *SubnetParticipants) String() string
type SubnetSpec ¶ added in v1.4.0
type SubnetSpec struct { // if empty, assumes all nodes should be participants Participants []string `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` SubnetConfig string `protobuf:"bytes,2,opt,name=subnet_config,json=subnetConfig,proto3" json:"subnet_config,omitempty"` // contains filtered or unexported fields }
func (*SubnetSpec) Descriptor
deprecated
added in
v1.4.0
func (*SubnetSpec) Descriptor() ([]byte, []int)
Deprecated: Use SubnetSpec.ProtoReflect.Descriptor instead.
func (*SubnetSpec) GetParticipants ¶ added in v1.4.0
func (x *SubnetSpec) GetParticipants() []string
func (*SubnetSpec) GetSubnetConfig ¶ added in v1.4.0
func (x *SubnetSpec) GetSubnetConfig() string
func (*SubnetSpec) ProtoMessage ¶ added in v1.4.0
func (*SubnetSpec) ProtoMessage()
func (*SubnetSpec) ProtoReflect ¶ added in v1.4.0
func (x *SubnetSpec) ProtoReflect() protoreflect.Message
func (*SubnetSpec) Reset ¶ added in v1.4.0
func (x *SubnetSpec) Reset()
func (*SubnetSpec) String ¶ added in v1.4.0
func (x *SubnetSpec) String() string
type URIsRequest ¶
type URIsRequest struct {
// contains filtered or unexported fields
}
func (*URIsRequest) Descriptor
deprecated
func (*URIsRequest) Descriptor() ([]byte, []int)
Deprecated: Use URIsRequest.ProtoReflect.Descriptor instead.
func (*URIsRequest) ProtoMessage ¶
func (*URIsRequest) ProtoMessage()
func (*URIsRequest) ProtoReflect ¶
func (x *URIsRequest) ProtoReflect() protoreflect.Message
func (*URIsRequest) Reset ¶
func (x *URIsRequest) Reset()
func (*URIsRequest) String ¶
func (x *URIsRequest) String() string
type URIsResponse ¶
type URIsResponse struct { Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // contains filtered or unexported fields }
func (*URIsResponse) Descriptor
deprecated
func (*URIsResponse) Descriptor() ([]byte, []int)
Deprecated: Use URIsResponse.ProtoReflect.Descriptor instead.
func (*URIsResponse) GetUris ¶
func (x *URIsResponse) GetUris() []string
func (*URIsResponse) ProtoMessage ¶
func (*URIsResponse) ProtoMessage()
func (*URIsResponse) ProtoReflect ¶
func (x *URIsResponse) ProtoReflect() protoreflect.Message
func (*URIsResponse) Reset ¶
func (x *URIsResponse) Reset()
func (*URIsResponse) String ¶
func (x *URIsResponse) String() string
type UnimplementedControlServiceServer ¶
type UnimplementedControlServiceServer struct { }
UnimplementedControlServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedControlServiceServer) AddNode ¶ added in v1.0.13
func (UnimplementedControlServiceServer) AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error)
func (UnimplementedControlServiceServer) AttachPeer ¶ added in v1.0.10
func (UnimplementedControlServiceServer) AttachPeer(context.Context, *AttachPeerRequest) (*AttachPeerResponse, error)
func (UnimplementedControlServiceServer) CreateBlockchains ¶ added in v1.1.1
func (UnimplementedControlServiceServer) CreateBlockchains(context.Context, *CreateBlockchainsRequest) (*CreateBlockchainsResponse, error)
func (UnimplementedControlServiceServer) CreateSubnets ¶ added in v1.1.1
func (UnimplementedControlServiceServer) CreateSubnets(context.Context, *CreateSubnetsRequest) (*CreateSubnetsResponse, error)
func (UnimplementedControlServiceServer) GetSnapshotNames ¶ added in v1.0.17
func (UnimplementedControlServiceServer) GetSnapshotNames(context.Context, *GetSnapshotNamesRequest) (*GetSnapshotNamesResponse, error)
func (UnimplementedControlServiceServer) Health ¶
func (UnimplementedControlServiceServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
func (UnimplementedControlServiceServer) LoadSnapshot ¶ added in v1.0.17
func (UnimplementedControlServiceServer) LoadSnapshot(context.Context, *LoadSnapshotRequest) (*LoadSnapshotResponse, error)
func (UnimplementedControlServiceServer) PauseNode ¶ added in v1.4.0
func (UnimplementedControlServiceServer) PauseNode(context.Context, *PauseNodeRequest) (*PauseNodeResponse, error)
func (UnimplementedControlServiceServer) RPCVersion ¶ added in v1.3.8
func (UnimplementedControlServiceServer) RPCVersion(context.Context, *RPCVersionRequest) (*RPCVersionResponse, error)
func (UnimplementedControlServiceServer) RemoveNode ¶
func (UnimplementedControlServiceServer) RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error)
func (UnimplementedControlServiceServer) RemoveSnapshot ¶ added in v1.0.17
func (UnimplementedControlServiceServer) RemoveSnapshot(context.Context, *RemoveSnapshotRequest) (*RemoveSnapshotResponse, error)
func (UnimplementedControlServiceServer) RestartNode ¶
func (UnimplementedControlServiceServer) RestartNode(context.Context, *RestartNodeRequest) (*RestartNodeResponse, error)
func (UnimplementedControlServiceServer) ResumeNode ¶ added in v1.4.0
func (UnimplementedControlServiceServer) ResumeNode(context.Context, *ResumeNodeRequest) (*ResumeNodeResponse, error)
func (UnimplementedControlServiceServer) SaveSnapshot ¶ added in v1.0.17
func (UnimplementedControlServiceServer) SaveSnapshot(context.Context, *SaveSnapshotRequest) (*SaveSnapshotResponse, error)
func (UnimplementedControlServiceServer) SendOutboundMessage ¶ added in v1.0.10
func (UnimplementedControlServiceServer) SendOutboundMessage(context.Context, *SendOutboundMessageRequest) (*SendOutboundMessageResponse, error)
func (UnimplementedControlServiceServer) Start ¶
func (UnimplementedControlServiceServer) Start(context.Context, *StartRequest) (*StartResponse, error)
func (UnimplementedControlServiceServer) Status ¶
func (UnimplementedControlServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
func (UnimplementedControlServiceServer) Stop ¶
func (UnimplementedControlServiceServer) Stop(context.Context, *StopRequest) (*StopResponse, error)
func (UnimplementedControlServiceServer) StreamStatus ¶
func (UnimplementedControlServiceServer) StreamStatus(*StreamStatusRequest, ControlService_StreamStatusServer) error
func (UnimplementedControlServiceServer) URIs ¶
func (UnimplementedControlServiceServer) URIs(context.Context, *URIsRequest) (*URIsResponse, error)
func (UnimplementedControlServiceServer) WaitForHealthy ¶ added in v1.3.6
func (UnimplementedControlServiceServer) WaitForHealthy(context.Context, *WaitForHealthyRequest) (*WaitForHealthyResponse, error)
type UnimplementedPingServiceServer ¶
type UnimplementedPingServiceServer struct { }
UnimplementedPingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPingServiceServer) Ping ¶
func (UnimplementedPingServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
type UnsafeControlServiceServer ¶
type UnsafeControlServiceServer interface {
// contains filtered or unexported methods
}
UnsafeControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControlServiceServer will result in compilation errors.
type UnsafePingServiceServer ¶
type UnsafePingServiceServer interface {
// contains filtered or unexported methods
}
UnsafePingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PingServiceServer will result in compilation errors.
type WaitForHealthyRequest ¶ added in v1.3.6
type WaitForHealthyRequest struct {
// contains filtered or unexported fields
}
func (*WaitForHealthyRequest) Descriptor
deprecated
added in
v1.3.6
func (*WaitForHealthyRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForHealthyRequest.ProtoReflect.Descriptor instead.
func (*WaitForHealthyRequest) ProtoMessage ¶ added in v1.3.6
func (*WaitForHealthyRequest) ProtoMessage()
func (*WaitForHealthyRequest) ProtoReflect ¶ added in v1.3.6
func (x *WaitForHealthyRequest) ProtoReflect() protoreflect.Message
func (*WaitForHealthyRequest) Reset ¶ added in v1.3.6
func (x *WaitForHealthyRequest) Reset()
func (*WaitForHealthyRequest) String ¶ added in v1.3.6
func (x *WaitForHealthyRequest) String() string
type WaitForHealthyResponse ¶ added in v1.3.6
type WaitForHealthyResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*WaitForHealthyResponse) Descriptor
deprecated
added in
v1.3.6
func (*WaitForHealthyResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForHealthyResponse.ProtoReflect.Descriptor instead.
func (*WaitForHealthyResponse) GetClusterInfo ¶ added in v1.3.6
func (x *WaitForHealthyResponse) GetClusterInfo() *ClusterInfo
func (*WaitForHealthyResponse) ProtoMessage ¶ added in v1.3.6
func (*WaitForHealthyResponse) ProtoMessage()
func (*WaitForHealthyResponse) ProtoReflect ¶ added in v1.3.6
func (x *WaitForHealthyResponse) ProtoReflect() protoreflect.Message
func (*WaitForHealthyResponse) Reset ¶ added in v1.3.6
func (x *WaitForHealthyResponse) Reset()
func (*WaitForHealthyResponse) String ¶ added in v1.3.6
func (x *WaitForHealthyResponse) String() string