package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AssertKubeConfigCurrentAuthInfoWithClientCert is a utility function for kubeadm testing that asserts if the CurrentAuthInfo in the given KubeConfig object contains a clientCert that refers to a specific client name, is signed by the expected CA, includes the expected organizations.
AssertKubeConfigCurrentAuthInfoWithToken is a utility function for kubeadm testing that asserts if the CurrentAuthInfo in the given KubeConfig object refers to expected token.
AssertKubeConfigCurrentCluster is a utility function for kubeadm testing that asserts if the CurrentCluster in the given KubeConfig object contains refers to a specific cluster.
AssertKubeConfigCurrentContextWithClusterName is a utility function for kubeadm testing that asserts if the Current Cluster config in the given KubeConfig object refers to expected cluster name.