Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Get(resourceKind, resourceAPIVersion, k8sVersion string) (interface{}, error) Set(resourceKind, resourceAPIVersion, k8sVersion string, schema interface{}) error }
func NewInMemoryCache ¶
func NewInMemoryCache() Cache
New creates a new cache for downloaded schemas
func NewOnDiskCache ¶
New creates a new cache for downloaded schemas
Click to show internal directories.
Click to hide internal directories.