MCPcopy Create free account
hub / github.com/helm/helm / TestK8sClientGoModVersion

Function TestK8sClientGoModVersion

internal/version/clientgo_test.go:25–30  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

23)
24
25func TestK8sClientGoModVersion(t *testing.T) {
26 // Unfortunately, test builds don't include debug info / module info
27 // So we expect "K8sIOClientGoModVersion" to return error
28 _, err := K8sIOClientGoModVersion()
29 require.ErrorContains(t, err, "k8s.io/client-go not found in build info")
30}

Callers

nothing calls this directly

Calls 1

K8sIOClientGoModVersionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…