gke

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: 3 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 gke resource detector

Types

type GKE

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

GKE implements resource.Detector interface for GKE

func (*GKE) Detect

func (computeEngine *GKE) Detect(ctx context.Context) (*resource.Resource, error)

Detect detects associated resources when running in GKE environment.

Jump to

Keyboard shortcuts

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