Documentation ¶
Index ¶
- func CheckCommand(command string)
- func CreateAccount(nodeName string) *types.Account
- func CreateDelegateAccount(delegateName string) *types.Account
- func CreateDelegateConfig(ipAddress string, httpPort, grpcPort int64, localPort int64, ...) *types.Config
- func CreateNewLocalConfigs(clusterStructure *configTypes.ClusterStructure, ...) map[string]*configTypes.NodeInfo
- func CreateSeedAccount() *types.Account
- func CreateSeedConfig(ipAddress string, httpPort, grpcPort int64, localPort int64, ...) *types.Config
- func Exec(command string) error
- func ExecFromDir(command, dir string) error
- func ExecWithOut(command string) (string, error)
- func GetAccount(dirName, nodeName string) *types.Account
- func GetConfig(dirName, nodeName string) (*types.Config, error)
- func GetDefaultDirectory() string
- func GetDisgoDirectory() string
- func GetEncryptedPrivateKey(account *types.Account) (*crypto.EncryptedKeyJSONV3, error)
- func GetNewRemoteConfigs(seedNodes, delegateNodes []*configTypes.NodeInfo) map[string]*configTypes.NodeInfo
- func MultiExecWithOut(outCmd string, cmds ...string) (string, error)
- func SetupDefaultConfig(host string, ...)
- func Update(dir, versionNbr, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCommand ¶
func CheckCommand(command string)
func CreateAccount ¶
func CreateDelegateAccount ¶
func CreateDelegateConfig ¶
func CreateNewLocalConfigs ¶
func CreateNewLocalConfigs(clusterStructure *configTypes.ClusterStructure, seedNodes []*configTypes.NodeInfo, delegateNodes []*configTypes.NodeInfo, restricted bool) map[string]*configTypes.NodeInfo
Restricted config specifies delegate list in the seed node so any nodes joining are a only type Node Non-Restricted config does not specify delegate list in the seed node so any nodes joining are a delegate
func CreateSeedAccount ¶
func CreateSeedConfig ¶
func ExecFromDir ¶
func ExecWithOut ¶
func GetAccount ¶
func GetDefaultDirectory ¶
func GetDefaultDirectory() string
func GetDisgoDirectory ¶
func GetDisgoDirectory() string
func GetEncryptedPrivateKey ¶
func GetEncryptedPrivateKey(account *types.Account) (*crypto.EncryptedKeyJSONV3, error)
func GetNewRemoteConfigs ¶
func GetNewRemoteConfigs(seedNodes, delegateNodes []*configTypes.NodeInfo) map[string]*configTypes.NodeInfo
func SetupDefaultConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.