(t *testing.T)
| 245 | } |
| 246 | |
| 247 | func TestValidateCleanClusterInfo(t *testing.T) { |
| 248 | config := clientcmdapi.NewConfig() |
| 249 | config.Clusters["clean"] = &clientcmdapi.Cluster{ |
| 250 | Server: "anything", |
| 251 | } |
| 252 | test := configValidationTest{ |
| 253 | config: config, |
| 254 | } |
| 255 | |
| 256 | test.testCluster("clean", t) |
| 257 | test.testConfig(t) |
| 258 | } |
| 259 | |
| 260 | func TestValidateCleanWithCAClusterInfo(t *testing.T) { |
| 261 | tempFile, _ := ioutil.TempFile("", "") |
nothing calls this directly
no test coverage detected