13
0
Fork 0
mirror of https://github.com/yannh/kubeconform.git synced 2026-07-04 10:29:30 +00:00

cache schemas downloaded over HTTP

This commit is contained in:
Yann Hamon 2021-01-01 14:45:20 +01:00
parent 1a76217195
commit 18927ddf75
10 changed files with 144 additions and 52 deletions

6
pkg/cache/cache.go vendored Normal file
View file

@ -0,0 +1,6 @@
package cache
type Cache interface {
Get(resourceKind, resourceAPIVersion, k8sVersion string) (interface{}, error)
Set(resourceKind, resourceAPIVersion, k8sVersion string, schema interface{}) error
}