aws

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EC2FiltersFromTags added in v0.0.2

func EC2FiltersFromTags(tags []Tag) []types.Filter

func EC2InstanceHasExcludedTags added in v0.0.3

func EC2InstanceHasExcludedTags(excludedTags []Tag, instance types.Instance) bool

Types

type EC2Service

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

func NewEC2Service

func NewEC2Service(regions []string) (*EC2Service, error)

func (*EC2Service) ListInstances

func (s *EC2Service) ListInstances(filters []types.Filter) ([]types.Instance, error)

type Tag

type Tag struct {
	Key      string
	Value    string
	Wildcard bool
}

func ParseTags

func ParseTags(flagValue string) ([]Tag, error)

Jump to

Keyboard shortcuts

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