Documentation ¶
Index ¶
- Variables
- type AWSMenu
- type DetectMFAMenu
- type DurationMenu
- type ImportCredentialsMenu
- type Interaction
- func (interaction *Interaction) ReadInput(message string, rl *readline.Instance) (string, error)
- func (interaction *Interaction) ReadMenu(message string) (string, error)
- func (interaction *Interaction) ReadPrompt(message string) (string, error)
- func (interaction *Interaction) ReadValue(message string) (string, error)
- type MainMenu
- type Menu
- type SSHKeyMenu
- type VariableMenu
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidCredentials = errors.New("Credentials are not valid") ErrNotAUser = errors.New("Credentials are not for a user principal") )
View Source
var ( ErrUserAbort = errors.New("Aborted by user. Vault unchanged.") ErrSaveAndExit = errors.New("Exiting at user request.") )
Functions ¶
This section is empty.
Types ¶
type DetectMFAMenu ¶
type DetectMFAMenu struct {
*Menu
}
func (*DetectMFAMenu) Handler ¶
func (m *DetectMFAMenu) Handler() error
type DurationMenu ¶
type DurationMenu struct {
*Menu
}
func (*DurationMenu) Handler ¶
func (m *DurationMenu) Handler() error
func (*DurationMenu) Printer ¶
func (m *DurationMenu) Printer()
type ImportCredentialsMenu ¶
type ImportCredentialsMenu struct { Menu Credentials *vaulted.AWSCredentials }
func (*ImportCredentialsMenu) Handler ¶
func (m *ImportCredentialsMenu) Handler() error
type Interaction ¶
type Interaction struct {
// contains filtered or unexported fields
}
func (*Interaction) ReadMenu ¶
func (interaction *Interaction) ReadMenu(message string) (string, error)
func (*Interaction) ReadPrompt ¶
func (interaction *Interaction) ReadPrompt(message string) (string, error)
type Menu ¶
Menu the type of all menus for the edit classes, provides a standardized interface for abstraction
type SSHKeyMenu ¶
type SSHKeyMenu struct {
*Menu
}
func (*SSHKeyMenu) AddSSHKey ¶
func (m *SSHKeyMenu) AddSSHKey() error
func (*SSHKeyMenu) Handler ¶
func (m *SSHKeyMenu) Handler() error
func (*SSHKeyMenu) Help ¶
func (m *SSHKeyMenu) Help()
func (*SSHKeyMenu) Printer ¶
func (m *SSHKeyMenu) Printer()
type VariableMenu ¶
type VariableMenu struct {
*Menu
}
func (*VariableMenu) Handler ¶
func (m *VariableMenu) Handler() error
func (*VariableMenu) Help ¶
func (m *VariableMenu) Help()
func (*VariableMenu) Printer ¶
func (m *VariableMenu) Printer()
Click to show internal directories.
Click to hide internal directories.