(t *testing.T)
| 99 | } |
| 100 | |
| 101 | func TestDefaultClientConfig(t *testing.T) { |
| 102 | setupKubeConfigForSerialTest(t) |
| 103 | |
| 104 | config := defaultClientConfig() |
| 105 | res, err := config.ClientConfig() |
| 106 | require.NoError(t, err) |
| 107 | assert.Equal(t, &restConfig{ |
| 108 | Host: "https://172.17.0.2:8443", |
| 109 | TLSClientConfig: restTLSClientConfig{ |
| 110 | CertData: []byte("Client cert"), |
| 111 | KeyData: []byte("Client key"), |
| 112 | CAData: []byte("Cluster CA"), |
| 113 | }, |
| 114 | }, res) |
| 115 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…