Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterSuiteActions

func AfterSuiteActions()

AfterSuiteActions are actions that are run on ginkgo's SynchronizedAfterSuite

func CleanupSuite

func CleanupSuite()

CleanupSuite is the boilerplate that can be used after tests on ginkgo were run, on the SynchronizedAfterSuite step. Similar to SynchronizedBeforeSuite, we want to run some operations only once (such as collecting cluster logs). Here, the order of functions is reversed; first, the function which runs everywhere, and then the function that only runs on the first Ginkgo node.

func RunE2ETests

func RunE2ETests(t *testing.T)

RunE2ETests 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.

Types

This section is empty.

Directories

Path Synopsis
apimachinery
apps
auth
autoscaling
chaosmonkey
cloud
cloud/gcp
common
framework Package framework contains provider-independent helper code for building and running E2E tests with Ginkgo.
framework/auth
framework/autoscaling
framework/config Package config simplifies the declaration of configuration options.
framework/deployment
framework/endpoints
framework/endpointslice
framework/events
framework/ginkgowrapper Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
framework/gpu
framework/ingress
framework/job
framework/kubectl
framework/kubelet
framework/kubesystem
framework/log Package log will be removed after switching to use core framework log.
framework/manifest
framework/metrics
framework/network
framework/node
framework/perf
framework/pod
framework/providers/aws
framework/providers/azure
framework/providers/gce
framework/providers/kubemark
framework/providers/openstack
framework/providers/vsphere
framework/pv
framework/rc
framework/replicaset
framework/resource
framework/security
framework/service
framework/skipper
framework/ssh
framework/statefulset
framework/testfiles Package testfiles provides a wrapper around various optional ways of retrieving additional files needed during a test run: - builtin bindata - filesystem access Because it is a is self-contained package, it can be used by test/e2e/framework and test/e2e/manifest without creating a circular dependency.
framework/timer
framework/volume
framework/websocket
generated
instrumentation
instrumentation/common
instrumentation/logging
instrumentation/logging/elasticsearch
instrumentation/logging/stackdriver
instrumentation/logging/utils
instrumentation/monitoring
kubectl
lifecycle
lifecycle/bootstrap
network Package network are the end-to-end tests for Kubernetes networking.
network/scale
network/scale/localrun
node
perftype
reporters
scheduling
servicecatalog
storage
storage/drivers
storage/external
storage/podlogs Package podlogs enables live capturing of all events and log messages for some or all pods in a namespace as they get generated.
storage/testpatterns
storage/testsuites
storage/utils
storage/vsphere
system
ui
upgrades Package upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
upgrades/apps
upgrades/storage
windows