Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildCommonConfig ¶
type ChildCommonConfig struct {
Prepend string
}
type ChildConfig ¶
type ChildConfig struct {
Type string
Cd struct {
ChildCommonConfig
Dir string
}
Alias struct {
ChildCommonConfig
Target string
}
Ssh struct {
ChildCommonConfig
Host string
}
Ec2 struct {
ChildCommonConfig
Instance string
}
Shell struct {
ChildCommonConfig
Command string
}
}
func LoadChildConfig ¶
func LoadChildConfig(filename string) (*ChildConfig, error)
func (*ChildConfig) Common ¶
func (cc *ChildConfig) Common() *ChildCommonConfig
type Ec2HostConfig ¶
type Ec2HostConfig struct {
SshCommonConfig
Access_Key string
Secret_Key string
Region string
Name string
}
type HostConfig ¶
type HostConfig struct {
Shell ShellConfig
Ssh map[string]*SshHostConfig
Ec2 map[string]*Ec2HostConfig
}
func LoadHostConfig ¶
func LoadHostConfig() (*HostConfig, error)
type ShellConfig ¶
type SshCommonConfig ¶
type SshHostConfig ¶
type SshHostConfig struct {
SshCommonConfig
Hostname string
}
Click to show internal directories.
Click to hide internal directories.