Documentation
¶
Index ¶
- Constants
- type DataNode
- type Faucet
- type GeneratedServices
- func (gs GeneratedServices) GetNodeSet(name string) (*NodeSet, error)
- func (gs GeneratedServices) GetNodeSetsByGroupName(groupName string) []NodeSet
- func (gs GeneratedServices) GetValidators() []NodeSet
- func (gs GeneratedServices) ListValidators() []VegaNodeOutput
- func (gs GeneratedServices) PreGenerateJobsIDs() []string
- type JobIDMap
- type NetworkJobs
- type NodeSet
- type NodeSetFilter
- type NodeSetMap
- type NodeWalletInfo
- type NomadJob
- type RawJobWithNomadJob
- type SmartContractsInfo
- type TendermintNode
- type VegaNode
- type VegaNodeOutput
- type Wallet
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 PreGenerateJobs []NomadJob }
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
func (GeneratedServices) PreGenerateJobsIDs ¶ added in v0.2.0
func (gs GeneratedServices) PreGenerateJobsIDs() []string
PreGenerateJobsIDs returns pre gen jobs ids across all node sets
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"` PreGenerateJobs []NomadJob }
func FilterNodeSets ¶
func FilterNodeSets(nodeSets []NodeSet, filters ...NodeSetFilter) []NodeSet
func (NodeSet) PreGenerateJobsIDs ¶ added in v0.2.0
PreGenerateJobsIDs returns pre gen jobs ids per specific node set
func (NodeSet) PreGenerateRawJobs ¶ added in v0.2.0
PreGenerateRawJobs returns pre gen jobs per specific node set
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 RawJobWithNomadJob ¶ added in v0.2.0
type SmartContractsInfo ¶
type TendermintNode ¶
type VegaNodeOutput ¶
Click to show internal directories.
Click to hide internal directories.