Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPath = filepath.Join(os.Getenv("HOME"), ".ssh", "config")
Functions ¶
Types ¶
type Module ¶
type Module struct {
Config ModuleConfig
}
func NewModule ¶
func NewModule(config ModuleConfig) Module
func (Module) OptionsOrCache ¶
type ModuleConfig ¶
type ModuleConfig struct { // Name is used to override the default module name Name string `yaml:"name,omitempty"` // DisplayName is a template string to render a custom display name DisplayName string `yaml:"display-name"` // StartDirectory is a template string that defines the start directory StartDirectory string `yaml:"start-directory"` // ConfigFile is used in case your ssh config is not in the default location ConfigFile string `yaml:"file"` // Mode controls how sessions or windows are created for SSH connections Mode SSHMode `yaml:"mode"` }
Click to show internal directories.
Click to hide internal directories.