ocdiscover

command
Version: v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

ocdiscover

This tool runs all known resource discovery mechanisms in the repository and returns the result encoded in the well-known environment variables.

Installation

Install the ocdiscover tool using:

go get contrib.go.opencensus.io/resource/cmd/ocdiscover

Usage

To run an arbitrary command with resource information provided via the OpenCensus environment varibales use:

env $(ocdiscovery) <command> [ <arg> ... ]

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

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