(ns string, ki kubernetes.Interface, n string)
| 30 | } |
| 31 | |
| 32 | func NewConfigMapCache(ns string, ki kubernetes.Interface, n string) MemoizationCache { |
| 33 | return &configMapCache{ |
| 34 | namespace: ns, |
| 35 | name: n, |
| 36 | kubeClient: ki, |
| 37 | lock: sync.RWMutex{}, |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func (c *configMapCache) logError(ctx context.Context, err error, fields logging.Fields, message string) { |
| 42 | logger := logging.RequireLoggerFromContext(ctx) |
no outgoing calls