kubernetes/test/e2e/testing-manifests
Ed Bartosh 8a42be978b Add CDI support to the sample device plugin
Co-authored-by: Evan Lezar <elezar@nvidia.com>
2023-10-23 18:25:59 +03:00
..
auth/encrypt [KMSv2] pkcs11 reference implementation using SoftHSM 2023-09-29 16:57:26 +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 remove labeld-deployment.yaml 2023-09-04 18:34:28 +08:00
sample-device-plugin Add CDI support to the sample device plugin 2023-10-23 18:25:59 +03:00
scheduling Switch to newer cos-gpu-installer - v2.1.9 2023-10-12 06:59:39 -04: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 upgrade csi provisioner to v3.4.0 2023-03-14 16:51:46 +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.