Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should allow to import CDI spec structures without adding a lot of CDI runtime deps. It should partly fix cncf-tags#97 and allow Kubernetes to refer this module directly. There are at least 2 places in the k/k codebase that would benefit from this change: - this can be replaced by the specs-go import: https://github.com/kubernetes/kubernetes/blob/master/test/e2e/dra/test-driver/app/cdi.go - this can import specs-go and use JSON marshalling instead of quite ugly approach it uses to write CDI files: https://github.com/kubernetes/kubernetes/blob/master/test/images/sample-device-plugin/sampledeviceplugin.go#L237
- Loading branch information