Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is a thread-safe LRU cache with TTL support and namespace invalidation.
func (*Cache) InvalidateNamespace ¶
func (c *Cache) InvalidateNamespace(host, repo string, resource allowlist.ResourceType) int
InvalidateNamespace removes all entries matching the given host, repo, and resource type.
Click to show internal directories.
Click to hide internal directories.