package
0.0.7
Repository: https://github.com/it-objects/terra3-cli.git
Documentation: pkg.go.dev

# Functions

NewDNSResolver is a TargetResolver which knows how to find an EC2 instance using DNS TXT record lookups.
NewIPResolver is a TargetResolver which knows how to find an EC2 instance using the private IPv4 address.
NewTagResolver is a TargetResolver which knows how to find an EC2 instance using tags.
No description provided by the author
No description provided by the author
ResolveTarget attempts to find the instance ID of the target using a pre-defined resolution order.
ResolveTargetChain attempts to find the instance ID of the target using the provided list of TargetResolvers.

# Variables

ErrInvalidTargetFormat is the error returned if the target format doesn't match the expected format required by the resolver.
ErrNoInstanceFound is the error returned if a resolver was unable to find an instance.

# Structs

* EC2 Resolver calls the EC2 DescribeInstances API with a provided filter, which will return at most 1 * instance ID.
* IP Resolver attempts to find an instance by its private or public IPv4 address using the EC2 API.
PortForwardingInput configures the port forwarding session parameters.
* Tag Resolver attempts to find an instance using instance tags.

# Interfaces

TargetResolver is the interface specification for something which knows how to resolve and EC2 instance identifier.

# Type aliases

* DNS Resolver attempts to find an instance using a DNS TXT record lookup.