Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCommand ¶
func New ¶
func New() *AWSCommand
func (*AWSCommand) AddCommand ¶
func (a *AWSCommand) AddCommand(name, help, group string, cmd interface{}, tags ...string)
func (*AWSCommand) ClearEnvironment ¶
func (a *AWSCommand) ClearEnvironment()
func (*AWSCommand) Parse ¶
func (a *AWSCommand) Parse(cliStruct interface{}) *kong.Context
type CLI ¶
type CLI struct { // Application wide debug flag Debug bool `help:"Enable debug mode."` // Actual commands Assume commands.AssumeCmd `cmd:"assume" help:"Assume credentials using MFA"` AssumeKeys commands.AssumeKeysCmd `cmd:"assume-keys" help:"Manage AWS Assume role session keys"` Clusters commands.ClustersCmd `cmd:"clusters" help:"List EKS clusters"` Configure commands.ConfigureCmd `cmd:"configure" help:"Run interactive configuration"` Keys commands.KeysCmd `cmd:"keys" help:"Manage AWS session keys"` Refresh commands.RefreshCmd `cmd:"refresh" help:"Refresh credentials using MFA"` Wrap commands.WrapCmd `cmd:"wrap" help:"Wrap kubectl with exported variables after assume role" passthrough:""` Images commands.ImageCmd `cmd:"images" help:"Get images using kubectl with exported variables after assume role" passthrough:""` }
Click to show internal directories.
Click to hide internal directories.