route53cache

package
v0.0.0-...-e2d6844 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

Cache for Route53 DNS record lookups

func New

func New(records []*route53.ResourceRecordSet) *Cache

New creates cache for the provided Route53 records

func (*Cache) FindRecordsForInstance

func (c *Cache) FindRecordsForInstance(i *ec2.Instance) (results []string)

FindRecordsForInstance looks for and returns DNS records for a specific EC2 instance

Jump to

Keyboard shortcuts

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