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

package e2e

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

Index

Functions

func PodsUseStaticPVsOrFail

func PodsUseStaticPVsOrFail(f *framework.Framework, podCount int, image string)

Check that the pods using statically created PVs get scheduled to the same zone that the PV is in.

func RemoveCleanupAction

func RemoveCleanupAction(p CleanupActionHandle)

RemoveCleanupAction removes a function that was installed by AddCleanupAction.

func RunCleanupActions

func RunCleanupActions()

RunCleanupActions runs all functions installed by AddCleanupAction. It does not remove them (see RemoveCleanupAction) but it does run unlocked, so they may remove themselves.

func RunE2ETests

func RunE2ETests(t *testing.T)

TestE2E checks configuration parameters (specified through flags) and then runs E2E tests using the Ginkgo runner. If a "report directory" is specified, one or more JUnit test reports will be generated in this directory, and cluster logs will also be saved. This function is called on each Ginkgo node in parallel mode.

func SpreadRCOrFail

func SpreadRCOrFail(f *framework.Framework, replicaCount int32, image string)

Check that the pods comprising a replication controller get spread evenly across available zones

func SpreadServiceOrFail

func SpreadServiceOrFail(f *framework.Framework, replicaCount int, image string)

Check that the pods comprising a service get spread evenly across available zones

Types

type CleanupActionHandle

type CleanupActionHandle *int

func AddCleanupAction

func AddCleanupAction(fn func()) CleanupActionHandle

AddCleanupAction installs a function that will be called in the event of the whole test being terminated. This allows arbitrary pieces of the overall test to hook into SynchronizedAfterSuite().

type State

type State struct {
	Received map[string]int
}

partially cloned from webserver.go

type StaticPVTestConfig

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

Source Files

dashboard.go e2e.go events.go example_cluster_dns.go examples.go gke_local_ssd.go gke_node_pools.go limit_range.go network_partition.go pod_gc.go pods.go pre_stop.go resource_quota.go ssh.go ubernetes_lite.go

Directories

PathSynopsis
test/e2e/apimachinery
test/e2e/apps
test/e2e/auth
test/e2e/autoscaling
test/e2e/chaosmonkey
test/e2e/common
test/e2e/framework
test/e2e/framework/ginkgowrapperPackage ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
test/e2e/framework/metrics
test/e2e/generated
test/e2e/instrumentation
test/e2e/instrumentation/common
test/e2e/instrumentation/logging
test/e2e/instrumentation/logging/elasticsearch
test/e2e/instrumentation/logging/stackdrvier
test/e2e/instrumentation/logging/utils
test/e2e/instrumentation/monitoring
test/e2e/kubectl
test/e2e/lifecycle
test/e2e/lifecycle/bootstrap
test/e2e/manifest
test/e2e/networkPackage network are the end-to-end tests for Kubernetes networking.
test/e2e/node
test/e2e/perftype
test/e2e/scalability
test/e2e/scheduling
test/e2e/servicecatalog
test/e2e/storage
test/e2e/upgradesPackage upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
test/e2e/upgrades/apps
test/e2e/upgrades/storage
Version
v1.8.2
Published
Oct 24, 2017
Platform
js/wasm
Imports
59 packages
Last checked
2 minutes ago

Tools for package owners.