MCPcopy Create free account
hub / github.com/containerd/nerdctl / environmentHasIPv6

Function environmentHasIPv6

pkg/testutil/nerdtest/ambient.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19import "github.com/containerd/nerdctl/v2/pkg/testutil"
20
21func environmentHasIPv6() bool {
22 return testutil.GetEnableIPv6()
23}
24
25func environmentHasKubernetes() bool {
26 return testutil.GetEnableKubernetes()

Callers 2

requirements.goFile · 0.85
AmbientRequirementsMethod · 0.85

Calls 1

GetEnableIPv6Function · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…