{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package e2e_node\n\ne2e\\_node contains e2e tests specific to the node TODO: rename this package e2e-node\n\n## Constants\n\n```go\nconst (\n\t// This is consistent with the level used in a cluster e2e test.\n\tLOG_VERBOSITY_LEVEL = \"4\"\n)\n```\n\n## Variables\n\n```go\nvar ImageRegistry = map[int]string{\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nvar NoPullImageRegistry = map[int]string{\n\t// contains filtered or unexported fields\n}\n```\nThese are used by tests that explicitly test the ability to pull images\n\n## Functions\n\n```go\nfunc AddHostnameIp(hostname, ip string)\n```\n\n```go\nfunc CreateTestArchive() (string, error)\n```\nCreateTestArchive builds the local source and creates a tar archive e2e\\_node\\_test.tar.gz containing the binaries k8s required for node e2e tests\n\n```go\nfunc GetHostnameOrIp(hostname string) string\n```\n\n```go\nfunc NewDefaultFramework(baseName string) *framework.Framework\n```\n\n```go\nfunc PrePullAllImages() error\n```\nPre-fetch all images tests depend on so that we don't fail in an actual test\n\n```go\nfunc RunRemote(archive string, host string, cleanup bool, junitFileNumber int, setupNode bool) (string, bool, error)\n```\nReturns the command output, whether the exit was ok, and any errors\n\n```go\nfunc RunSshCommand(cmd string, args ...string) (string, error)\n```\nrunSshCommand executes the ssh or scp command, adding the flag provided --ssh-options\n\n## Types\n\n```go\ntype ConformanceContainer struct {\n\tContainer        api.Container\n\tClient           *client.Client\n\tRestartPolicy    api.RestartPolicy\n\tVolumes          []api.Volume\n\tImagePullSecrets []string\n\tNodeName         string\n\tNamespace        string\n\t// contains filtered or unexported fields\n}\n```\nOne pod one container\n\n```go\nfunc (cc *ConformanceContainer) Create() error\n```\n\n```go\nfunc (cc *ConformanceContainer) Delete() error\n```\n\n```go\nfunc (cc *ConformanceContainer) GetPhase() (api.PodPhase, error)\n```\n\n```go\nfunc (cc *ConformanceContainer) GetStatus() (api.ContainerStatus, error)\n```\n\n```go\nfunc (cc *ConformanceContainer) IsReady() (bool, error)\n```\n\n```go\nfunc (cc *ConformanceContainer) Present() (bool, error)\n```\n\n```go\ntype ConformanceImage struct {\n\tImage   kubecontainer.ImageSpec\n\tRuntime kubecontainer.Runtime\n}\n```\n\n```go\nfunc NewConformanceImage(containerRuntime string, image string) (ci ConformanceImage, err error)\n```\n\n```go\nfunc (ci *ConformanceImage) GetTag() string\n```\n\n```go\nfunc (ci *ConformanceImage) List() ([]string, error)\n```\n\n```go\nfunc (ci *ConformanceImage) Present() (bool, error)\n```\n\n```go\nfunc (ci *ConformanceImage) Pull() error\n```\n\n```go\nfunc (ci *ConformanceImage) Remove() error\n```\n\n```go\ntype ContainerState int\n```\n\n```go\nconst (\n\tContainerStateWaiting ContainerState = iota\n\tContainerStateRunning\n\tContainerStateTerminated\n\tContainerStateUnknown\n)\n```\n\n```go\nfunc GetContainerState(state api.ContainerState) ContainerState\n```\n\n","path":"github.com/stackpointcloud/kubernetes/test/e2e_node","name":"e2e_node","synopsis":"e2e_node contains e2e tests specific to the node TODO: rename this package e2e-node","isRedistributable":true}
