func TestClientAuthenticationClusterTypesAreSynced(t *testing.T) { … } // testClusterTypesAreSynced ensures that the provided cluster type stays in sync // with clientcmdv1.Cluster. // // We want clientauthentication*.Cluster types to offer the same knobs as clientcmdv1.Cluster to // allow someone to connect to the kubernetes API. This test should fail if a new field is added to // one of the structs without updating the other. func testClientAuthenticationClusterTypesAreSynced(t *testing.T, cluster interface{ … } // TestAllClusterTypesAreSynced is a TODO so that we remember to write a test similar to // TestClientAuthenticationClusterTypesAreSynced for any future ExecCredential version. It should start failing // when someone adds support for any other ExecCredential type to this package. func TestAllClusterTypesAreSynced(t *testing.T) { … }