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:
parent
1a76217195
commit
18927ddf75
10 changed files with 144 additions and 52 deletions
6
pkg/cache/cache.go
vendored
Normal file
6
pkg/cache/cache.go
vendored
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue