Versions in this module Expand all Collapse all v0 v0.11.0 May 25, 2023 v0.10.0 Feb 6, 2023 Changes in this version + func ExecutorKey(namespace, name string) string + func GetOwnedByWork(action ExecuteAction) bool + type CacheValue struct + Allowed *bool + Dimension Dimension + type Dimension struct + ExecuteAction ExecuteAction + Group string + Name string + Namespace string + Resource string + Version string + func (d *Dimension) Hash() string + type DimensionCaches struct + type ExecuteAction int + const ApplyAndDeleteAction + const ApplyNoDeleteAction + func GetExecuteAction(ownedByTheWork bool) ExecuteAction + func (a ExecuteAction) String() string + type ExecutorCaches struct + func NewExecutorCache() *ExecutorCaches + func (c *ExecutorCaches) CleanupUnnecessaryCaches(necessaryCaches *ExecutorCaches) + func (c *ExecutorCaches) Count() int + func (c *ExecutorCaches) DimensionCachesExists(executor string) bool + func (c *ExecutorCaches) Get(executor string, dimension Dimension) (allowed *bool, cacheExistence bool) + func (c *ExecutorCaches) IterateCacheItems(executorKey string, fn func(v CacheValue) error) + func (c *ExecutorCaches) RemoveByHash(executor string, hash string) + func (c *ExecutorCaches) Upsert(executor string, dimension Dimension, allowed *bool)