nodeps

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InstrumentationTags = map[string]string{}

Functions

func ArrayContainsString

func ArrayContainsString(slice []string, element string) bool

ArrayContainsString returns true if slice contains element

func IsDockerToolbox added in v1.8.0

func IsDockerToolbox() bool

IsDockerToolbox detects if the running docker is docker toolbox It shouldn't be run much as it requires actually running the executable. This lives here instead of in dockerutils to avoid unecessary import cycles. Inspired by https://stackoverflow.com/questions/43242218/how-can-a-script-distinguish-docker-toolbox-and-docker-for-windows

func IsInternetActive added in v1.9.0

func IsInternetActive() bool

IsInternetActive() checks to see if we have a viable internet connection. It just tries a quick DNS query. This requires that the named record be query-able.

Types

This section is empty.

Jump to

Keyboard shortcuts

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