lambda

package
v0.0.0-...-f06bd48 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourceDetector

func NewResourceDetector() resource.Detector

NewResourceDetector will return an implementation for aws lambda resource detector

Types

type Client

type Client interface {
	GetCallerIdentity(input *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)
}

type Lambda

type Lambda struct {
}

Lambda implements, resource.Detector for aws lambda

func (*Lambda) Detect

func (lm *Lambda) Detect(ctx context.Context) (*resource.Resource, error)

Detect will return a resource instance which will have attributes describing lambda

Jump to

Keyboard shortcuts

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