Documentation ¶
Index ¶
- Variables
- func Critical(loggrs []interface{}, message string)
- func Debug(loggrs []interface{}, message string)
- func DeleteFile(path string) (err error)
- func Error(loggrs []interface{}, message string)
- func GetAssumeRoleCreds(input GetAssumeRoleCredsInput) (creds *credentials.Credentials, err error)
- func GetResourceParts(input string) (service, resource string, err error)
- func GetSession() (sess *session.Session)
- func GetStringInBetween(str, start, end string) (result string)
- func GetignoredResourceParts(input string) (accountID, region, service, resource, resourceID string, err error)
- func Info(loggrs []interface{}, message string)
- func Map(vs []string, f func(string) string) []string
- func Notice(loggrs []interface{}, message string)
- func NumBetween(value, floor, ceiling int64) (result bool)
- func OutputError(err error)
- func PadToWidth(input, char string, inputLengthOverride int, trimToWidth bool) (output string)
- func PostSlackMessage(config root.Slack, input PostSlackMessageInput) (err error)
- func PtrToStr(s string) *string
- func Send(input ses.SendEmailInput, region string) (err error)
- func StringInSlice(a string, list []string) bool
- func StringInSliceContents(a string, list []string) bool
- func StringSliceToLower(input []string) (output []string)
- func ToInt64(input interface{}) (output int64, err error)
- func Warn(loggrs []interface{}, message string)
- type Criteria
- type Criterion
- type GetAssumeRoleCredsInput
- type PostSlackMessageInput
- type Resource
- type Resources
- type Service
- type Services
Constants ¶
This section is empty.
Variables ¶
View Source
var ImplementedServices = Services{ Service{ Name: "iam", Resources: iamResources, }, Service{ Name: "ec2", Resources: ec2Resources, }, Service{ Name: "cloudtrail", Resources: cloudTrailResources, }, Service{ Name: "config", Resources: configResources, }, Service{ Name: "kms", Resources: kmsResources, }, Service{ Name: "s3", Resources: s3Resources, }, }
Functions ¶
func Critical ¶
func Critical(loggrs []interface{}, message string)
Critical writes entry to provided loggers
func Debug ¶
func Debug(loggrs []interface{}, message string)
Debug writes entry to provided loggers
func DeleteFile ¶
func Error ¶
func Error(loggrs []interface{}, message string)
Error writes entry to provided loggers
func GetAssumeRoleCreds ¶
func GetAssumeRoleCreds(input GetAssumeRoleCredsInput) (creds *credentials.Credentials, err error)
func GetResourceParts ¶
func GetSession ¶
func GetStringInBetween ¶
func GetignoredResourceParts ¶
func Notice ¶
func Notice(loggrs []interface{}, message string)
Notice writes entry to provided loggers
func NumBetween ¶
func OutputError ¶
func OutputError(err error)
func PadToWidth ¶
func PostSlackMessage ¶
func PostSlackMessage(config root.Slack, input PostSlackMessageInput) (err error)
func StringInSlice ¶
func StringInSliceContents ¶
func StringSliceToLower ¶
Types ¶
type GetAssumeRoleCredsInput ¶
type PostSlackMessageInput ¶
Click to show internal directories.
Click to hide internal directories.