gce

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package gce provides a detector that loads resource information from the GCE metatdata

Index

Constants

View Source
const TypeStr = "gce"

TypeStr is type of detector.

Variables

This section is empty.

Functions

Types

type Detector

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

func (*Detector) Detect

func (d *Detector) Detect(context.Context) (resource pcommon.Resource, schemaURL string, err error)

Jump to

Keyboard shortcuts

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