- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AssertKubeConfigCurrentAuthInfoWithToken (0.55 sec)
-
cmd/kubeadm/test/kubeconfig/util.go
certstestutil.AssertCertificateHasOrganizations(t, currentClientCert, expectedOrganizations...) } // AssertKubeConfigCurrentAuthInfoWithToken is a utility function for kubeadm testing that asserts if the CurrentAuthInfo in // the given KubeConfig object refers to expected token func AssertKubeConfigCurrentAuthInfoWithToken(t *testing.T, config *clientcmdapi.Config, expectedClientName, expectedToken string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/kubeconfig_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go
// Asserts spec data are propagated to the kubeconfig kubeconfigtestutil.AssertKubeConfigCurrentCluster(t, config, "https://1.2.3.4:1234", caCert) kubeconfigtestutil.AssertKubeConfigCurrentAuthInfoWithToken(t, config, "myClientName", "123456") } func TestCreateKubeConfigFileIfNotExists(t *testing.T) { // Creates a CAs caCert, caKey := certstestutil.SetupCertificateAuthority(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 39.5K bytes - Viewed (0)