package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AddHostnameIP adds <hostname,ip> pair into hostnameIPOverrides map.
AddSSHKey adds a <hosrtname,path to SSH private key> pair into the sshKeyOverrides map.
CreateTestArchive creates the archive package for the node e2e test.
GetHostnameOrIP converts hostname into ip and apply user if necessary.
GetSSHUser returns the ssh-user CLI flag, the KUBE_SSH_USER environment variable, or the default ssh user for the ssh environment in that order.
GetTimestampFromWorkspaceDir parses the workspace directory name and gets the timestamp part of it.
SSH executes ssh command with runSSHCommand as root.
SSHNoSudo executes ssh command with runSSHCommand as normal user.
WriteLog is a temporary function to make it possible to write log in the runner.
# Structs
Archive contains path info in the archive.
CAdvisorE2ERemote contains the specific functions in the cadvisor e2e test suite.
ConformanceRemote contains the specific functions in the node conformance test suite.
NodeE2ERemote contains the specific functions in the node e2e test suite.
RunRemote returns the command Output, whether the exit was ok, and any errors.
TestResult contains some information about the test results.