aws_search

package
v0.0.0-...-49fc94f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindResources

func FindResources(profiles []string, servicesGlobality map[string]bool, resourceType string, resourceName string) ([]interface{}, error)

func GetAwsAccount

func GetAwsAccount(cfg aws.Config, region string) string

func GetProfiles

func GetProfiles() ([]string, error)

func GetRegions

func GetRegions(profile string) ([]string, error)

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 {
	SearchResult
	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 {
	SearchResult
	PublicIp   string `json:"public_ip"`
	InstanceId string `json:"instance_id"`
}

type IamSearchResult

type IamSearchResult struct {
	SearchResult
	UserName string `json:"user_name"`
}

type LoadBalancerSearchResult

type LoadBalancerSearchResult struct {
	SearchResult
	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 SearchResult struct {
	Account string `json:"account"`
	Profile string `json:"profile"`
	Region  string `json:"region"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL