kubernetes/test/e2e/testing-manifests
2022-04-04 16:10:39 +00:00
..
cluster-dns e2e: Embed dns related maninfests into codebase 2022-02-23 17:16:50 +08:00
flexvolume We do not pass device path to unmount device 2018-12-03 17:31:01 -05:00
guestbook s/master/primary in agnhost guestbook usage 2020-06-24 12:14:33 -07:00
ingress Update e2e test images url 2021-07-27 22:01:43 -07:00
kubectl Update e2e test images url 2021-07-27 22:01:43 -07:00
scheduling Switch to pause 3.7 2022-03-29 15:36:38 -04:00
serviceloadbalancer Update e2e test images url 2021-07-27 22:01:43 -07:00
statefulset migrate dockerhub image to k8s.gcr.io e2e test image 2022-03-09 09:54:11 +08:00
storage-csi Implement initial E2E test for AnyVolumeDataSource 2022-04-04 16:10:39 +00:00
embed.go e2e: Embed dns related maninfests into codebase 2022-02-23 17:16:50 +08:00
pod Remove examples directory 2018-04-24 19:45:43 +01:00
rbd-storage-class.yaml Remove examples directory 2018-04-24 19:45:43 +01:00
README.md docs: add documentation on adding files to the embedded data 2021-06-29 23:30:50 +05:30
sample-device-plugin.yaml test images: use recently promoted images 2021-01-28 10:09:00 -08:00

test/e2e/testing-manifests

Embedded Test Data

In case one needs to use any test fixture inside your tests and those are defined inside this directory, they need to be added to the //go:embed directive in embed.go.

For example, if one wants to include this Readme as a test fixture (potential bad idea in reality!),

// embed.go

...
//go:embed some other files README.md
...

This fixture can be accessed in the e2e tests using test/e2e/framework/testfiles.Read like testfiles.Read("test/e2e/testing-manifests/README.md).

This is needed since migrating to //go:embed from go-bindata.