Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvalidatePattern ¶
InvalidatePattern removes all cache entries matching a pattern This is useful for invalidating all caches related to a resource
Types ¶
type CacheKey ¶
type CacheKey struct {
ResourceType string // "organization", "project", "site"
Operation string // "list", "get"
ParentType string // optional: parent resource type
ParentID string // optional: parent resource ID
SubResource string // optional: "firewall", "members", "secrets"
ResourceID string // optional: specific resource ID
}
CacheKey represents a structured cache key
func (CacheKey) GetCachePath ¶
GetCachePath returns the file path for a cache key
Click to show internal directories.
Click to hide internal directories.