package e2e
import "k8s.io/kubernetes/test/e2e"
Index ¶
- func PodsUseStaticPVsOrFail(f *framework.Framework, podCount int, image string)
- func RemoveCleanupAction(p CleanupActionHandle)
- func RunCleanupActions()
- func RunE2ETests(t *testing.T)
- func SpreadRCOrFail(f *framework.Framework, replicaCount int32, image string)
- func SpreadServiceOrFail(f *framework.Framework, replicaCount int, image string)
- type CleanupActionHandle
- type State
- type StaticPVTestConfig
Functions ¶
func PodsUseStaticPVsOrFail ¶
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 ¶
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 ¶
Check that the pods comprising a replication controller get spread evenly across available zones
func SpreadServiceOrFail ¶
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 ¶
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 ¶
- Version
- v1.8.2
- Published
- Oct 24, 2017
- Platform
- js/wasm
- Imports
- 59 packages
- Last checked
- 2 minutes ago –
Tools for package owners.