Documentation
¶
Index ¶
Constants ¶
View Source
const ( // The json/yaml config key for the config of nodes of outside cloud provider e.g. linode or ec2 ExternalNodeConfigConfigurationFileKey = "externalNodes" SSHPathConfigurationKey = "sshPath" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExternalNodeConfig ¶
ExternalNodeConfig is a struct that is a collection of the node configurations
type Node ¶
type Node struct {
NodeID string `json:"nodeID" yaml:"nodeID"`
PublicIPAddress string `json:"publicIPAddress" yaml:"publicIPAddress"`
PrivateIPAddress string `json:"privateIPAddress" yaml:"privateIPAddress"`
PublicIPv6Address string `json:"publicIPv6Address" yaml:"publicIPv6Address"`
PrivateIPv6Address string `json:"privateIPv6Address" yaml:"privateIPv6Address"`
SSHUser string `json:"sshUser" yaml:"sshUser"`
SSHKeyName string `json:"sshKeyName" yaml:"sshKeyName"`
SSHKey []byte
}
Node is a configuration of node that is from an outside cloud provider
func (*Node) ExecuteCommand ¶
ExecuteCommand executes `command` in the specific node created.
func (*Node) SCPFileToNode ¶
SCPFileToNode copies a file from the local machine to the specific node created.
Click to show internal directories.
Click to hide internal directories.