Documentation
¶
Index ¶
Constants ¶
View Source
const ( NodeModeValidator = "validator" NodeModeFull = "full" NodeWalletChainTypeVega = "vega" NodeWalletChainTypeEthereum = "ethereum" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratedServices ¶
type GeneratedServices struct { Wallet *Wallet Faucet *Faucet NodeSets NodeSetMap }
func NewGeneratedServices ¶
func NewGeneratedServices(w *Wallet, f *Faucet, ns []NodeSet) *GeneratedServices
func (GeneratedServices) GetNodeSet ¶
func (gs GeneratedServices) GetNodeSet(name string) (*NodeSet, error)
func (GeneratedServices) GetNodeSetsByGroupName ¶
func (gs GeneratedServices) GetNodeSetsByGroupName(groupName string) []NodeSet
func (GeneratedServices) GetValidators ¶
func (gs GeneratedServices) GetValidators() []NodeSet
func (GeneratedServices) ListValidators ¶
func (gs GeneratedServices) ListValidators() []VegaNodeOutput
type NetworkJobs ¶
type NetworkJobs struct { NodesSetsJobIDs JobIDMap ExtraJobIDs JobIDMap FaucetJobID string WalletJobID string }
func (NetworkJobs) AddExtraJobIDs ¶
func (nj NetworkJobs) AddExtraJobIDs(ids []string)
func (NetworkJobs) Exists ¶
func (nj NetworkJobs) Exists(jobID string) bool
func (NetworkJobs) ToSlice ¶
func (nj NetworkJobs) ToSlice() []string
type NodeSet ¶
type NodeSet struct { GroupName string Name string Mode string Index int Vega VegaNode Tendermint TendermintNode DataNode *DataNode NomadJobRaw *string `json:",omitempty"` }
func FilterNodeSets ¶
func FilterNodeSets(nodeSets []NodeSet, filters ...NodeSetFilter) []NodeSet
type NodeSetFilter ¶
func NodeSetFilterByGroupName ¶
func NodeSetFilterByGroupName(groupName string) NodeSetFilter
func NodeSetFilterByGroupNames ¶
func NodeSetFilterByGroupNames(names []string) NodeSetFilter
func NodeSetFilterByNames ¶
func NodeSetFilterByNames(names []string) NodeSetFilter
type NodeSetMap ¶
func (NodeSetMap) ToSlice ¶
func (nm NodeSetMap) ToSlice() []NodeSet
type NodeWalletInfo ¶
type SmartContractsInfo ¶
type TendermintNode ¶
type VegaNodeOutput ¶
Click to show internal directories.
Click to hide internal directories.