kubernetesk8s.io/kubernetes/test/e2e/common Index | Files

package common

import "k8s.io/kubernetes/test/e2e/common"

Index

Variables

var CommonImageWhiteList = sets.NewString(
	"gcr.io/google_containers/busybox:1.24",
	"gcr.io/google_containers/eptest:0.1",
	"gcr.io/google_containers/liveness:e2e",
	"gcr.io/google_containers/mounttest:0.7",
	"gcr.io/google_containers/mounttest-user:0.3",
	"gcr.io/google_containers/netexec:1.4",
	"gcr.io/google_containers/netexec:1.5",
	"gcr.io/google_containers/nginx-slim:0.7",
	"gcr.io/google_containers/serve_hostname:v1.4",
	"gcr.io/google_containers/test-webserver:e2e",
	"gcr.io/google_containers/hostexec:1.2",
	"gcr.io/google_containers/volume-nfs:0.8",
	"gcr.io/google_containers/volume-gluster:0.2",
)

CommonImageWhiteList is the list of images used in common test. These images should be prepulled before a tests starts, so that the tests won't fail due image pulling flakes. Currently, this is only used by node e2e test. TODO(random-liu): Change the image puller pod to use similar mechanism.

Functions

func DoConfigMapE2EWithoutMappingsSetup

func DoConfigMapE2EWithoutMappingsSetup(f *framework.Framework, uid, fsGroup int64, defaultMode *int32) (*api.Pod, []string)

func DoConfigMapE2EWithoutMappingsValidate

func DoConfigMapE2EWithoutMappingsValidate(f *framework.Framework, pod *api.Pod, output []string)

func DoSecretE2EMultipleVolumesSetup

func DoSecretE2EMultipleVolumesSetup(f *framework.Framework) (*api.Pod, []string)

func DoSecretE2EMultipleVolumesValidate

func DoSecretE2EMultipleVolumesValidate(f *framework.Framework, pod *api.Pod, expectedOutput []string)

Types

type KubeletManagedHostConfig

type KubeletManagedHostConfig struct {
	// contains filtered or unexported fields
}

type PrivilegedPodTestConfig

type PrivilegedPodTestConfig struct {
	// contains filtered or unexported fields
}

type Suite

type Suite string
const (
	E2E     Suite = "e2e"
	NodeE2E Suite = "node e2e"
)
var CurrentSuite Suite

type VolumeTestConfig

type VolumeTestConfig struct {
	// contains filtered or unexported fields
}

Configuration of one tests. The test consist of: - server pod - runs serverImage, exports ports[] - client pod - does not need any special configuration

Source Files

configmap.go container_probe.go docker_containers.go downward_api.go downwardapi_volume.go empty_dir.go expansion.go host_path.go init_container.go kubelet_etc_hosts.go networking.go pods.go privileged.go secrets.go sysctl.go util.go volumes.go

Version
v1.5.0-beta.1
Published
Nov 18, 2016
Platform
js/wasm
Imports
34 packages
Last checked
1 minute ago

Tools for package owners.