Documentation ¶
Index ¶
- Constants
- Variables
- func AddHostnameIp(hostname, ip string)
- func CreateTestArchive() (string, error)
- func GetHostnameOrIp(hostname string) string
- func RunRemote(archive string, host string, cleanup bool, junitFilePrefix string, ...) (string, bool, error)
- func SSH(host string, cmd ...string) (string, error)
- func SSHNoSudo(host string, cmd ...string) (string, error)
Constants ¶
View Source
const ( CNIRelease = "07a8a28637e97b22eb8dfe710eeae1344f69d16e" CNIDirectory = "cni" )
Variables ¶
View Source
var CNIURL = fmt.Sprintf("https://storage.googleapis.com/kubernetes-release/network-plugins/cni-%s.tar.gz", CNIRelease)
Functions ¶
func AddHostnameIp ¶
func AddHostnameIp(hostname, ip string)
func CreateTestArchive ¶
CreateTestArchive builds the local source and creates a tar archive e2e_node_test.tar.gz containing the binaries k8s required for node e2e tests
func GetHostnameOrIp ¶
GetHostnameOrIp converts hostname into ip and apply user if necessary.
func RunRemote ¶
func RunRemote(archive string, host string, cleanup bool, junitFilePrefix string, setupNode bool, testArgs string, ginkgoFlags string) (string, bool, error)
Returns the command output, whether the exit was ok, and any errors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.