ec2

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceProvider

type InstanceProvider struct {
	Ec2Client *ec2.EC2
	Session   *session.Session
	Regions   []string
}

InstanceProvider is an instance provider for aws API

func (*InstanceProvider) GetResource

func (d *InstanceProvider) GetResource(ctx context.Context) ([]*schema.Host, error)

GetResource returns all the resources in the store for a provider.

Jump to

Keyboard shortcuts

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