ec2

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 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 {
	Session *session.Session
	Region  string
}

InstanceProvider is an instance provider for aws API

func (*InstanceProvider) GetEC2Regions added in v0.0.2

func (d *InstanceProvider) GetEC2Regions() ([]string, error)

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