Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultSSHUser = "root" DefaultSSHPort = 22 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
Name string `toml:"-"`
Connections []MachineConnection `toml:"connections"`
}
type Config ¶
type Config struct {
Clusters map[string]*Cluster `toml:"clusters"`
CurrentCluster string `toml:"current_cluster"`
// contains filtered or unexported fields
}
func NewFromFile ¶
type MachineConnection ¶
type SSHDestination ¶
type SSHDestination string
SSHDestination represents an SSH destination string in the canonical form of "user@host:port". The default user "root" and port 22 can be omitted.
func NewSSHDestination ¶
func NewSSHDestination(user, host string, port int) SSHDestination
Click to show internal directories.
Click to hide internal directories.