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 AddPermissionlessValidatorRequest
- func (*AddPermissionlessValidatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddPermissionlessValidatorRequest) GetValidatorSpec() []*PermissionlessValidatorSpec
- func (*AddPermissionlessValidatorRequest) ProtoMessage()
- func (x *AddPermissionlessValidatorRequest) ProtoReflect() protoreflect.Message
- func (x *AddPermissionlessValidatorRequest) Reset()
- func (x *AddPermissionlessValidatorRequest) String() string
- type AddPermissionlessValidatorResponse
- func (*AddPermissionlessValidatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddPermissionlessValidatorResponse) GetClusterInfo() *ClusterInfo
- func (*AddPermissionlessValidatorResponse) ProtoMessage()
- func (x *AddPermissionlessValidatorResponse) ProtoReflect() protoreflect.Message
- func (x *AddPermissionlessValidatorResponse) Reset()
- func (x *AddPermissionlessValidatorResponse) String() string
- 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) GetSubnets() map[string]*SubnetInfo
- 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 ElasticSubnetSpec
- func (*ElasticSubnetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ElasticSubnetSpec) GetAssetName() string
- func (x *ElasticSubnetSpec) GetAssetSymbol() string
- func (x *ElasticSubnetSpec) GetInitialSupply() uint64
- func (x *ElasticSubnetSpec) GetMaxConsumptionRate() uint64
- func (x *ElasticSubnetSpec) GetMaxStakeDuration() uint64
- func (x *ElasticSubnetSpec) GetMaxSupply() uint64
- func (x *ElasticSubnetSpec) GetMaxValidatorStake() uint64
- func (x *ElasticSubnetSpec) GetMaxValidatorWeightFactor() uint32
- func (x *ElasticSubnetSpec) GetMinConsumptionRate() uint64
- func (x *ElasticSubnetSpec) GetMinDelegationFee() uint32
- func (x *ElasticSubnetSpec) GetMinDelegatorStake() uint64
- func (x *ElasticSubnetSpec) GetMinStakeDuration() uint64
- func (x *ElasticSubnetSpec) GetMinValidatorStake() uint64
- func (x *ElasticSubnetSpec) GetSubnetId() string
- func (x *ElasticSubnetSpec) GetUptimeRequirement() uint32
- func (*ElasticSubnetSpec) ProtoMessage()
- func (x *ElasticSubnetSpec) ProtoReflect() protoreflect.Message
- func (x *ElasticSubnetSpec) Reset()
- func (x *ElasticSubnetSpec) 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 PermissionlessValidatorSpec
- func (*PermissionlessValidatorSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionlessValidatorSpec) GetAssetId() string
- func (x *PermissionlessValidatorSpec) GetNodeName() string
- func (x *PermissionlessValidatorSpec) GetStakeDuration() uint64
- func (x *PermissionlessValidatorSpec) GetStakedTokenAmount() uint64
- func (x *PermissionlessValidatorSpec) GetStartTime() string
- func (x *PermissionlessValidatorSpec) GetSubnetId() string
- func (*PermissionlessValidatorSpec) ProtoMessage()
- func (x *PermissionlessValidatorSpec) ProtoReflect() protoreflect.Message
- func (x *PermissionlessValidatorSpec) Reset()
- func (x *PermissionlessValidatorSpec) 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 RemoveSubnetValidatorRequest
- func (*RemoveSubnetValidatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSubnetValidatorRequest) GetValidatorSpec() []*RemoveSubnetValidatorSpec
- func (*RemoveSubnetValidatorRequest) ProtoMessage()
- func (x *RemoveSubnetValidatorRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSubnetValidatorRequest) Reset()
- func (x *RemoveSubnetValidatorRequest) String() string
- type RemoveSubnetValidatorResponse
- func (*RemoveSubnetValidatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSubnetValidatorResponse) GetClusterInfo() *ClusterInfo
- func (*RemoveSubnetValidatorResponse) ProtoMessage()
- func (x *RemoveSubnetValidatorResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveSubnetValidatorResponse) Reset()
- func (x *RemoveSubnetValidatorResponse) String() string
- type RemoveSubnetValidatorSpec
- func (*RemoveSubnetValidatorSpec) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSubnetValidatorSpec) GetNodeNames() []string
- func (x *RemoveSubnetValidatorSpec) GetSubnetId() string
- func (*RemoveSubnetValidatorSpec) ProtoMessage()
- func (x *RemoveSubnetValidatorSpec) ProtoReflect() protoreflect.Message
- func (x *RemoveSubnetValidatorSpec) Reset()
- func (x *RemoveSubnetValidatorSpec) String() string
- 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 SubnetInfo
- func (*SubnetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetInfo) GetElasticSubnetId() string
- func (x *SubnetInfo) GetIsElastic() bool
- func (x *SubnetInfo) GetSubnetParticipants() *SubnetParticipants
- func (*SubnetInfo) ProtoMessage()
- func (x *SubnetInfo) ProtoReflect() protoreflect.Message
- func (x *SubnetInfo) Reset()
- func (x *SubnetInfo) 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 TransformElasticSubnetsRequest
- func (*TransformElasticSubnetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransformElasticSubnetsRequest) GetElasticSubnetSpec() []*ElasticSubnetSpec
- func (*TransformElasticSubnetsRequest) ProtoMessage()
- func (x *TransformElasticSubnetsRequest) ProtoReflect() protoreflect.Message
- func (x *TransformElasticSubnetsRequest) Reset()
- func (x *TransformElasticSubnetsRequest) String() string
- type TransformElasticSubnetsResponse
- func (*TransformElasticSubnetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransformElasticSubnetsResponse) GetAssetIds() []string
- func (x *TransformElasticSubnetsResponse) GetClusterInfo() *ClusterInfo
- func (x *TransformElasticSubnetsResponse) GetTxIds() []string
- func (*TransformElasticSubnetsResponse) ProtoMessage()
- func (x *TransformElasticSubnetsResponse) ProtoReflect() protoreflect.Message
- func (x *TransformElasticSubnetsResponse) Reset()
- func (x *TransformElasticSubnetsResponse) String() string
- type URIsRequest
- type URIsResponse
- type UnimplementedControlServiceServer
- func (UnimplementedControlServiceServer) AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error)
- func (UnimplementedControlServiceServer) AddPermissionlessValidator(context.Context, *AddPermissionlessValidatorRequest) (*AddPermissionlessValidatorResponse, 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) RemoveSubnetValidator(context.Context, *RemoveSubnetValidatorRequest) (*RemoveSubnetValidatorResponse, 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) TransformElasticSubnets(context.Context, *TransformElasticSubnetsRequest) (*TransformElasticSubnetsResponse, 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_TransformElasticSubnets_FullMethodName = "/rpcpb.ControlService/TransformElasticSubnets" ControlService_AddPermissionlessValidator_FullMethodName = "/rpcpb.ControlService/AddPermissionlessValidator" ControlService_RemoveSubnetValidator_FullMethodName = "/rpcpb.ControlService/RemoveSubnetValidator" 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: "TransformElasticSubnets", Handler: _ControlService_TransformElasticSubnets_Handler, }, { MethodName: "AddPermissionlessValidator", Handler: _ControlService_AddPermissionlessValidator_Handler, }, { MethodName: "RemoveSubnetValidator", Handler: _ControlService_RemoveSubnetValidator_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 ¶
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
func (*AddNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeRequest.ProtoReflect.Descriptor instead.
func (*AddNodeRequest) GetChainConfigs ¶
func (x *AddNodeRequest) GetChainConfigs() map[string]string
func (*AddNodeRequest) GetExecPath ¶
func (x *AddNodeRequest) GetExecPath() string
func (*AddNodeRequest) GetName ¶
func (x *AddNodeRequest) GetName() string
func (*AddNodeRequest) GetNodeConfig ¶
func (x *AddNodeRequest) GetNodeConfig() string
func (*AddNodeRequest) GetPluginDir ¶
func (x *AddNodeRequest) GetPluginDir() string
func (*AddNodeRequest) GetSubnetConfigs ¶
func (x *AddNodeRequest) GetSubnetConfigs() map[string]string
func (*AddNodeRequest) GetUpgradeConfigs ¶
func (x *AddNodeRequest) GetUpgradeConfigs() map[string]string
func (*AddNodeRequest) ProtoMessage ¶
func (*AddNodeRequest) ProtoMessage()
func (*AddNodeRequest) ProtoReflect ¶
func (x *AddNodeRequest) ProtoReflect() protoreflect.Message
func (*AddNodeRequest) Reset ¶
func (x *AddNodeRequest) Reset()
func (*AddNodeRequest) String ¶
func (x *AddNodeRequest) String() string
type AddNodeResponse ¶
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
func (*AddNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeResponse.ProtoReflect.Descriptor instead.
func (*AddNodeResponse) GetClusterInfo ¶
func (x *AddNodeResponse) GetClusterInfo() *ClusterInfo
func (*AddNodeResponse) ProtoMessage ¶
func (*AddNodeResponse) ProtoMessage()
func (*AddNodeResponse) ProtoReflect ¶
func (x *AddNodeResponse) ProtoReflect() protoreflect.Message
func (*AddNodeResponse) Reset ¶
func (x *AddNodeResponse) Reset()
func (*AddNodeResponse) String ¶
func (x *AddNodeResponse) String() string
type AddPermissionlessValidatorRequest ¶ added in v1.6.0
type AddPermissionlessValidatorRequest struct { ValidatorSpec []*PermissionlessValidatorSpec `protobuf:"bytes,1,rep,name=validator_spec,json=validatorSpec,proto3" json:"validator_spec,omitempty"` // contains filtered or unexported fields }
func (*AddPermissionlessValidatorRequest) Descriptor
deprecated
added in
v1.6.0
func (*AddPermissionlessValidatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddPermissionlessValidatorRequest.ProtoReflect.Descriptor instead.
func (*AddPermissionlessValidatorRequest) GetValidatorSpec ¶ added in v1.6.0
func (x *AddPermissionlessValidatorRequest) GetValidatorSpec() []*PermissionlessValidatorSpec
func (*AddPermissionlessValidatorRequest) ProtoMessage ¶ added in v1.6.0
func (*AddPermissionlessValidatorRequest) ProtoMessage()
func (*AddPermissionlessValidatorRequest) ProtoReflect ¶ added in v1.6.0
func (x *AddPermissionlessValidatorRequest) ProtoReflect() protoreflect.Message
func (*AddPermissionlessValidatorRequest) Reset ¶ added in v1.6.0
func (x *AddPermissionlessValidatorRequest) Reset()
func (*AddPermissionlessValidatorRequest) String ¶ added in v1.6.0
func (x *AddPermissionlessValidatorRequest) String() string
type AddPermissionlessValidatorResponse ¶ added in v1.6.0
type AddPermissionlessValidatorResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*AddPermissionlessValidatorResponse) Descriptor
deprecated
added in
v1.6.0
func (*AddPermissionlessValidatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddPermissionlessValidatorResponse.ProtoReflect.Descriptor instead.
func (*AddPermissionlessValidatorResponse) GetClusterInfo ¶ added in v1.6.0
func (x *AddPermissionlessValidatorResponse) GetClusterInfo() *ClusterInfo
func (*AddPermissionlessValidatorResponse) ProtoMessage ¶ added in v1.6.0
func (*AddPermissionlessValidatorResponse) ProtoMessage()
func (*AddPermissionlessValidatorResponse) ProtoReflect ¶ added in v1.6.0
func (x *AddPermissionlessValidatorResponse) ProtoReflect() protoreflect.Message
func (*AddPermissionlessValidatorResponse) Reset ¶ added in v1.6.0
func (x *AddPermissionlessValidatorResponse) Reset()
func (*AddPermissionlessValidatorResponse) String ¶ added in v1.6.0
func (x *AddPermissionlessValidatorResponse) String() string
type AttachPeerRequest ¶
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
func (*AttachPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachPeerRequest.ProtoReflect.Descriptor instead.
func (*AttachPeerRequest) GetNodeName ¶
func (x *AttachPeerRequest) GetNodeName() string
func (*AttachPeerRequest) ProtoMessage ¶
func (*AttachPeerRequest) ProtoMessage()
func (*AttachPeerRequest) ProtoReflect ¶
func (x *AttachPeerRequest) ProtoReflect() protoreflect.Message
func (*AttachPeerRequest) Reset ¶
func (x *AttachPeerRequest) Reset()
func (*AttachPeerRequest) String ¶
func (x *AttachPeerRequest) String() string
type AttachPeerResponse ¶
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
func (*AttachPeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachPeerResponse.ProtoReflect.Descriptor instead.
func (*AttachPeerResponse) GetAttachedPeerInfo ¶
func (x *AttachPeerResponse) GetAttachedPeerInfo() *AttachedPeerInfo
func (*AttachPeerResponse) GetClusterInfo ¶
func (x *AttachPeerResponse) GetClusterInfo() *ClusterInfo
func (*AttachPeerResponse) ProtoMessage ¶
func (*AttachPeerResponse) ProtoMessage()
func (*AttachPeerResponse) ProtoReflect ¶
func (x *AttachPeerResponse) ProtoReflect() protoreflect.Message
func (*AttachPeerResponse) Reset ¶
func (x *AttachPeerResponse) Reset()
func (*AttachPeerResponse) String ¶
func (x *AttachPeerResponse) String() string
type AttachedPeerInfo ¶
type AttachedPeerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AttachedPeerInfo) Descriptor
deprecated
func (*AttachedPeerInfo) Descriptor() ([]byte, []int)
Deprecated: Use AttachedPeerInfo.ProtoReflect.Descriptor instead.
func (*AttachedPeerInfo) GetId ¶
func (x *AttachedPeerInfo) GetId() string
func (*AttachedPeerInfo) ProtoMessage ¶
func (*AttachedPeerInfo) ProtoMessage()
func (*AttachedPeerInfo) ProtoReflect ¶
func (x *AttachedPeerInfo) ProtoReflect() protoreflect.Message
func (*AttachedPeerInfo) Reset ¶
func (x *AttachedPeerInfo) Reset()
func (*AttachedPeerInfo) String ¶
func (x *AttachedPeerInfo) String() string
type BlockchainSpec ¶
type BlockchainSpec struct { VmName string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"` // either file path or file contents 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, either file path or file contents ChainConfig string `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"` // either file path or file contents 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, either file path or file contents 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
func (*BlockchainSpec) Descriptor() ([]byte, []int)
Deprecated: Use BlockchainSpec.ProtoReflect.Descriptor instead.
func (*BlockchainSpec) GetBlockchainAlias ¶
func (x *BlockchainSpec) GetBlockchainAlias() string
func (*BlockchainSpec) GetChainConfig ¶
func (x *BlockchainSpec) GetChainConfig() string
func (*BlockchainSpec) GetGenesis ¶
func (x *BlockchainSpec) GetGenesis() string
func (*BlockchainSpec) GetNetworkUpgrade ¶
func (x *BlockchainSpec) GetNetworkUpgrade() string
func (*BlockchainSpec) GetPerNodeChainConfig ¶
func (x *BlockchainSpec) GetPerNodeChainConfig() string
func (*BlockchainSpec) GetSubnetId ¶
func (x *BlockchainSpec) GetSubnetId() string
func (*BlockchainSpec) GetSubnetSpec ¶ added in v1.4.1
func (x *BlockchainSpec) GetSubnetSpec() *SubnetSpec
func (*BlockchainSpec) GetVmName ¶
func (x *BlockchainSpec) GetVmName() string
func (*BlockchainSpec) ProtoMessage ¶
func (*BlockchainSpec) ProtoMessage()
func (*BlockchainSpec) ProtoReflect ¶
func (x *BlockchainSpec) ProtoReflect() protoreflect.Message
func (*BlockchainSpec) Reset ¶
func (x *BlockchainSpec) Reset()
func (*BlockchainSpec) String ¶
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 map[string]*SubnetInfo `` /* 155-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 ¶
func (x *ClusterInfo) GetAttachedPeerInfos() map[string]*ListOfAttachedPeerInfo
func (*ClusterInfo) GetCustomChains ¶
func (x *ClusterInfo) GetCustomChains() map[string]*CustomChainInfo
func (*ClusterInfo) GetCustomChainsHealthy ¶
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) GetSubnets ¶
func (x *ClusterInfo) GetSubnets() map[string]*SubnetInfo
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) TransformElasticSubnets(ctx context.Context, in *TransformElasticSubnetsRequest, opts ...grpc.CallOption) (*TransformElasticSubnetsResponse, error) AddPermissionlessValidator(ctx context.Context, in *AddPermissionlessValidatorRequest, opts ...grpc.CallOption) (*AddPermissionlessValidatorResponse, error) RemoveSubnetValidator(ctx context.Context, in *RemoveSubnetValidatorRequest, opts ...grpc.CallOption) (*RemoveSubnetValidatorResponse, 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) TransformElasticSubnets(context.Context, *TransformElasticSubnetsRequest) (*TransformElasticSubnetsResponse, error) AddPermissionlessValidator(context.Context, *AddPermissionlessValidatorRequest) (*AddPermissionlessValidatorResponse, error) RemoveSubnetValidator(context.Context, *RemoveSubnetValidatorRequest) (*RemoveSubnetValidatorResponse, 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 ¶
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
func (*CreateBlockchainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBlockchainsRequest.ProtoReflect.Descriptor instead.
func (*CreateBlockchainsRequest) GetBlockchainSpecs ¶
func (x *CreateBlockchainsRequest) GetBlockchainSpecs() []*BlockchainSpec
func (*CreateBlockchainsRequest) ProtoMessage ¶
func (*CreateBlockchainsRequest) ProtoMessage()
func (*CreateBlockchainsRequest) ProtoReflect ¶
func (x *CreateBlockchainsRequest) ProtoReflect() protoreflect.Message
func (*CreateBlockchainsRequest) Reset ¶
func (x *CreateBlockchainsRequest) Reset()
func (*CreateBlockchainsRequest) String ¶
func (x *CreateBlockchainsRequest) String() string
type CreateBlockchainsResponse ¶
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
func (*CreateBlockchainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBlockchainsResponse.ProtoReflect.Descriptor instead.
func (*CreateBlockchainsResponse) GetChainIds ¶ added in v1.4.1
func (x *CreateBlockchainsResponse) GetChainIds() []string
func (*CreateBlockchainsResponse) GetClusterInfo ¶
func (x *CreateBlockchainsResponse) GetClusterInfo() *ClusterInfo
func (*CreateBlockchainsResponse) ProtoMessage ¶
func (*CreateBlockchainsResponse) ProtoMessage()
func (*CreateBlockchainsResponse) ProtoReflect ¶
func (x *CreateBlockchainsResponse) ProtoReflect() protoreflect.Message
func (*CreateBlockchainsResponse) Reset ¶
func (x *CreateBlockchainsResponse) Reset()
func (*CreateBlockchainsResponse) String ¶
func (x *CreateBlockchainsResponse) String() string
type CreateSubnetsRequest ¶
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
func (*CreateSubnetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubnetsRequest.ProtoReflect.Descriptor instead.
func (*CreateSubnetsRequest) GetSubnetSpecs ¶ added in v1.4.1
func (x *CreateSubnetsRequest) GetSubnetSpecs() []*SubnetSpec
func (*CreateSubnetsRequest) ProtoMessage ¶
func (*CreateSubnetsRequest) ProtoMessage()
func (*CreateSubnetsRequest) ProtoReflect ¶
func (x *CreateSubnetsRequest) ProtoReflect() protoreflect.Message
func (*CreateSubnetsRequest) Reset ¶
func (x *CreateSubnetsRequest) Reset()
func (*CreateSubnetsRequest) String ¶
func (x *CreateSubnetsRequest) String() string
type CreateSubnetsResponse ¶
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
func (*CreateSubnetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubnetsResponse.ProtoReflect.Descriptor instead.
func (*CreateSubnetsResponse) GetClusterInfo ¶
func (x *CreateSubnetsResponse) GetClusterInfo() *ClusterInfo
func (*CreateSubnetsResponse) GetSubnetIds ¶ added in v1.4.1
func (x *CreateSubnetsResponse) GetSubnetIds() []string
func (*CreateSubnetsResponse) ProtoMessage ¶
func (*CreateSubnetsResponse) ProtoMessage()
func (*CreateSubnetsResponse) ProtoReflect ¶
func (x *CreateSubnetsResponse) ProtoReflect() protoreflect.Message
func (*CreateSubnetsResponse) Reset ¶
func (x *CreateSubnetsResponse) Reset()
func (*CreateSubnetsResponse) String ¶
func (x *CreateSubnetsResponse) String() string
type CustomChainInfo ¶
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 metal 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
func (*CustomChainInfo) Descriptor() ([]byte, []int)
Deprecated: Use CustomChainInfo.ProtoReflect.Descriptor instead.
func (*CustomChainInfo) GetChainId ¶
func (x *CustomChainInfo) GetChainId() string
func (*CustomChainInfo) GetChainName ¶
func (x *CustomChainInfo) GetChainName() string
func (*CustomChainInfo) GetSubnetId ¶
func (x *CustomChainInfo) GetSubnetId() string
func (*CustomChainInfo) GetVmId ¶
func (x *CustomChainInfo) GetVmId() string
func (*CustomChainInfo) ProtoMessage ¶
func (*CustomChainInfo) ProtoMessage()
func (*CustomChainInfo) ProtoReflect ¶
func (x *CustomChainInfo) ProtoReflect() protoreflect.Message
func (*CustomChainInfo) Reset ¶
func (x *CustomChainInfo) Reset()
func (*CustomChainInfo) String ¶
func (x *CustomChainInfo) String() string
type ElasticSubnetSpec ¶ added in v1.5.0
type ElasticSubnetSpec struct { SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` AssetName string `protobuf:"bytes,2,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` AssetSymbol string `protobuf:"bytes,3,opt,name=asset_symbol,json=assetSymbol,proto3" json:"asset_symbol,omitempty"` InitialSupply uint64 `protobuf:"varint,4,opt,name=initial_supply,json=initialSupply,proto3" json:"initial_supply,omitempty"` MaxSupply uint64 `protobuf:"varint,5,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply,omitempty"` MinConsumptionRate uint64 `protobuf:"varint,6,opt,name=min_consumption_rate,json=minConsumptionRate,proto3" json:"min_consumption_rate,omitempty"` MaxConsumptionRate uint64 `protobuf:"varint,7,opt,name=max_consumption_rate,json=maxConsumptionRate,proto3" json:"max_consumption_rate,omitempty"` MinValidatorStake uint64 `protobuf:"varint,8,opt,name=min_validator_stake,json=minValidatorStake,proto3" json:"min_validator_stake,omitempty"` MaxValidatorStake uint64 `protobuf:"varint,9,opt,name=max_validator_stake,json=maxValidatorStake,proto3" json:"max_validator_stake,omitempty"` MinStakeDuration uint64 `protobuf:"varint,10,opt,name=min_stake_duration,json=minStakeDuration,proto3" json:"min_stake_duration,omitempty"` MaxStakeDuration uint64 `protobuf:"varint,11,opt,name=max_stake_duration,json=maxStakeDuration,proto3" json:"max_stake_duration,omitempty"` MinDelegationFee uint32 `protobuf:"varint,12,opt,name=min_delegation_fee,json=minDelegationFee,proto3" json:"min_delegation_fee,omitempty"` MinDelegatorStake uint64 `protobuf:"varint,13,opt,name=min_delegator_stake,json=minDelegatorStake,proto3" json:"min_delegator_stake,omitempty"` MaxValidatorWeightFactor uint32 `` /* 139-byte string literal not displayed */ UptimeRequirement uint32 `protobuf:"varint,15,opt,name=uptime_requirement,json=uptimeRequirement,proto3" json:"uptime_requirement,omitempty"` // contains filtered or unexported fields }
func (*ElasticSubnetSpec) Descriptor
deprecated
added in
v1.5.0
func (*ElasticSubnetSpec) Descriptor() ([]byte, []int)
Deprecated: Use ElasticSubnetSpec.ProtoReflect.Descriptor instead.
func (*ElasticSubnetSpec) GetAssetName ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetAssetName() string
func (*ElasticSubnetSpec) GetAssetSymbol ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetAssetSymbol() string
func (*ElasticSubnetSpec) GetInitialSupply ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetInitialSupply() uint64
func (*ElasticSubnetSpec) GetMaxConsumptionRate ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMaxConsumptionRate() uint64
func (*ElasticSubnetSpec) GetMaxStakeDuration ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMaxStakeDuration() uint64
func (*ElasticSubnetSpec) GetMaxSupply ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMaxSupply() uint64
func (*ElasticSubnetSpec) GetMaxValidatorStake ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMaxValidatorStake() uint64
func (*ElasticSubnetSpec) GetMaxValidatorWeightFactor ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMaxValidatorWeightFactor() uint32
func (*ElasticSubnetSpec) GetMinConsumptionRate ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMinConsumptionRate() uint64
func (*ElasticSubnetSpec) GetMinDelegationFee ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMinDelegationFee() uint32
func (*ElasticSubnetSpec) GetMinDelegatorStake ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMinDelegatorStake() uint64
func (*ElasticSubnetSpec) GetMinStakeDuration ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMinStakeDuration() uint64
func (*ElasticSubnetSpec) GetMinValidatorStake ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetMinValidatorStake() uint64
func (*ElasticSubnetSpec) GetSubnetId ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetSubnetId() string
func (*ElasticSubnetSpec) GetUptimeRequirement ¶ added in v1.5.0
func (x *ElasticSubnetSpec) GetUptimeRequirement() uint32
func (*ElasticSubnetSpec) ProtoMessage ¶ added in v1.5.0
func (*ElasticSubnetSpec) ProtoMessage()
func (*ElasticSubnetSpec) ProtoReflect ¶ added in v1.5.0
func (x *ElasticSubnetSpec) ProtoReflect() protoreflect.Message
func (*ElasticSubnetSpec) Reset ¶ added in v1.5.0
func (x *ElasticSubnetSpec) Reset()
func (*ElasticSubnetSpec) String ¶ added in v1.5.0
func (x *ElasticSubnetSpec) String() string
type GetSnapshotNamesRequest ¶
type GetSnapshotNamesRequest struct {
// contains filtered or unexported fields
}
func (*GetSnapshotNamesRequest) Descriptor
deprecated
func (*GetSnapshotNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotNamesRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotNamesRequest) ProtoMessage ¶
func (*GetSnapshotNamesRequest) ProtoMessage()
func (*GetSnapshotNamesRequest) ProtoReflect ¶
func (x *GetSnapshotNamesRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotNamesRequest) Reset ¶
func (x *GetSnapshotNamesRequest) Reset()
func (*GetSnapshotNamesRequest) String ¶
func (x *GetSnapshotNamesRequest) String() string
type GetSnapshotNamesResponse ¶
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
func (*GetSnapshotNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotNamesResponse.ProtoReflect.Descriptor instead.
func (*GetSnapshotNamesResponse) GetSnapshotNames ¶
func (x *GetSnapshotNamesResponse) GetSnapshotNames() []string
func (*GetSnapshotNamesResponse) ProtoMessage ¶
func (*GetSnapshotNamesResponse) ProtoMessage()
func (*GetSnapshotNamesResponse) ProtoReflect ¶
func (x *GetSnapshotNamesResponse) ProtoReflect() protoreflect.Message
func (*GetSnapshotNamesResponse) Reset ¶
func (x *GetSnapshotNamesResponse) Reset()
func (*GetSnapshotNamesResponse) String ¶
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 ¶
type ListOfAttachedPeerInfo struct { Peers []*AttachedPeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
func (*ListOfAttachedPeerInfo) Descriptor
deprecated
func (*ListOfAttachedPeerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ListOfAttachedPeerInfo.ProtoReflect.Descriptor instead.
func (*ListOfAttachedPeerInfo) GetPeers ¶
func (x *ListOfAttachedPeerInfo) GetPeers() []*AttachedPeerInfo
func (*ListOfAttachedPeerInfo) ProtoMessage ¶
func (*ListOfAttachedPeerInfo) ProtoMessage()
func (*ListOfAttachedPeerInfo) ProtoReflect ¶
func (x *ListOfAttachedPeerInfo) ProtoReflect() protoreflect.Message
func (*ListOfAttachedPeerInfo) Reset ¶
func (x *ListOfAttachedPeerInfo) Reset()
func (*ListOfAttachedPeerInfo) String ¶
func (x *ListOfAttachedPeerInfo) String() string
type LoadSnapshotRequest ¶
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
func (*LoadSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadSnapshotRequest.ProtoReflect.Descriptor instead.
func (*LoadSnapshotRequest) GetChainConfigs ¶
func (x *LoadSnapshotRequest) GetChainConfigs() map[string]string
func (*LoadSnapshotRequest) GetExecPath ¶
func (x *LoadSnapshotRequest) GetExecPath() string
func (*LoadSnapshotRequest) GetGlobalNodeConfig ¶
func (x *LoadSnapshotRequest) GetGlobalNodeConfig() string
func (*LoadSnapshotRequest) GetPluginDir ¶
func (x *LoadSnapshotRequest) GetPluginDir() string
func (*LoadSnapshotRequest) GetReassignPortsIfUsed ¶
func (x *LoadSnapshotRequest) GetReassignPortsIfUsed() bool
func (*LoadSnapshotRequest) GetRootDataDir ¶
func (x *LoadSnapshotRequest) GetRootDataDir() string
func (*LoadSnapshotRequest) GetSnapshotName ¶
func (x *LoadSnapshotRequest) GetSnapshotName() string
func (*LoadSnapshotRequest) GetSubnetConfigs ¶
func (x *LoadSnapshotRequest) GetSubnetConfigs() map[string]string
func (*LoadSnapshotRequest) GetUpgradeConfigs ¶
func (x *LoadSnapshotRequest) GetUpgradeConfigs() map[string]string
func (*LoadSnapshotRequest) ProtoMessage ¶
func (*LoadSnapshotRequest) ProtoMessage()
func (*LoadSnapshotRequest) ProtoReflect ¶
func (x *LoadSnapshotRequest) ProtoReflect() protoreflect.Message
func (*LoadSnapshotRequest) Reset ¶
func (x *LoadSnapshotRequest) Reset()
func (*LoadSnapshotRequest) String ¶
func (x *LoadSnapshotRequest) String() string
type LoadSnapshotResponse ¶
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
func (*LoadSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoadSnapshotResponse.ProtoReflect.Descriptor instead.
func (*LoadSnapshotResponse) GetClusterInfo ¶
func (x *LoadSnapshotResponse) GetClusterInfo() *ClusterInfo
func (*LoadSnapshotResponse) ProtoMessage ¶
func (*LoadSnapshotResponse) ProtoMessage()
func (*LoadSnapshotResponse) ProtoReflect ¶
func (x *LoadSnapshotResponse) ProtoReflect() protoreflect.Message
func (*LoadSnapshotResponse) Reset ¶
func (x *LoadSnapshotResponse) Reset()
func (*LoadSnapshotResponse) String ¶
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 ¶
func (*NodeInfo) GetWhitelistedSubnets ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type PauseNodeRequest ¶ added in v1.4.1
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.1
func (*PauseNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseNodeRequest.ProtoReflect.Descriptor instead.
func (*PauseNodeRequest) GetName ¶ added in v1.4.1
func (x *PauseNodeRequest) GetName() string
func (*PauseNodeRequest) ProtoMessage ¶ added in v1.4.1
func (*PauseNodeRequest) ProtoMessage()
func (*PauseNodeRequest) ProtoReflect ¶ added in v1.4.1
func (x *PauseNodeRequest) ProtoReflect() protoreflect.Message
func (*PauseNodeRequest) Reset ¶ added in v1.4.1
func (x *PauseNodeRequest) Reset()
func (*PauseNodeRequest) String ¶ added in v1.4.1
func (x *PauseNodeRequest) String() string
type PauseNodeResponse ¶ added in v1.4.1
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.1
func (*PauseNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PauseNodeResponse.ProtoReflect.Descriptor instead.
func (*PauseNodeResponse) GetClusterInfo ¶ added in v1.4.1
func (x *PauseNodeResponse) GetClusterInfo() *ClusterInfo
func (*PauseNodeResponse) ProtoMessage ¶ added in v1.4.1
func (*PauseNodeResponse) ProtoMessage()
func (*PauseNodeResponse) ProtoReflect ¶ added in v1.4.1
func (x *PauseNodeResponse) ProtoReflect() protoreflect.Message
func (*PauseNodeResponse) Reset ¶ added in v1.4.1
func (x *PauseNodeResponse) Reset()
func (*PauseNodeResponse) String ¶ added in v1.4.1
func (x *PauseNodeResponse) String() string
type PermissionlessValidatorSpec ¶ added in v1.6.0
type PermissionlessValidatorSpec struct { SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` StakedTokenAmount uint64 `protobuf:"varint,3,opt,name=staked_token_amount,json=stakedTokenAmount,proto3" json:"staked_token_amount,omitempty"` AssetId string `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` StakeDuration uint64 `protobuf:"varint,6,opt,name=stake_duration,json=stakeDuration,proto3" json:"stake_duration,omitempty"` // contains filtered or unexported fields }
func (*PermissionlessValidatorSpec) Descriptor
deprecated
added in
v1.6.0
func (*PermissionlessValidatorSpec) Descriptor() ([]byte, []int)
Deprecated: Use PermissionlessValidatorSpec.ProtoReflect.Descriptor instead.
func (*PermissionlessValidatorSpec) GetAssetId ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) GetAssetId() string
func (*PermissionlessValidatorSpec) GetNodeName ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) GetNodeName() string
func (*PermissionlessValidatorSpec) GetStakeDuration ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) GetStakeDuration() uint64
func (*PermissionlessValidatorSpec) GetStakedTokenAmount ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) GetStakedTokenAmount() uint64
func (*PermissionlessValidatorSpec) GetStartTime ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) GetStartTime() string
func (*PermissionlessValidatorSpec) GetSubnetId ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) GetSubnetId() string
func (*PermissionlessValidatorSpec) ProtoMessage ¶ added in v1.6.0
func (*PermissionlessValidatorSpec) ProtoMessage()
func (*PermissionlessValidatorSpec) ProtoReflect ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) ProtoReflect() protoreflect.Message
func (*PermissionlessValidatorSpec) Reset ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) Reset()
func (*PermissionlessValidatorSpec) String ¶ added in v1.6.0
func (x *PermissionlessValidatorSpec) 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.9
type RPCVersionRequest struct {
// contains filtered or unexported fields
}
func (*RPCVersionRequest) Descriptor
deprecated
added in
v1.3.9
func (*RPCVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RPCVersionRequest.ProtoReflect.Descriptor instead.
func (*RPCVersionRequest) ProtoMessage ¶ added in v1.3.9
func (*RPCVersionRequest) ProtoMessage()
func (*RPCVersionRequest) ProtoReflect ¶ added in v1.3.9
func (x *RPCVersionRequest) ProtoReflect() protoreflect.Message
func (*RPCVersionRequest) Reset ¶ added in v1.3.9
func (x *RPCVersionRequest) Reset()
func (*RPCVersionRequest) String ¶ added in v1.3.9
func (x *RPCVersionRequest) String() string
type RPCVersionResponse ¶ added in v1.3.9
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.9
func (*RPCVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RPCVersionResponse.ProtoReflect.Descriptor instead.
func (*RPCVersionResponse) GetVersion ¶ added in v1.3.9
func (x *RPCVersionResponse) GetVersion() uint32
func (*RPCVersionResponse) ProtoMessage ¶ added in v1.3.9
func (*RPCVersionResponse) ProtoMessage()
func (*RPCVersionResponse) ProtoReflect ¶ added in v1.3.9
func (x *RPCVersionResponse) ProtoReflect() protoreflect.Message
func (*RPCVersionResponse) Reset ¶ added in v1.3.9
func (x *RPCVersionResponse) Reset()
func (*RPCVersionResponse) String ¶ added in v1.3.9
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 ¶
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
func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RemoveSnapshotRequest) GetSnapshotName ¶
func (x *RemoveSnapshotRequest) GetSnapshotName() string
func (*RemoveSnapshotRequest) ProtoMessage ¶
func (*RemoveSnapshotRequest) ProtoMessage()
func (*RemoveSnapshotRequest) ProtoReflect ¶
func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message
func (*RemoveSnapshotRequest) Reset ¶
func (x *RemoveSnapshotRequest) Reset()
func (*RemoveSnapshotRequest) String ¶
func (x *RemoveSnapshotRequest) String() string
type RemoveSnapshotResponse ¶
type RemoveSnapshotResponse struct {
// contains filtered or unexported fields
}
func (*RemoveSnapshotResponse) Descriptor
deprecated
func (*RemoveSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSnapshotResponse.ProtoReflect.Descriptor instead.
func (*RemoveSnapshotResponse) ProtoMessage ¶
func (*RemoveSnapshotResponse) ProtoMessage()
func (*RemoveSnapshotResponse) ProtoReflect ¶
func (x *RemoveSnapshotResponse) ProtoReflect() protoreflect.Message
func (*RemoveSnapshotResponse) Reset ¶
func (x *RemoveSnapshotResponse) Reset()
func (*RemoveSnapshotResponse) String ¶
func (x *RemoveSnapshotResponse) String() string
type RemoveSubnetValidatorRequest ¶ added in v1.6.0
type RemoveSubnetValidatorRequest struct { ValidatorSpec []*RemoveSubnetValidatorSpec `protobuf:"bytes,1,rep,name=validator_spec,json=validatorSpec,proto3" json:"validator_spec,omitempty"` // contains filtered or unexported fields }
func (*RemoveSubnetValidatorRequest) Descriptor
deprecated
added in
v1.6.0
func (*RemoveSubnetValidatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSubnetValidatorRequest.ProtoReflect.Descriptor instead.
func (*RemoveSubnetValidatorRequest) GetValidatorSpec ¶ added in v1.6.0
func (x *RemoveSubnetValidatorRequest) GetValidatorSpec() []*RemoveSubnetValidatorSpec
func (*RemoveSubnetValidatorRequest) ProtoMessage ¶ added in v1.6.0
func (*RemoveSubnetValidatorRequest) ProtoMessage()
func (*RemoveSubnetValidatorRequest) ProtoReflect ¶ added in v1.6.0
func (x *RemoveSubnetValidatorRequest) ProtoReflect() protoreflect.Message
func (*RemoveSubnetValidatorRequest) Reset ¶ added in v1.6.0
func (x *RemoveSubnetValidatorRequest) Reset()
func (*RemoveSubnetValidatorRequest) String ¶ added in v1.6.0
func (x *RemoveSubnetValidatorRequest) String() string
type RemoveSubnetValidatorResponse ¶ added in v1.6.0
type RemoveSubnetValidatorResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` // contains filtered or unexported fields }
func (*RemoveSubnetValidatorResponse) Descriptor
deprecated
added in
v1.6.0
func (*RemoveSubnetValidatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSubnetValidatorResponse.ProtoReflect.Descriptor instead.
func (*RemoveSubnetValidatorResponse) GetClusterInfo ¶ added in v1.6.0
func (x *RemoveSubnetValidatorResponse) GetClusterInfo() *ClusterInfo
func (*RemoveSubnetValidatorResponse) ProtoMessage ¶ added in v1.6.0
func (*RemoveSubnetValidatorResponse) ProtoMessage()
func (*RemoveSubnetValidatorResponse) ProtoReflect ¶ added in v1.6.0
func (x *RemoveSubnetValidatorResponse) ProtoReflect() protoreflect.Message
func (*RemoveSubnetValidatorResponse) Reset ¶ added in v1.6.0
func (x *RemoveSubnetValidatorResponse) Reset()
func (*RemoveSubnetValidatorResponse) String ¶ added in v1.6.0
func (x *RemoveSubnetValidatorResponse) String() string
type RemoveSubnetValidatorSpec ¶ added in v1.6.0
type RemoveSubnetValidatorSpec struct { SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` NodeNames []string `protobuf:"bytes,2,rep,name=node_names,json=nodeNames,proto3" json:"node_names,omitempty"` // contains filtered or unexported fields }
func (*RemoveSubnetValidatorSpec) Descriptor
deprecated
added in
v1.6.0
func (*RemoveSubnetValidatorSpec) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSubnetValidatorSpec.ProtoReflect.Descriptor instead.
func (*RemoveSubnetValidatorSpec) GetNodeNames ¶ added in v1.6.0
func (x *RemoveSubnetValidatorSpec) GetNodeNames() []string
func (*RemoveSubnetValidatorSpec) GetSubnetId ¶ added in v1.6.0
func (x *RemoveSubnetValidatorSpec) GetSubnetId() string
func (*RemoveSubnetValidatorSpec) ProtoMessage ¶ added in v1.6.0
func (*RemoveSubnetValidatorSpec) ProtoMessage()
func (*RemoveSubnetValidatorSpec) ProtoReflect ¶ added in v1.6.0
func (x *RemoveSubnetValidatorSpec) ProtoReflect() protoreflect.Message
func (*RemoveSubnetValidatorSpec) Reset ¶ added in v1.6.0
func (x *RemoveSubnetValidatorSpec) Reset()
func (*RemoveSubnetValidatorSpec) String ¶ added in v1.6.0
func (x *RemoveSubnetValidatorSpec) 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 ¶
func (x *RestartNodeRequest) GetChainConfigs() map[string]string
func (*RestartNodeRequest) GetExecPath ¶
func (x *RestartNodeRequest) GetExecPath() string
func (*RestartNodeRequest) GetName ¶
func (x *RestartNodeRequest) GetName() string
func (*RestartNodeRequest) GetPluginDir ¶
func (x *RestartNodeRequest) GetPluginDir() string
func (*RestartNodeRequest) GetSubnetConfigs ¶
func (x *RestartNodeRequest) GetSubnetConfigs() map[string]string
func (*RestartNodeRequest) GetUpgradeConfigs ¶
func (x *RestartNodeRequest) GetUpgradeConfigs() map[string]string
func (*RestartNodeRequest) GetWhitelistedSubnets ¶
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.1
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.1
func (*ResumeNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeNodeRequest.ProtoReflect.Descriptor instead.
func (*ResumeNodeRequest) GetName ¶ added in v1.4.1
func (x *ResumeNodeRequest) GetName() string
func (*ResumeNodeRequest) ProtoMessage ¶ added in v1.4.1
func (*ResumeNodeRequest) ProtoMessage()
func (*ResumeNodeRequest) ProtoReflect ¶ added in v1.4.1
func (x *ResumeNodeRequest) ProtoReflect() protoreflect.Message
func (*ResumeNodeRequest) Reset ¶ added in v1.4.1
func (x *ResumeNodeRequest) Reset()
func (*ResumeNodeRequest) String ¶ added in v1.4.1
func (x *ResumeNodeRequest) String() string
type ResumeNodeResponse ¶ added in v1.4.1
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.1
func (*ResumeNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeNodeResponse.ProtoReflect.Descriptor instead.
func (*ResumeNodeResponse) GetClusterInfo ¶ added in v1.4.1
func (x *ResumeNodeResponse) GetClusterInfo() *ClusterInfo
func (*ResumeNodeResponse) ProtoMessage ¶ added in v1.4.1
func (*ResumeNodeResponse) ProtoMessage()
func (*ResumeNodeResponse) ProtoReflect ¶ added in v1.4.1
func (x *ResumeNodeResponse) ProtoReflect() protoreflect.Message
func (*ResumeNodeResponse) Reset ¶ added in v1.4.1
func (x *ResumeNodeResponse) Reset()
func (*ResumeNodeResponse) String ¶ added in v1.4.1
func (x *ResumeNodeResponse) String() string
type SaveSnapshotRequest ¶
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
func (*SaveSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveSnapshotRequest.ProtoReflect.Descriptor instead.
func (*SaveSnapshotRequest) GetSnapshotName ¶
func (x *SaveSnapshotRequest) GetSnapshotName() string
func (*SaveSnapshotRequest) ProtoMessage ¶
func (*SaveSnapshotRequest) ProtoMessage()
func (*SaveSnapshotRequest) ProtoReflect ¶
func (x *SaveSnapshotRequest) ProtoReflect() protoreflect.Message
func (*SaveSnapshotRequest) Reset ¶
func (x *SaveSnapshotRequest) Reset()
func (*SaveSnapshotRequest) String ¶
func (x *SaveSnapshotRequest) String() string
type SaveSnapshotResponse ¶
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
func (*SaveSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveSnapshotResponse.ProtoReflect.Descriptor instead.
func (*SaveSnapshotResponse) GetSnapshotPath ¶
func (x *SaveSnapshotResponse) GetSnapshotPath() string
func (*SaveSnapshotResponse) ProtoMessage ¶
func (*SaveSnapshotResponse) ProtoMessage()
func (*SaveSnapshotResponse) ProtoReflect ¶
func (x *SaveSnapshotResponse) ProtoReflect() protoreflect.Message
func (*SaveSnapshotResponse) Reset ¶
func (x *SaveSnapshotResponse) Reset()
func (*SaveSnapshotResponse) String ¶
func (x *SaveSnapshotResponse) String() string
type SendOutboundMessageRequest ¶
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
func (*SendOutboundMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendOutboundMessageRequest.ProtoReflect.Descriptor instead.
func (*SendOutboundMessageRequest) GetBytes ¶
func (x *SendOutboundMessageRequest) GetBytes() []byte
func (*SendOutboundMessageRequest) GetNodeName ¶
func (x *SendOutboundMessageRequest) GetNodeName() string
func (*SendOutboundMessageRequest) GetOp ¶
func (x *SendOutboundMessageRequest) GetOp() uint32
func (*SendOutboundMessageRequest) GetPeerId ¶
func (x *SendOutboundMessageRequest) GetPeerId() string
func (*SendOutboundMessageRequest) ProtoMessage ¶
func (*SendOutboundMessageRequest) ProtoMessage()
func (*SendOutboundMessageRequest) ProtoReflect ¶
func (x *SendOutboundMessageRequest) ProtoReflect() protoreflect.Message
func (*SendOutboundMessageRequest) Reset ¶
func (x *SendOutboundMessageRequest) Reset()
func (*SendOutboundMessageRequest) String ¶
func (x *SendOutboundMessageRequest) String() string
type SendOutboundMessageResponse ¶
type SendOutboundMessageResponse struct { Sent bool `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"` // contains filtered or unexported fields }
func (*SendOutboundMessageResponse) Descriptor
deprecated
func (*SendOutboundMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendOutboundMessageResponse.ProtoReflect.Descriptor instead.
func (*SendOutboundMessageResponse) GetSent ¶
func (x *SendOutboundMessageResponse) GetSent() bool
func (*SendOutboundMessageResponse) ProtoMessage ¶
func (*SendOutboundMessageResponse) ProtoMessage()
func (*SendOutboundMessageResponse) ProtoReflect ¶
func (x *SendOutboundMessageResponse) ProtoReflect() protoreflect.Message
func (*SendOutboundMessageResponse) Reset ¶
func (x *SendOutboundMessageResponse) Reset()
func (*SendOutboundMessageResponse) String ¶
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 ¶
func (x *StartRequest) GetBlockchainSpecs() []*BlockchainSpec
func (*StartRequest) GetChainConfigs ¶
func (x *StartRequest) GetChainConfigs() map[string]string
func (*StartRequest) GetCustomNodeConfigs ¶
func (x *StartRequest) GetCustomNodeConfigs() map[string]string
func (*StartRequest) GetDynamicPorts ¶
func (x *StartRequest) GetDynamicPorts() bool
func (*StartRequest) GetExecPath ¶
func (x *StartRequest) GetExecPath() string
func (*StartRequest) GetGlobalNodeConfig ¶
func (x *StartRequest) GetGlobalNodeConfig() string
func (*StartRequest) GetNumNodes ¶
func (x *StartRequest) GetNumNodes() uint32
func (*StartRequest) GetPluginDir ¶
func (x *StartRequest) GetPluginDir() string
func (*StartRequest) GetReassignPortsIfUsed ¶
func (x *StartRequest) GetReassignPortsIfUsed() bool
func (*StartRequest) GetRootDataDir ¶
func (x *StartRequest) GetRootDataDir() string
func (*StartRequest) GetSubnetConfigs ¶
func (x *StartRequest) GetSubnetConfigs() map[string]string
func (*StartRequest) GetUpgradeConfigs ¶
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.1
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 SubnetInfo ¶ added in v1.5.0
type SubnetInfo struct { // If Subnet is an Elastic Subnet IsElastic bool `protobuf:"varint,1,opt,name=is_elastic,json=isElastic,proto3" json:"is_elastic,omitempty"` // TXID for the elastic subnet transform ElasticSubnetId string `protobuf:"bytes,2,opt,name=elastic_subnet_id,json=elasticSubnetId,proto3" json:"elastic_subnet_id,omitempty"` // node validators of subnet SubnetParticipants *SubnetParticipants `protobuf:"bytes,3,opt,name=subnet_participants,json=subnetParticipants,proto3" json:"subnet_participants,omitempty"` // contains filtered or unexported fields }
func (*SubnetInfo) Descriptor
deprecated
added in
v1.5.0
func (*SubnetInfo) Descriptor() ([]byte, []int)
Deprecated: Use SubnetInfo.ProtoReflect.Descriptor instead.
func (*SubnetInfo) GetElasticSubnetId ¶ added in v1.6.0
func (x *SubnetInfo) GetElasticSubnetId() string
func (*SubnetInfo) GetIsElastic ¶ added in v1.5.0
func (x *SubnetInfo) GetIsElastic() bool
func (*SubnetInfo) GetSubnetParticipants ¶ added in v1.5.0
func (x *SubnetInfo) GetSubnetParticipants() *SubnetParticipants
func (*SubnetInfo) ProtoMessage ¶ added in v1.5.0
func (*SubnetInfo) ProtoMessage()
func (*SubnetInfo) ProtoReflect ¶ added in v1.5.0
func (x *SubnetInfo) ProtoReflect() protoreflect.Message
func (*SubnetInfo) Reset ¶ added in v1.5.0
func (x *SubnetInfo) Reset()
func (*SubnetInfo) String ¶ added in v1.5.0
func (x *SubnetInfo) String() string
type SubnetParticipants ¶ added in v1.4.1
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.1
func (*SubnetParticipants) Descriptor() ([]byte, []int)
Deprecated: Use SubnetParticipants.ProtoReflect.Descriptor instead.
func (*SubnetParticipants) GetNodeNames ¶ added in v1.4.1
func (x *SubnetParticipants) GetNodeNames() []string
func (*SubnetParticipants) ProtoMessage ¶ added in v1.4.1
func (*SubnetParticipants) ProtoMessage()
func (*SubnetParticipants) ProtoReflect ¶ added in v1.4.1
func (x *SubnetParticipants) ProtoReflect() protoreflect.Message
func (*SubnetParticipants) Reset ¶ added in v1.4.1
func (x *SubnetParticipants) Reset()
func (*SubnetParticipants) String ¶ added in v1.4.1
func (x *SubnetParticipants) String() string
type SubnetSpec ¶ added in v1.4.1
type SubnetSpec struct { // if empty, assumes all nodes should be participants Participants []string `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` // either file path or file contents 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.1
func (*SubnetSpec) Descriptor() ([]byte, []int)
Deprecated: Use SubnetSpec.ProtoReflect.Descriptor instead.
func (*SubnetSpec) GetParticipants ¶ added in v1.4.1
func (x *SubnetSpec) GetParticipants() []string
func (*SubnetSpec) GetSubnetConfig ¶ added in v1.4.1
func (x *SubnetSpec) GetSubnetConfig() string
func (*SubnetSpec) ProtoMessage ¶ added in v1.4.1
func (*SubnetSpec) ProtoMessage()
func (*SubnetSpec) ProtoReflect ¶ added in v1.4.1
func (x *SubnetSpec) ProtoReflect() protoreflect.Message
func (*SubnetSpec) Reset ¶ added in v1.4.1
func (x *SubnetSpec) Reset()
func (*SubnetSpec) String ¶ added in v1.4.1
func (x *SubnetSpec) String() string
type TransformElasticSubnetsRequest ¶ added in v1.5.0
type TransformElasticSubnetsRequest struct { ElasticSubnetSpec []*ElasticSubnetSpec `protobuf:"bytes,1,rep,name=elastic_subnet_spec,json=elasticSubnetSpec,proto3" json:"elastic_subnet_spec,omitempty"` // contains filtered or unexported fields }
func (*TransformElasticSubnetsRequest) Descriptor
deprecated
added in
v1.5.0
func (*TransformElasticSubnetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransformElasticSubnetsRequest.ProtoReflect.Descriptor instead.
func (*TransformElasticSubnetsRequest) GetElasticSubnetSpec ¶ added in v1.5.0
func (x *TransformElasticSubnetsRequest) GetElasticSubnetSpec() []*ElasticSubnetSpec
func (*TransformElasticSubnetsRequest) ProtoMessage ¶ added in v1.5.0
func (*TransformElasticSubnetsRequest) ProtoMessage()
func (*TransformElasticSubnetsRequest) ProtoReflect ¶ added in v1.5.0
func (x *TransformElasticSubnetsRequest) ProtoReflect() protoreflect.Message
func (*TransformElasticSubnetsRequest) Reset ¶ added in v1.5.0
func (x *TransformElasticSubnetsRequest) Reset()
func (*TransformElasticSubnetsRequest) String ¶ added in v1.5.0
func (x *TransformElasticSubnetsRequest) String() string
type TransformElasticSubnetsResponse ¶ added in v1.5.0
type TransformElasticSubnetsResponse struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` TxIds []string `protobuf:"bytes,2,rep,name=tx_ids,json=txIds,proto3" json:"tx_ids,omitempty"` AssetIds []string `protobuf:"bytes,3,rep,name=asset_ids,json=assetIds,proto3" json:"asset_ids,omitempty"` // contains filtered or unexported fields }
func (*TransformElasticSubnetsResponse) Descriptor
deprecated
added in
v1.5.0
func (*TransformElasticSubnetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransformElasticSubnetsResponse.ProtoReflect.Descriptor instead.
func (*TransformElasticSubnetsResponse) GetAssetIds ¶ added in v1.6.0
func (x *TransformElasticSubnetsResponse) GetAssetIds() []string
func (*TransformElasticSubnetsResponse) GetClusterInfo ¶ added in v1.5.0
func (x *TransformElasticSubnetsResponse) GetClusterInfo() *ClusterInfo
func (*TransformElasticSubnetsResponse) GetTxIds ¶ added in v1.5.0
func (x *TransformElasticSubnetsResponse) GetTxIds() []string
func (*TransformElasticSubnetsResponse) ProtoMessage ¶ added in v1.5.0
func (*TransformElasticSubnetsResponse) ProtoMessage()
func (*TransformElasticSubnetsResponse) ProtoReflect ¶ added in v1.5.0
func (x *TransformElasticSubnetsResponse) ProtoReflect() protoreflect.Message
func (*TransformElasticSubnetsResponse) Reset ¶ added in v1.5.0
func (x *TransformElasticSubnetsResponse) Reset()
func (*TransformElasticSubnetsResponse) String ¶ added in v1.5.0
func (x *TransformElasticSubnetsResponse) 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 ¶
func (UnimplementedControlServiceServer) AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error)
func (UnimplementedControlServiceServer) AddPermissionlessValidator ¶ added in v1.6.0
func (UnimplementedControlServiceServer) AddPermissionlessValidator(context.Context, *AddPermissionlessValidatorRequest) (*AddPermissionlessValidatorResponse, error)
func (UnimplementedControlServiceServer) AttachPeer ¶
func (UnimplementedControlServiceServer) AttachPeer(context.Context, *AttachPeerRequest) (*AttachPeerResponse, error)
func (UnimplementedControlServiceServer) CreateBlockchains ¶
func (UnimplementedControlServiceServer) CreateBlockchains(context.Context, *CreateBlockchainsRequest) (*CreateBlockchainsResponse, error)
func (UnimplementedControlServiceServer) CreateSubnets ¶
func (UnimplementedControlServiceServer) CreateSubnets(context.Context, *CreateSubnetsRequest) (*CreateSubnetsResponse, error)
func (UnimplementedControlServiceServer) GetSnapshotNames ¶
func (UnimplementedControlServiceServer) GetSnapshotNames(context.Context, *GetSnapshotNamesRequest) (*GetSnapshotNamesResponse, error)
func (UnimplementedControlServiceServer) Health ¶
func (UnimplementedControlServiceServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
func (UnimplementedControlServiceServer) LoadSnapshot ¶
func (UnimplementedControlServiceServer) LoadSnapshot(context.Context, *LoadSnapshotRequest) (*LoadSnapshotResponse, error)
func (UnimplementedControlServiceServer) PauseNode ¶ added in v1.4.1
func (UnimplementedControlServiceServer) PauseNode(context.Context, *PauseNodeRequest) (*PauseNodeResponse, error)
func (UnimplementedControlServiceServer) RPCVersion ¶ added in v1.3.9
func (UnimplementedControlServiceServer) RPCVersion(context.Context, *RPCVersionRequest) (*RPCVersionResponse, error)
func (UnimplementedControlServiceServer) RemoveNode ¶
func (UnimplementedControlServiceServer) RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error)
func (UnimplementedControlServiceServer) RemoveSnapshot ¶
func (UnimplementedControlServiceServer) RemoveSnapshot(context.Context, *RemoveSnapshotRequest) (*RemoveSnapshotResponse, error)
func (UnimplementedControlServiceServer) RemoveSubnetValidator ¶ added in v1.6.0
func (UnimplementedControlServiceServer) RemoveSubnetValidator(context.Context, *RemoveSubnetValidatorRequest) (*RemoveSubnetValidatorResponse, error)
func (UnimplementedControlServiceServer) RestartNode ¶
func (UnimplementedControlServiceServer) RestartNode(context.Context, *RestartNodeRequest) (*RestartNodeResponse, error)
func (UnimplementedControlServiceServer) ResumeNode ¶ added in v1.4.1
func (UnimplementedControlServiceServer) ResumeNode(context.Context, *ResumeNodeRequest) (*ResumeNodeResponse, error)
func (UnimplementedControlServiceServer) SaveSnapshot ¶
func (UnimplementedControlServiceServer) SaveSnapshot(context.Context, *SaveSnapshotRequest) (*SaveSnapshotResponse, error)
func (UnimplementedControlServiceServer) SendOutboundMessage ¶
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) TransformElasticSubnets ¶ added in v1.5.0
func (UnimplementedControlServiceServer) TransformElasticSubnets(context.Context, *TransformElasticSubnetsRequest) (*TransformElasticSubnetsResponse, error)
func (UnimplementedControlServiceServer) URIs ¶
func (UnimplementedControlServiceServer) URIs(context.Context, *URIsRequest) (*URIsResponse, error)
func (UnimplementedControlServiceServer) WaitForHealthy ¶
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 ¶
type WaitForHealthyRequest struct {
// contains filtered or unexported fields
}
func (*WaitForHealthyRequest) Descriptor
deprecated
func (*WaitForHealthyRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForHealthyRequest.ProtoReflect.Descriptor instead.
func (*WaitForHealthyRequest) ProtoMessage ¶
func (*WaitForHealthyRequest) ProtoMessage()
func (*WaitForHealthyRequest) ProtoReflect ¶
func (x *WaitForHealthyRequest) ProtoReflect() protoreflect.Message
func (*WaitForHealthyRequest) Reset ¶
func (x *WaitForHealthyRequest) Reset()
func (*WaitForHealthyRequest) String ¶
func (x *WaitForHealthyRequest) String() string
type WaitForHealthyResponse ¶
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
func (*WaitForHealthyResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForHealthyResponse.ProtoReflect.Descriptor instead.
func (*WaitForHealthyResponse) GetClusterInfo ¶
func (x *WaitForHealthyResponse) GetClusterInfo() *ClusterInfo
func (*WaitForHealthyResponse) ProtoMessage ¶
func (*WaitForHealthyResponse) ProtoMessage()
func (*WaitForHealthyResponse) ProtoReflect ¶
func (x *WaitForHealthyResponse) ProtoReflect() protoreflect.Message
func (*WaitForHealthyResponse) Reset ¶
func (x *WaitForHealthyResponse) Reset()
func (*WaitForHealthyResponse) String ¶
func (x *WaitForHealthyResponse) String() string