resolver

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.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 HostnameResolver

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

/ HostnameResolver attempts to resolve a fqdn or IP to a corresponding instance ID.

func NewHostnameResolver

func NewHostnameResolver(addrs []string) *HostnameResolver

func (*HostnameResolver) ResolveToInstanceId

func (hr *HostnameResolver) ResolveToInstanceId(client ec2iface.EC2API) (output []string, err error)

type InstanceResolver

type InstanceResolver interface {
	ResolveToInstanceId(client ec2iface.EC2API) ([]string, error)
}

Provides a interface for resolving an instance to a single ec2 instance.

Jump to

Keyboard shortcuts

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