cloudfunction

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: 8 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 gcp cloud function resource detector

Types

type Function

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

Function implements resource.Detector interface for google cloud-function

func (*Function) Detect

func (f *Function) Detect(ctx context.Context) (*resource.Resource, error)

Detect detects associated resources when running in cloud function.

Jump to

Keyboard shortcuts

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