Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeCommand ¶
func AssumeCommand(c *cli.Context) error
func GlobalFlags ¶ added in v0.1.4
func GlobalFlags() []cli.Flag
Prevent issues where these flags are initialised in some part of the program then used by another part For our use case, we need fresh copies of these flags in the app and in the assume command we use this to allow flags to be set on either side of the profile arg e.g `assume -c profile-name -r ap-southeast-2`
func PrepareStringsForShellScript ¶ added in v0.1.6
func PrepareStringsForShellScript(in []string) []interface{}
PrepareCredentialsForShellScript will set empty values to "None", this is required by the shell script to identify which variables to unset it is also required to ensure that the return values are correctly split, e.g if sessionToken is "" then profile name will be used to set the session token environment variable
func UnsetAction ¶ added in v0.1.8
func UnsetAction(c *cli.Context) error
Types ¶
This section is empty.