kubernetes/test/e2e/testing-manifests
Kubernetes Prow Robot 78e5db0931
Merge pull request #115107 from swatisehgal/handle-device-mgr-recovery-sample-dp-changes
node: device-mgr: sample device plugin: Add support to control registration process
2023-03-02 05:42:55 -08:00
..
auth/encrypt [KMSv2] update ci script to create cluster and gather metrics 2023-03-01 18:03:37 +00: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
sample-device-plugin node: device-mgr: sample device plugin: manifest to avoid registration 2023-03-01 10:01:34 +00: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 chore: Update hostpath driver to v1.11.0 2023-02-14 10:09:58 -08:00
embed.go node: device-mgr: sample device plugin: manifest to avoid registration 2023-03-01 10:01:34 +00: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

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.