ec2

package
v0.0.0-...-f06bd48 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourceDetector

func NewResourceDetector() resource.Detector

NewResourceDetector will return an implementation for aws ec2 resource detector

Types

type EC2

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

EC2 implements resource.Detector interface, for an ec2 instance

func (*EC2) Detect

func (ec2 *EC2) Detect(ctx context.Context) (*resource.Resource, error)

Detect will return a resource instance which will have attributes describing, an ec2 instance

Jump to

Keyboard shortcuts

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