Documentation ¶
Index ¶
- func FindResources(profiles []string, servicesGlobality map[string]bool, resourceType string, ...) ([]interface{}, error)
- func GetAwsAccount(cfg aws.Config, region string) string
- func GetProfiles() ([]string, error)
- func GetRegions(profile string) ([]string, error)
- type CloudfrontSearchResult
- type DNSSearchResult
- type Ec2SearchResult
- type ElasticIpSearchResult
- type IamUserKeySearchResult
- type IamUserSearchResult
- type LoadBalancerSearchResult
- type S3SearchResult
- type SearchResult
- type SearchResultNonGlobal
- type VpcSearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindResources ¶
func GetProfiles ¶
func GetRegions ¶
Types ¶
type CloudfrontSearchResult ¶
type CloudfrontSearchResult struct { SearchResult DistributionArn string `json:"distribution_arn"` DistributionId string `json:"distribution_id"` DomainName string `json:"domain_name"` }
type DNSSearchResult ¶
type DNSSearchResult struct { SearchResult HostedZoneName string `json:"hosted_zone_name"` DnsRecordName string `json:"dns_record_name"` DnsRecordType string `json:"dns_record_type"` }
type Ec2SearchResult ¶
type Ec2SearchResult struct { SearchResultNonGlobal InstanceId string `json:"instance_id"` InstanceName string `json:"instance_name"` PrivateIpAddress string `json:"private_ip_address"` PrivateDnsName string `json:"private_dns_name"` PublicDnsName string `json:"public_dns_name"` PublicIpAddress string `json:"public_ip_address"` }
type ElasticIpSearchResult ¶
type ElasticIpSearchResult struct { SearchResultNonGlobal PublicIp string `json:"public_ip"` InstanceId string `json:"instance_id"` }
type IamUserKeySearchResult ¶
type IamUserKeySearchResult struct { IamUserSearchResult AccessKey string `json:"access_key"` }
type IamUserSearchResult ¶
type IamUserSearchResult struct { SearchResult UserName string `json:"user_name"` }
type LoadBalancerSearchResult ¶
type LoadBalancerSearchResult struct { SearchResultNonGlobal LoadBalancerName string `json:"load_balancer_name"` LoadBalancerDnsName string `json:"load_balancer_dns_name"` }
type S3SearchResult ¶
type S3SearchResult struct { SearchResult BucketName string `json:"bucket_name"` }
type SearchResult ¶
type SearchResultNonGlobal ¶
type SearchResultNonGlobal struct { SearchResult Region string `json:"region"` }
type VpcSearchResult ¶
type VpcSearchResult struct { SearchResultNonGlobal VpcName string `json:"vpc_name"` VpcId string `json:"vpc_id"` CidrBlock string `json:"cidr_block"` }
Click to show internal directories.
Click to hide internal directories.