package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

# Functions

AssertError checks that the provided error matches the expected output.
AssertFileExists is a utility function for kubeadm testing that asserts if the given folder contains the given files.
AssertFilesCount is a utility function for kubeadm testing that asserts if the given folder contains count files.
GetDefaultInternalConfig returns a defaulted kubeadmapi.InitConfiguration.
SetupEmptyFiles is a utility function for kubeadm testing that creates one or more empty files (touch).
SetupPkiDirWithCertificateAuthority is a utility function for kubeadm testing that creates a CertificateAuthority cert/key pair into /pki subfolder of a given temporary directory.
SetupTempDir is a utility function for kubeadm testing, that creates a temporary directory NB.