func TestAddressesToHostnamesAndIPs(t *testing.T) { … } func removeThenCreate(name string, data []byte, perm os.FileMode) error { … } func createCertAndKeyFiles(certDir string) (string, string, error) { … } // createCertAndKeyFilesUsingRename creates cert and key files under a parent dir `identity` as // <certDir>/identity/kubelet.cert, <certDir>/identity/kubelet.key func createCertAndKeyFilesUsingRename(certDir string) (string, string, error) { … } func TestKubeletServerCertificateFromFiles(t *testing.T) { … } func TestNewCertificateManagerConfigGetTemplate(t *testing.T) { … }