MCPcopy
hub / github.com/kubernetes/client-go / createCAValidTestConfig

Function createCAValidTestConfig

tools/clientcmd/client_config_test.go:134–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func createCAValidTestConfig() *clientcmdapi.Config {
135
136 config := createValidTestConfig()
137 config.Clusters["clean"].CertificateAuthorityData = []byte{0, 0}
138 return config
139}
140
141func TestInsecureOverridesCA(t *testing.T) {
142 config := createCAValidTestConfig()

Callers 1

TestInsecureOverridesCAFunction · 0.85

Calls 1

createValidTestConfigFunction · 0.85

Tested by

no test coverage detected