Documentation ¶
Index ¶
- type AwsClient
- type Config
- func (c *Config) HasAwsCredentials() bool
- func (c *Config) HasAwsRegion() bool
- func (c *Config) LoadConfig(filename string) error
- func (c *Config) NewAwsClient() *AwsClient
- func (c *Config) NewAwsSession() *session.Session
- func (c *Config) SetAwsCredentials(accessKey string, secretKey string, region string)
- func (c *Config) SetIgnoreModule(ignoreModule string)
- func (c *Config) SetIgnoreRule(ignoreRule string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsClient ¶
type AwsClient struct { Iam iamiface.IAMAPI Ec2 ec2iface.EC2API Rds rdsiface.RDSAPI Elasticache elasticacheiface.ElastiCacheAPI Elb elbiface.ELBAPI Elbv2 elbv2iface.ELBV2API }
type Config ¶
type Config struct { Debug bool DeepCheck bool `hcl:"deep_check"` AwsCredentials map[string]string `hcl:"aws_credentials"` IgnoreModule map[string]bool `hcl:"ignore_module"` IgnoreRule map[string]bool `hcl:"ignore_rule"` }
func (*Config) HasAwsCredentials ¶
func (*Config) HasAwsRegion ¶
func (*Config) LoadConfig ¶
func (*Config) NewAwsClient ¶
func (*Config) NewAwsSession ¶
func (*Config) SetAwsCredentials ¶
func (*Config) SetIgnoreModule ¶
func (*Config) SetIgnoreRule ¶
Click to show internal directories.
Click to hide internal directories.