Documentation
¶
Overview ¶
Package rpcpb holds the netrunner control-plane request/response types.
Default build: hand-rolled plain Go structs with json: tags. No google.golang.org/protobuf, no protoimpl reflection — these are pure data containers that ride inside a ZAP envelope (see netrunner/zaprpc).
Legacy build (-tags grpc): rpc.pb.go provides the protoc-gen-go version of the same names. Either file compiles, never both.
Index ¶
- type AddNodeRequest
- func (m *AddNodeRequest) GetChainConfigFiles() map[string]string
- func (m *AddNodeRequest) GetChainConfigs() map[string]string
- func (m *AddNodeRequest) GetExecPath() string
- func (m *AddNodeRequest) GetName() string
- func (m *AddNodeRequest) GetNodeConfig() string
- func (m *AddNodeRequest) GetPluginDir() string
- func (m *AddNodeRequest) GetUpgradeConfigs() map[string]string
- type AddNodeResponse
- type AddPermissionlessValidatorRequest
- type AddPermissionlessValidatorResponse
- type AttachPeerRequest
- type AttachPeerResponse
- type AttachedPeerInfo
- type BlockchainSpec
- func (m *BlockchainSpec) GetBlockchainAlias() string
- func (m *BlockchainSpec) GetChainConfig() string
- func (m *BlockchainSpec) GetChainId() string
- func (m *BlockchainSpec) GetChainSpec() *ChainSpec
- func (m *BlockchainSpec) GetGenesis() string
- func (m *BlockchainSpec) GetNetworkUpgrade() string
- func (m *BlockchainSpec) GetPerNodeChainConfig() string
- func (m *BlockchainSpec) GetVmName() string
- type ChainInfo
- type ChainParticipants
- type ChainSpec
- type ClusterInfo
- func (m *ClusterInfo) GetAttachedPeerInfos() map[string]*ListOfAttachedPeerInfo
- func (m *ClusterInfo) GetChains() map[string]*ChainInfo
- func (m *ClusterInfo) GetClusterInfo() *ClusterInfo
- func (m *ClusterInfo) GetCustomChains() map[string]*CustomChainInfo
- func (m *ClusterInfo) GetCustomChainsHealthy() bool
- func (m *ClusterInfo) GetHealthy() bool
- func (m *ClusterInfo) GetNodeInfos() map[string]*NodeInfo
- func (m *ClusterInfo) GetNodeNames() []string
- func (m *ClusterInfo) GetPid() int32
- func (m *ClusterInfo) GetRootDataDir() string
- type CreateBlockchainsRequest
- type CreateBlockchainsResponse
- type CreateChainsRequest
- type CreateChainsResponse
- type CustomChainInfo
- type ElasticChainSpec
- type GetSnapshotNamesRequest
- type GetSnapshotNamesResponse
- type HealthRequest
- type HealthResponse
- type ListOfAttachedPeerInfo
- type LoadSnapshotRequest
- func (m *LoadSnapshotRequest) GetChainConfigFiles() map[string]string
- func (m *LoadSnapshotRequest) GetChainConfigs() map[string]string
- func (m *LoadSnapshotRequest) GetExecPath() string
- func (m *LoadSnapshotRequest) GetGlobalNodeConfig() string
- func (m *LoadSnapshotRequest) GetNetworkName() string
- func (m *LoadSnapshotRequest) GetPluginDir() string
- func (m *LoadSnapshotRequest) GetReassignPortsIfUsed() bool
- func (m *LoadSnapshotRequest) GetRootDataDir() string
- func (m *LoadSnapshotRequest) GetSnapshotName() string
- func (m *LoadSnapshotRequest) GetUpgradeConfigs() map[string]string
- type LoadSnapshotResponse
- type NetworkHealth
- type NetworkStatus
- type NodeInfo
- func (m *NodeInfo) GetConfig() []byte
- func (m *NodeInfo) GetDbDir() string
- func (m *NodeInfo) GetExecPath() string
- func (m *NodeInfo) GetId() string
- func (m *NodeInfo) GetLogDir() string
- func (m *NodeInfo) GetName() string
- func (m *NodeInfo) GetPaused() bool
- func (m *NodeInfo) GetPluginDir() string
- func (m *NodeInfo) GetUri() string
- func (m *NodeInfo) GetWhitelistedChains() string
- type PauseNodeRequest
- type PauseNodeResponse
- type PermissionlessValidatorSpec
- type PingRequest
- type PingResponse
- type RPCVersionRequest
- type RPCVersionResponse
- type RemoveChainValidatorRequest
- type RemoveChainValidatorResponse
- type RemoveChainValidatorSpec
- type RemoveNodeRequest
- type RemoveNodeResponse
- type RemoveSnapshotRequest
- type RemoveSnapshotResponse
- type RestartNodeRequest
- func (m *RestartNodeRequest) GetChainConfigFiles() map[string]string
- func (m *RestartNodeRequest) GetChainConfigs() map[string]string
- func (m *RestartNodeRequest) GetExecPath() string
- func (m *RestartNodeRequest) GetName() string
- func (m *RestartNodeRequest) GetPluginDir() string
- func (m *RestartNodeRequest) GetUpgradeConfigs() map[string]string
- func (m *RestartNodeRequest) GetWhitelistedChains() string
- type RestartNodeResponse
- type ResumeNodeRequest
- type ResumeNodeResponse
- type SaveSnapshotRequest
- type SaveSnapshotResponse
- type SendOutboundMessageRequest
- type SendOutboundMessageResponse
- type StartRequest
- func (m *StartRequest) GetBlockchainSpecs() []*BlockchainSpec
- func (m *StartRequest) GetChainConfigFiles() map[string]string
- func (m *StartRequest) GetChainConfigs() map[string]string
- func (m *StartRequest) GetCustomNodeConfigs() map[string]string
- func (m *StartRequest) GetDynamicPorts() bool
- func (m *StartRequest) GetExecPath() string
- func (m *StartRequest) GetGlobalNodeConfig() string
- func (m *StartRequest) GetNetworkName() string
- func (m *StartRequest) GetNodeType() string
- func (m *StartRequest) GetNumNodes() uint32
- func (m *StartRequest) GetPluginDir() string
- func (m *StartRequest) GetReassignPortsIfUsed() bool
- func (m *StartRequest) GetRootDataDir() string
- func (m *StartRequest) GetUpgradeConfigs() map[string]string
- func (m *StartRequest) GetWhitelistedChains() string
- type StartResponse
- type StatusRequest
- type StatusResponse
- type StopRequest
- type StopResponse
- type StreamStatusRequest
- type StreamStatusResponse
- type TransformElasticChainsRequest
- type TransformElasticChainsResponse
- type URIsRequest
- type URIsResponse
- type WaitForHealthyRequest
- type WaitForHealthyResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNodeRequest ¶
type AddNodeRequest struct {
Name string `json:"name,omitempty"`
ExecPath string `json:"execPath,omitempty"`
NodeConfig *string `json:"nodeConfig,omitempty"`
ChainConfigs map[string]string `json:"chainConfigs,omitempty"`
UpgradeConfigs map[string]string `json:"upgradeConfigs,omitempty"`
ChainConfigFiles map[string]string `json:"chainConfigFiles,omitempty"`
PluginDir string `json:"pluginDir,omitempty"`
}
func (*AddNodeRequest) GetChainConfigFiles ¶
func (m *AddNodeRequest) GetChainConfigFiles() map[string]string
func (*AddNodeRequest) GetChainConfigs ¶
func (m *AddNodeRequest) GetChainConfigs() map[string]string
func (*AddNodeRequest) GetExecPath ¶
func (m *AddNodeRequest) GetExecPath() string
func (*AddNodeRequest) GetName ¶
func (m *AddNodeRequest) GetName() string
func (*AddNodeRequest) GetNodeConfig ¶
func (m *AddNodeRequest) GetNodeConfig() string
func (*AddNodeRequest) GetPluginDir ¶
func (m *AddNodeRequest) GetPluginDir() string
func (*AddNodeRequest) GetUpgradeConfigs ¶
func (m *AddNodeRequest) GetUpgradeConfigs() map[string]string
type AddNodeResponse ¶
type AddNodeResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type AddPermissionlessValidatorRequest ¶
type AddPermissionlessValidatorRequest struct {
ValidatorSpec []*PermissionlessValidatorSpec `json:"validatorSpec,omitempty"`
}
func (*AddPermissionlessValidatorRequest) GetValidatorSpec ¶
func (m *AddPermissionlessValidatorRequest) GetValidatorSpec() []*PermissionlessValidatorSpec
type AddPermissionlessValidatorResponse ¶
type AddPermissionlessValidatorResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type AttachPeerRequest ¶
type AttachPeerRequest struct {
NodeName string `json:"nodeName,omitempty"`
}
type AttachPeerResponse ¶
type AttachPeerResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
AttachedPeerInfo *AttachedPeerInfo `json:"attachedPeerInfo,omitempty"`
}
type AttachedPeerInfo ¶
type AttachedPeerInfo struct {
Id string `json:"id,omitempty"`
}
func (*AttachedPeerInfo) GetId ¶
func (m *AttachedPeerInfo) GetId() string
type BlockchainSpec ¶
type BlockchainSpec struct {
VmName string `json:"vmName,omitempty"`
Genesis string `json:"genesis,omitempty"`
ChainId *string `json:"chainId,omitempty"`
ChainSpec *ChainSpec `json:"chainSpec,omitempty"`
ChainConfig string `json:"chainConfig,omitempty"`
NetworkUpgrade string `json:"networkUpgrade,omitempty"`
BlockchainAlias string `json:"blockchainAlias,omitempty"`
PerNodeChainConfig string `json:"perNodeChainConfig,omitempty"`
}
func (*BlockchainSpec) GetBlockchainAlias ¶
func (m *BlockchainSpec) GetBlockchainAlias() string
func (*BlockchainSpec) GetChainConfig ¶
func (m *BlockchainSpec) GetChainConfig() string
func (*BlockchainSpec) GetChainId ¶
func (m *BlockchainSpec) GetChainId() string
func (*BlockchainSpec) GetChainSpec ¶
func (m *BlockchainSpec) GetChainSpec() *ChainSpec
func (*BlockchainSpec) GetGenesis ¶
func (m *BlockchainSpec) GetGenesis() string
func (*BlockchainSpec) GetNetworkUpgrade ¶
func (m *BlockchainSpec) GetNetworkUpgrade() string
func (*BlockchainSpec) GetPerNodeChainConfig ¶
func (m *BlockchainSpec) GetPerNodeChainConfig() string
func (*BlockchainSpec) GetVmName ¶
func (m *BlockchainSpec) GetVmName() string
type ChainInfo ¶
type ChainInfo struct {
IsElastic bool `json:"isElastic,omitempty"`
ElasticChainId string `json:"elasticChainId,omitempty"`
ChainParticipants *ChainParticipants `json:"chainParticipants,omitempty"`
}
func (*ChainInfo) GetChainParticipants ¶
func (m *ChainInfo) GetChainParticipants() *ChainParticipants
func (*ChainInfo) GetElasticChainId ¶
func (*ChainInfo) GetIsElastic ¶
type ChainParticipants ¶
type ChainParticipants struct {
NodeNames []string `json:"nodeNames,omitempty"`
}
func (*ChainParticipants) GetNodeNames ¶
func (m *ChainParticipants) GetNodeNames() []string
type ChainSpec ¶
type ChainSpec struct {
Participants []string `json:"participants,omitempty"`
ChainConfigFile string `json:"chainConfigFile,omitempty"`
}
func (*ChainSpec) GetChainConfigFile ¶
func (*ChainSpec) GetParticipants ¶
type ClusterInfo ¶
type ClusterInfo struct {
NodeNames []string `json:"nodeNames,omitempty"`
NodeInfos map[string]*NodeInfo `json:"nodeInfos,omitempty"`
Pid int32 `json:"pid,omitempty"`
RootDataDir string `json:"rootDataDir,omitempty"`
Healthy bool `json:"healthy,omitempty"`
AttachedPeerInfos map[string]*ListOfAttachedPeerInfo `json:"attachedPeerInfos,omitempty"`
CustomChainsHealthy bool `json:"customChainsHealthy,omitempty"`
CustomChains map[string]*CustomChainInfo `json:"customChains,omitempty"`
Chains map[string]*ChainInfo `json:"chains,omitempty"`
}
ClusterInfo describes a running netrunner cluster.
func (*ClusterInfo) GetAttachedPeerInfos ¶
func (m *ClusterInfo) GetAttachedPeerInfos() map[string]*ListOfAttachedPeerInfo
func (*ClusterInfo) GetChains ¶
func (m *ClusterInfo) GetChains() map[string]*ChainInfo
func (*ClusterInfo) GetClusterInfo ¶ added in v1.18.5
func (m *ClusterInfo) GetClusterInfo() *ClusterInfo
func (*ClusterInfo) GetCustomChains ¶
func (m *ClusterInfo) GetCustomChains() map[string]*CustomChainInfo
func (*ClusterInfo) GetCustomChainsHealthy ¶
func (m *ClusterInfo) GetCustomChainsHealthy() bool
func (*ClusterInfo) GetHealthy ¶
func (m *ClusterInfo) GetHealthy() bool
func (*ClusterInfo) GetNodeInfos ¶
func (m *ClusterInfo) GetNodeInfos() map[string]*NodeInfo
func (*ClusterInfo) GetNodeNames ¶
func (m *ClusterInfo) GetNodeNames() []string
func (*ClusterInfo) GetPid ¶
func (m *ClusterInfo) GetPid() int32
func (*ClusterInfo) GetRootDataDir ¶
func (m *ClusterInfo) GetRootDataDir() string
type CreateBlockchainsRequest ¶
type CreateBlockchainsRequest struct {
BlockchainSpecs []*BlockchainSpec `json:"blockchainSpecs,omitempty"`
}
func (*CreateBlockchainsRequest) GetBlockchainSpecs ¶
func (m *CreateBlockchainsRequest) GetBlockchainSpecs() []*BlockchainSpec
type CreateBlockchainsResponse ¶
type CreateBlockchainsResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
ChainIds []string `json:"chainIds,omitempty"`
}
type CreateChainsRequest ¶
type CreateChainsRequest struct {
ChainSpecs []*ChainSpec `json:"chainSpecs,omitempty"`
}
func (*CreateChainsRequest) GetChainSpecs ¶
func (m *CreateChainsRequest) GetChainSpecs() []*ChainSpec
type CreateChainsResponse ¶
type CreateChainsResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
ChainIds []string `json:"chainIds,omitempty"`
}
type CustomChainInfo ¶
type CustomChainInfo struct {
ChainName string `json:"chainName,omitempty"`
VmId string `json:"vmId,omitempty"`
PchainId string `json:"pchainId,omitempty"`
BlockchainId string `json:"blockchainId,omitempty"`
}
func (*CustomChainInfo) GetBlockchainId ¶
func (m *CustomChainInfo) GetBlockchainId() string
func (*CustomChainInfo) GetChainName ¶
func (m *CustomChainInfo) GetChainName() string
func (*CustomChainInfo) GetPchainId ¶
func (m *CustomChainInfo) GetPchainId() string
func (*CustomChainInfo) GetVmId ¶
func (m *CustomChainInfo) GetVmId() string
type ElasticChainSpec ¶
type ElasticChainSpec struct {
ChainId string `json:"chainId,omitempty"`
AssetName string `json:"assetName,omitempty"`
AssetSymbol string `json:"assetSymbol,omitempty"`
InitialSupply uint64 `json:"initialSupply,omitempty"`
MaxSupply uint64 `json:"maxSupply,omitempty"`
MinConsumptionRate uint64 `json:"minConsumptionRate,omitempty"`
MaxConsumptionRate uint64 `json:"maxConsumptionRate,omitempty"`
MinValidatorStake uint64 `json:"minValidatorStake,omitempty"`
MaxValidatorStake uint64 `json:"maxValidatorStake,omitempty"`
MinStakeDuration uint64 `json:"minStakeDuration,omitempty"`
MaxStakeDuration uint64 `json:"maxStakeDuration,omitempty"`
MinDelegationFee uint32 `json:"minDelegationFee,omitempty"`
MinDelegatorStake uint64 `json:"minDelegatorStake,omitempty"`
MaxValidatorWeightFactor uint32 `json:"maxValidatorWeightFactor,omitempty"`
UptimeRequirement uint32 `json:"uptimeRequirement,omitempty"`
}
func (*ElasticChainSpec) GetChainId ¶
func (m *ElasticChainSpec) GetChainId() string
type GetSnapshotNamesRequest ¶
type GetSnapshotNamesRequest struct {
NetworkName string `json:"networkName,omitempty"`
}
func (*GetSnapshotNamesRequest) GetNetworkName ¶
func (m *GetSnapshotNamesRequest) GetNetworkName() string
type GetSnapshotNamesResponse ¶
type GetSnapshotNamesResponse struct {
SnapshotNames []string `json:"snapshotNames,omitempty"`
}
type HealthRequest ¶
type HealthRequest struct {
NetworkName *string `json:"networkName,omitempty"`
}
type HealthResponse ¶
type HealthResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
NetworkHealth *NetworkHealth `json:"networkHealth,omitempty"`
}
type ListOfAttachedPeerInfo ¶
type ListOfAttachedPeerInfo struct {
Peers []*AttachedPeerInfo `json:"peers,omitempty"`
}
func (*ListOfAttachedPeerInfo) GetPeers ¶
func (m *ListOfAttachedPeerInfo) GetPeers() []*AttachedPeerInfo
type LoadSnapshotRequest ¶
type LoadSnapshotRequest struct {
NetworkName string `json:"networkName,omitempty"`
SnapshotName string `json:"snapshotName,omitempty"`
ExecPath *string `json:"execPath,omitempty"`
PluginDir string `json:"pluginDir,omitempty"`
RootDataDir *string `json:"rootDataDir,omitempty"`
ChainConfigs map[string]string `json:"chainConfigs,omitempty"`
UpgradeConfigs map[string]string `json:"upgradeConfigs,omitempty"`
GlobalNodeConfig *string `json:"globalNodeConfig,omitempty"`
ReassignPortsIfUsed *bool `json:"reassignPortsIfUsed,omitempty"`
ChainConfigFiles map[string]string `json:"chainConfigFiles,omitempty"`
}
func (*LoadSnapshotRequest) GetChainConfigFiles ¶
func (m *LoadSnapshotRequest) GetChainConfigFiles() map[string]string
func (*LoadSnapshotRequest) GetChainConfigs ¶
func (m *LoadSnapshotRequest) GetChainConfigs() map[string]string
func (*LoadSnapshotRequest) GetExecPath ¶
func (m *LoadSnapshotRequest) GetExecPath() string
func (*LoadSnapshotRequest) GetGlobalNodeConfig ¶
func (m *LoadSnapshotRequest) GetGlobalNodeConfig() string
func (*LoadSnapshotRequest) GetNetworkName ¶
func (m *LoadSnapshotRequest) GetNetworkName() string
func (*LoadSnapshotRequest) GetPluginDir ¶
func (m *LoadSnapshotRequest) GetPluginDir() string
func (*LoadSnapshotRequest) GetReassignPortsIfUsed ¶
func (m *LoadSnapshotRequest) GetReassignPortsIfUsed() bool
func (*LoadSnapshotRequest) GetRootDataDir ¶
func (m *LoadSnapshotRequest) GetRootDataDir() string
func (*LoadSnapshotRequest) GetSnapshotName ¶
func (m *LoadSnapshotRequest) GetSnapshotName() string
func (*LoadSnapshotRequest) GetUpgradeConfigs ¶
func (m *LoadSnapshotRequest) GetUpgradeConfigs() map[string]string
type LoadSnapshotResponse ¶
type LoadSnapshotResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type NetworkHealth ¶
type NetworkStatus ¶
type NodeInfo ¶
type NodeInfo struct {
Name string `json:"name,omitempty"`
ExecPath string `json:"execPath,omitempty"`
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
LogDir string `json:"logDir,omitempty"`
DbDir string `json:"dbDir,omitempty"`
PluginDir string `json:"pluginDir,omitempty"`
WhitelistedChains string `json:"whitelistedChains,omitempty"`
Config []byte `json:"config,omitempty"`
Paused bool `json:"paused,omitempty"`
}
NodeInfo describes a single node inside a cluster.
func (*NodeInfo) GetExecPath ¶
func (*NodeInfo) GetPluginDir ¶
func (*NodeInfo) GetWhitelistedChains ¶
type PauseNodeRequest ¶
type PauseNodeRequest struct {
Name string `json:"name,omitempty"`
}
type PauseNodeResponse ¶
type PauseNodeResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type PermissionlessValidatorSpec ¶
type PermissionlessValidatorSpec struct {
ChainId string `json:"chainId,omitempty"`
NodeName string `json:"nodeName,omitempty"`
StakedTokenAmount uint64 `json:"stakedTokenAmount,omitempty"`
AssetId string `json:"assetId,omitempty"`
StartTime string `json:"startTime,omitempty"`
StakeDuration uint64 `json:"stakeDuration,omitempty"`
}
type PingRequest ¶
type PingRequest struct{}
type PingResponse ¶
type PingResponse struct {
Pid int32 `json:"pid,omitempty"`
}
func (*PingResponse) GetPid ¶
func (m *PingResponse) GetPid() int32
type RPCVersionRequest ¶
type RPCVersionRequest struct{}
type RPCVersionResponse ¶
type RPCVersionResponse struct {
Version uint32 `json:"version,omitempty"`
}
func (*RPCVersionResponse) GetVersion ¶
func (m *RPCVersionResponse) GetVersion() uint32
type RemoveChainValidatorRequest ¶
type RemoveChainValidatorRequest struct {
ValidatorSpec []*RemoveChainValidatorSpec `json:"validatorSpec,omitempty"`
}
func (*RemoveChainValidatorRequest) GetValidatorSpec ¶
func (m *RemoveChainValidatorRequest) GetValidatorSpec() []*RemoveChainValidatorSpec
type RemoveChainValidatorResponse ¶
type RemoveChainValidatorResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type RemoveChainValidatorSpec ¶
type RemoveChainValidatorSpec struct {
ChainId string `json:"chainId,omitempty"`
NodeNames []string `json:"nodeNames,omitempty"`
}
func (*RemoveChainValidatorSpec) GetChainId ¶
func (m *RemoveChainValidatorSpec) GetChainId() string
func (*RemoveChainValidatorSpec) GetNodeNames ¶
func (m *RemoveChainValidatorSpec) GetNodeNames() []string
type RemoveNodeRequest ¶
type RemoveNodeRequest struct {
Name string `json:"name,omitempty"`
}
type RemoveNodeResponse ¶
type RemoveNodeResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type RemoveSnapshotRequest ¶
type RemoveSnapshotRequest struct {
NetworkName string `json:"networkName,omitempty"`
SnapshotName string `json:"snapshotName,omitempty"`
}
func (*RemoveSnapshotRequest) GetNetworkName ¶
func (m *RemoveSnapshotRequest) GetNetworkName() string
func (*RemoveSnapshotRequest) GetSnapshotName ¶
func (m *RemoveSnapshotRequest) GetSnapshotName() string
type RemoveSnapshotResponse ¶
type RemoveSnapshotResponse struct{}
type RestartNodeRequest ¶
type RestartNodeRequest struct {
Name string `json:"name,omitempty"`
ExecPath *string `json:"execPath,omitempty"`
WhitelistedChains *string `json:"whitelistedChains,omitempty"`
ChainConfigs map[string]string `json:"chainConfigs,omitempty"`
UpgradeConfigs map[string]string `json:"upgradeConfigs,omitempty"`
ChainConfigFiles map[string]string `json:"chainConfigFiles,omitempty"`
PluginDir string `json:"pluginDir,omitempty"`
}
func (*RestartNodeRequest) GetChainConfigFiles ¶
func (m *RestartNodeRequest) GetChainConfigFiles() map[string]string
func (*RestartNodeRequest) GetChainConfigs ¶
func (m *RestartNodeRequest) GetChainConfigs() map[string]string
func (*RestartNodeRequest) GetExecPath ¶
func (m *RestartNodeRequest) GetExecPath() string
func (*RestartNodeRequest) GetName ¶
func (m *RestartNodeRequest) GetName() string
func (*RestartNodeRequest) GetPluginDir ¶
func (m *RestartNodeRequest) GetPluginDir() string
func (*RestartNodeRequest) GetUpgradeConfigs ¶
func (m *RestartNodeRequest) GetUpgradeConfigs() map[string]string
func (*RestartNodeRequest) GetWhitelistedChains ¶
func (m *RestartNodeRequest) GetWhitelistedChains() string
type RestartNodeResponse ¶
type RestartNodeResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type ResumeNodeRequest ¶
type ResumeNodeRequest struct {
Name string `json:"name,omitempty"`
}
type ResumeNodeResponse ¶
type ResumeNodeResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type SaveSnapshotRequest ¶
type SaveSnapshotRequest struct {
NetworkName string `json:"networkName,omitempty"`
SnapshotName string `json:"snapshotName,omitempty"`
}
func (*SaveSnapshotRequest) GetNetworkName ¶
func (m *SaveSnapshotRequest) GetNetworkName() string
func (*SaveSnapshotRequest) GetSnapshotName ¶
func (m *SaveSnapshotRequest) GetSnapshotName() string
type SaveSnapshotResponse ¶
type SaveSnapshotResponse struct {
SnapshotPath string `json:"snapshotPath,omitempty"`
}
type SendOutboundMessageResponse ¶
type SendOutboundMessageResponse struct {
Sent bool `json:"sent,omitempty"`
}
type StartRequest ¶
type StartRequest struct {
NetworkName string `json:"networkName,omitempty"`
NodeType string `json:"nodeType,omitempty"`
ExecPath string `json:"execPath,omitempty"`
NumNodes *uint32 `json:"numNodes,omitempty"`
WhitelistedChains *string `json:"whitelistedChains,omitempty"`
GlobalNodeConfig *string `json:"globalNodeConfig,omitempty"`
RootDataDir *string `json:"rootDataDir,omitempty"`
PluginDir string `json:"pluginDir,omitempty"`
BlockchainSpecs []*BlockchainSpec `json:"blockchainSpecs,omitempty"`
CustomNodeConfigs map[string]string `json:"customNodeConfigs,omitempty"`
ChainConfigs map[string]string `json:"chainConfigs,omitempty"`
UpgradeConfigs map[string]string `json:"upgradeConfigs,omitempty"`
ReassignPortsIfUsed *bool `json:"reassignPortsIfUsed,omitempty"`
DynamicPorts *bool `json:"dynamicPorts,omitempty"`
ChainConfigFiles map[string]string `json:"chainConfigFiles,omitempty"`
}
func (*StartRequest) GetBlockchainSpecs ¶
func (m *StartRequest) GetBlockchainSpecs() []*BlockchainSpec
func (*StartRequest) GetChainConfigFiles ¶
func (m *StartRequest) GetChainConfigFiles() map[string]string
func (*StartRequest) GetChainConfigs ¶
func (m *StartRequest) GetChainConfigs() map[string]string
func (*StartRequest) GetCustomNodeConfigs ¶
func (m *StartRequest) GetCustomNodeConfigs() map[string]string
func (*StartRequest) GetDynamicPorts ¶
func (m *StartRequest) GetDynamicPorts() bool
func (*StartRequest) GetExecPath ¶
func (m *StartRequest) GetExecPath() string
func (*StartRequest) GetGlobalNodeConfig ¶
func (m *StartRequest) GetGlobalNodeConfig() string
func (*StartRequest) GetNetworkName ¶
func (m *StartRequest) GetNetworkName() string
func (*StartRequest) GetNodeType ¶
func (m *StartRequest) GetNodeType() string
func (*StartRequest) GetNumNodes ¶
func (m *StartRequest) GetNumNodes() uint32
func (*StartRequest) GetPluginDir ¶
func (m *StartRequest) GetPluginDir() string
func (*StartRequest) GetReassignPortsIfUsed ¶
func (m *StartRequest) GetReassignPortsIfUsed() bool
func (*StartRequest) GetRootDataDir ¶
func (m *StartRequest) GetRootDataDir() string
func (*StartRequest) GetUpgradeConfigs ¶
func (m *StartRequest) GetUpgradeConfigs() map[string]string
func (*StartRequest) GetWhitelistedChains ¶
func (m *StartRequest) GetWhitelistedChains() string
type StartResponse ¶
type StartResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
ChainIds []string `json:"chainIds,omitempty"`
}
type StatusRequest ¶
type StatusRequest struct {
NetworkName *string `json:"networkName,omitempty"`
}
type StatusResponse ¶
type StatusResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
NetworkStatus *NetworkStatus `json:"networkStatus,omitempty"`
}
type StopRequest ¶
type StopRequest struct{}
type StopResponse ¶
type StopResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type StreamStatusRequest ¶
type StreamStatusRequest struct {
PushInterval int64 `json:"pushInterval,omitempty"`
}
type StreamStatusResponse ¶
type StreamStatusResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
type TransformElasticChainsRequest ¶
type TransformElasticChainsRequest struct {
ElasticChainSpec []*ElasticChainSpec `json:"elasticChainSpec,omitempty"`
}
func (*TransformElasticChainsRequest) GetElasticChainSpec ¶
func (m *TransformElasticChainsRequest) GetElasticChainSpec() []*ElasticChainSpec
type TransformElasticChainsResponse ¶
type TransformElasticChainsResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
TxIds []string `json:"txIds,omitempty"`
AssetIds []string `json:"assetIds,omitempty"`
}
type URIsRequest ¶
type URIsRequest struct{}
type URIsResponse ¶
type URIsResponse struct {
Uris []string `json:"uris,omitempty"`
}
type WaitForHealthyRequest ¶
type WaitForHealthyRequest struct {
NetworkName *string `json:"networkName,omitempty"`
}
type WaitForHealthyResponse ¶
type WaitForHealthyResponse struct {
ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.