Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterShellHandler ¶
func RegisterShellHandler(shell string, fn ShellHandler)
RegisterShellHandler registers a ShellHandler for a given shell. The shell name must be the last part of the path. So for example for /bin/bash it would be "bash"
Types ¶
type ShellHandler ¶
type ShellHandler func(credentials.AWSCredential, bool) []string
ShellHandler defines the method stub to implement for every supported shell
func GetShellHandler ¶
func GetShellHandler(shell string) (ShellHandler, error)
GetShellHandler returns a ShellHandler for the given shell name
Click to show internal directories.
Click to hide internal directories.