ecs

package module
v0.16.1-0...-a11e727 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeStr = "ecs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceDetector

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

resource detector collects resource information from Elastic Container Service environment

func NewResourceDetector

func NewResourceDetector() *ResourceDetector

func (*ResourceDetector) Detect

func (detector *ResourceDetector) Detect(ctx context.Context) (*resource.Resource, error)

Detect finds associated resources when running on ECS environment.

Jump to

Keyboard shortcuts

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