Documentation
¶
Index ¶
- Constants
- type AwsPlugin
- type BinPlugin
- type EmailPlugin
- type EmailPluginConfig
- type EnvsPlugin
- type EnvsPluginConfig
- type SSHPlugin
- func (p SSHPlugin) Config() interface{}
- func (p SSHPlugin) ConfigFile(profileLocation string) string
- func (p *SSHPlugin) Generate(profileLocation string) error
- func (p *SSHPlugin) LoadConfig(profileLocation string) error
- func (p SSHPlugin) Name() string
- func (p SSHPlugin) Render(profileName, profileLocation string) string
- type SSHPluginConfig
- type ShellHistoryPlugin
- type TmuxPlugin
Constants ¶
View Source
const AwsPluginName = "aws"
View Source
const BinPluginName = "bin"
View Source
const EmailPluginName = "email"
View Source
const EnvsPluginName = "envs"
View Source
const (
SSHPluginName = "ssh"
)
View Source
const ShellHistoryPluginName = "shell-history"
View Source
const (
TmuxPluginName = "tmux"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailPlugin ¶
type EmailPlugin struct {
// contains filtered or unexported fields
}
func NewEmailPlugin ¶
func NewEmailPlugin() *EmailPlugin
func (EmailPlugin) Config ¶
func (p EmailPlugin) Config() interface{}
func (EmailPlugin) ConfigFile ¶
func (p EmailPlugin) ConfigFile(profileLocation string) string
func (*EmailPlugin) LoadConfig ¶
func (p *EmailPlugin) LoadConfig(profileLocation string) error
func (EmailPlugin) Name ¶
func (p EmailPlugin) Name() string
func (EmailPlugin) Render ¶
func (p EmailPlugin) Render(profileName, profileLocation string) string
type EmailPluginConfig ¶
type EmailPluginConfig struct {
Email string `yaml:"email"`
}
type EnvsPlugin ¶
type EnvsPlugin struct {
// contains filtered or unexported fields
}
func NewEnvsPlugin ¶
func NewEnvsPlugin() *EnvsPlugin
func (EnvsPlugin) Config ¶
func (p EnvsPlugin) Config() interface{}
func (EnvsPlugin) ConfigFile ¶
func (p EnvsPlugin) ConfigFile(profileLocation string) string
func (*EnvsPlugin) LoadConfig ¶
func (p *EnvsPlugin) LoadConfig(profileLocation string) error
func (EnvsPlugin) Name ¶
func (p EnvsPlugin) Name() string
func (EnvsPlugin) Render ¶
func (p EnvsPlugin) Render(profileName, profileLocation string) string
type EnvsPluginConfig ¶
type SSHPlugin ¶
type SSHPlugin struct {
// contains filtered or unexported fields
}
func NewSSHPlugin ¶
func NewSSHPlugin() *SSHPlugin
func (SSHPlugin) ConfigFile ¶
func (*SSHPlugin) LoadConfig ¶
type SSHPluginConfig ¶
type ShellHistoryPlugin ¶
type ShellHistoryPlugin struct{}
func NewShellHistoryPlugin ¶
func NewShellHistoryPlugin() *ShellHistoryPlugin
func (ShellHistoryPlugin) Name ¶
func (p ShellHistoryPlugin) Name() string
func (ShellHistoryPlugin) Render ¶
func (p ShellHistoryPlugin) Render(profileName, profileLocation string) string
type TmuxPlugin ¶
type TmuxPlugin struct{}
func NewTmuxPlugin ¶
func NewTmuxPlugin() *TmuxPlugin
func (*TmuxPlugin) Generate ¶
func (p *TmuxPlugin) Generate(profileLocation string) error
func (TmuxPlugin) Name ¶
func (p TmuxPlugin) Name() string
func (TmuxPlugin) Render ¶
func (p TmuxPlugin) Render(profileName, profileLocation string) string
Click to show internal directories.
Click to hide internal directories.