Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthGimmeAwsCreds ¶
func AuthGimmeAwsCreds() error
AuthGimmeAwsCreds authenticates with gimme-aws-creds
func AuthVerify ¶
AuthVerify checks if the user is authenticated and if not authenticates with gimme-aws-creds
func ConfigureExecCommand ¶
func ConfigureExecCommand(app *kingpin.Application, a *Awswitch)
func ExecCommand ¶
func ExecCommand(input ExecCommandInput) error
Types ¶
type Awswitch ¶
type Awswitch struct { Debug bool // contains filtered or unexported fields }
func ConfigureGlobals ¶
func ConfigureGlobals(app *kingpin.Application) *Awswitch
ConfigureGlobals sets up the global flags and returns the global config
func (*Awswitch) AwsCredentialsFile ¶ added in v1.0.2
func (a *Awswitch) AwsCredentialsFile() (*vault.CredentialsFile, error)
func (*Awswitch) MustGetProfileNames ¶
Click to show internal directories.
Click to hide internal directories.