kubernetes/test/e2e/testing-manifests
Mark Rossetti 534f052a8d
Updating pause image refernces to 3.9
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-11-14 10:24:54 -08:00
..
cluster-dns Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
dra e2e dra: add test driver and tests for dynamic resource allocation 2022-11-12 00:17:15 +01: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 replace echoserver image with agnhost 2022-06-29 09:49:19 +02:00
kubectl Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
scheduling Updating pause image refernces to 3.9 2022-11-14 10:24:54 -08:00
serviceloadbalancer Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
statefulset Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
storage-csi Update sidecar controllers to latest versions in the e2e 2022-09-29 22:13:11 +05:30
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 Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04: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.