Documentation
¶
Index ¶
- func AskAssumeTarget(assumeList map[string]string) (string, error)
- func AskBaseAccountName() (string, error)
- func CheckTarget(arn, target string) error
- func IsDarwin() bool
- func IsValidAddress(ip string) error
- func ParseTargetList(args []string) ([]string, error)
- func PrintHasIPResult(out io.Writer, result []schema.IPCheckResult) error
- func PrintWebACL(out io.Writer, info *schema.WebACL) error
- type Runner
- func (r Runner) CheckIfTargetExistsInACL(targetList []string, acl string) ([]schema.IPCheckResult, error)
- func (r Runner) ChooseEnv() (string, error)
- func (r Runner) CopyRDSToken(env, region string) error
- func (r Runner) DescribeWebACL(out io.Writer, args []string) error
- func (r Runner) EcrLogin(out io.Writer) error
- func (r Runner) HasIP(out io.Writer, args []string) error
- func (r Runner) InitConfiguration() error
- func (r Runner) PrintAssumeList(out io.Writer) error
- func (r Runner) RenewCredentials(out io.Writer) error
- func (r Runner) SelectTargetACL(args []string) (string, error)
- func (r Runner) Setup(out io.Writer, args []string) error
- func (r Runner) Who(out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskAssumeTarget ¶
AskAssumeTarget asks assume target
func AskBaseAccountName ¶
AskBaseAccountName asks user's base account
func CheckTarget ¶
checkTarget checks if target is in the list
func IsValidAddress ¶
IsValidAddress checks if address is valid or not
func ParseTargetList ¶
ParseTargetList parses arguments to valid ip list
func PrintHasIPResult ¶
func PrintHasIPResult(out io.Writer, result []schema.IPCheckResult) error
PrintHasIPResult prints search result
Types ¶
type Runner ¶
func (Runner) CheckIfTargetExistsInACL ¶
func (r Runner) CheckIfTargetExistsInACL(targetList []string, acl string) ([]schema.IPCheckResult, error)
CheckIfTargetExistsInACL checks if target exists in ACL
func (Runner) CopyRDSToken ¶
CopyRDSToken copies RDS Token to clipboard
func (Runner) DescribeWebACL ¶
DescribeWebACL retrieves waf ip list and show them on the terminal
func (Runner) InitConfiguration ¶
InitConfiguration init new configuration
func (Runner) PrintAssumeList ¶
PrintAssumeList prints all accounts registered for assuming
func (Runner) RenewCredentials ¶
ResetCredentials creates new credentials
func (Runner) SelectTargetACL ¶
SelectTargetACL makes a user choose ACL from the list
Click to show internal directories.
Click to hide internal directories.