instrumentation

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const Prompt = `` /* 419-byte string literal not displayed */

Variables

View Source
var (
	MeteredCommands = util.NewStringSet()
)

Functions

func AddDevIteration added in v1.18.0

func AddDevIteration(intent string)

func AddDevIterationErr added in v1.18.0

func AddDevIterationErr(i int, errorCode proto.StatusCode)

func AddFlag added in v1.18.0

func AddFlag(flag *flag.Flag)

func DisplayMetricsPrompt added in v1.19.0

func DisplayMetricsPrompt(configFile string, out io.Writer) error

func ExportMetrics added in v1.18.0

func ExportMetrics(exitCode int) error

func InitMeterFromConfig added in v1.18.0

func InitMeterFromConfig(configs []*latest.SkaffoldConfig)

func SetCommand added in v1.18.0

func SetCommand(cmd string)

func SetErrorCode added in v1.18.0

func SetErrorCode(errorCode proto.StatusCode)

func SetOnlineStatus added in v1.18.0

func SetOnlineStatus()

SetOnlineStatus issues a GET request to see if the user is online. http://clients3.google.com/generate_204 is a well-known URL that returns an empty page and HTTP status 204 More info can be found here: https://www.chromium.org/chromium-os/chromiumos-design-docs/network-portal-detection

func ShouldDisplayMetricsPrompt added in v1.19.0

func ShouldDisplayMetricsPrompt(configfile string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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