gce

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 5 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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

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

func NewDetector

func NewDetector() *Detector

func (*Detector) Detect

func (d *Detector) Detect(context.Context) (pdata.Resource, error)

Jump to

Keyboard shortcuts

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