Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InstrumentationTags = map[string]string{}
Functions ¶
func ArrayContainsString ¶
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.
Click to show internal directories.
Click to hide internal directories.