profile

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2020 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 AwsPlugin

type AwsPlugin struct{}

func NewAwsPlugin

func NewAwsPlugin() *AwsPlugin

func (AwsPlugin) Name

func (p AwsPlugin) Name() string

func (AwsPlugin) Render

func (p AwsPlugin) Render(profileName, profileLocation string) string

type BinPlugin

type BinPlugin struct{}

func NewBinPlugin

func NewBinPlugin() *BinPlugin

func (BinPlugin) Name

func (p BinPlugin) Name() string

func (BinPlugin) Render

func (p BinPlugin) Render(profileName, profileLocation string) string

func (BinPlugin) Setup

func (p BinPlugin) Setup(profileLocation string) error

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 EnvsPluginConfig struct {
	Envs map[string]string
}

type SSHPlugin

type SSHPlugin struct {
	// contains filtered or unexported fields
}

func NewSSHPlugin

func NewSSHPlugin() *SSHPlugin

func (SSHPlugin) Config

func (p SSHPlugin) Config() interface{}

func (SSHPlugin) ConfigFile

func (p SSHPlugin) ConfigFile(profileLocation string) string

func (*SSHPlugin) Generate

func (p *SSHPlugin) Generate(profileLocation string) error

func (*SSHPlugin) LoadConfig

func (p *SSHPlugin) LoadConfig(profileLocation string) error

func (SSHPlugin) Name

func (p SSHPlugin) Name() string

func (SSHPlugin) Render

func (p SSHPlugin) Render(profileName, profileLocation string) string

type SSHPluginConfig

type SSHPluginConfig struct {
	Keys      []string
	CachePath string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL