Documentation ¶
Overview ¶
Package cname contains tools for finding the CNAMEs associated with a distribution in CloudFront.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromArgs ¶
FromArgs takes command line arguments and prints matching CloudFront IDs. Warning: Exits for unknown flags.
func GetID ¶
func GetID(cf *cloudfront.CloudFront, cname string) (ids []string, err error)
GetID returns a list of CloudFront IDs for distributions with CNAMEs matching cname.
func List ¶
func List(cf *cloudfront.CloudFront) (cnames map[string][]string, err error)
List returns a map from CloudFront distribution IDs to associate CNAME aliases.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.