discoverer

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discoverer

type Discoverer struct {
	Ec2Client *ec2.Client
}

func (*Discoverer) DiscoverAssets

func (d *Discoverer) DiscoverAssets(ctx context.Context) provider.AssetDiscoverer

func (*Discoverer) GetInstances

func (d *Discoverer) GetInstances(ctx context.Context, filters []ec2types.Filter, regionID string) ([]types.Instance, error)

func (*Discoverer) ListAllRegions

func (d *Discoverer) ListAllRegions(ctx context.Context) ([]types.Region, error)

Jump to

Keyboard shortcuts

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