package
0.1.26
Repository: https://github.com/renproject/darknode-cli.git
Documentation: pkg.go.dev

# Functions

Fixme : right now the bootstrap node address are hardcoded.
GetConfigOrGenerateNew will generate a new config for the darknode.
StringfySshPubkey returned the.
StringInSlice checks whether the string is in the slice.
WriteSshKey writes the rsa key to a file in the ssh format.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.
All available droplet size on digital ocean.

# Variables

General flags.
All available regions on AWS.
No description provided by the author
Available regions on Digital Ocean.
AWS flags.
AWS flags.
AWS flags.
AWS flags.
AWS flags.
AWS flags.
AWS flags.
General flags.
General flags.
Directory is the directory address of the cli and all darknodes data.
Digital Ocean flags.
Digital ocean flags.
Digital ocean flags.
Digital ocean flags.
ErrEmptyAddress is returned when the Ethereum address is empty.
ErrEmptyDoToken is returned when the digital ocean token is empty.
ErrFilePath is returned when user doesn't provide the file path.
ErrEmptyNameAndTags is returned when both name and tags are not given.
ErrEmptyNodeName is returned when user doesn't provide the node name.
ErrFailedTx is returned when the transaction gets reverted on Ethereum.
ErrInvalidEthereumAddress is returned when user gives an invalid Ethereum address.
ErrInvalidSshKeyFile is returned when the ssh key file contains an invalid ssh key.
ErrKeyNotFound is returned when no AWS access-key nor secret-key provided.
ErrMultipleProviders is returned when user gives more than one provider.
ErrNameAndTags is returned when both name and tags are given.
ErrNilProvider is returned when the provider is nil.
ErrNoAvailableRegion is returned when the provided account has no available region.
ErrNodeExist is returned when user tries to created a new node with name already exists.
ErrNodeNotExist is returned when user tries to refund a node which doesn't exist.
ErrNoDeploymentFound is returned when no node can be found for destroying.
ErrNoNodesFound is returned when no nodes can be found with the given tag.
ErrRejectedTx is returned when the tx is rejected by Ethereum.
ErrUnknownDropletSize is returned when the user gives an unknown droplet size.
ErrUnknownNetwork is returned when user wants to deploy darknode to an unknown darkpool network.
ErrUnknownProvider is returned when user wants to deploy darknode to an unknown service provider.
ErrUnknownRegion is returned when the provided region is not valid.
ErrUnSupportedInstanceType is returned when the provided instance is not supported in the selected region.
ErrUnsupportedOS is returned when the operating system is not supported.
General flags.
General flags.
General flags.
General flags.
General flags.
Providers have all the cloud service providers currently supported.
General flags.
General flags.
General flags.

# Structs

Region is the json object returned by the digital-ocean API.

# Type aliases

Provider represents a Terraform provider.