istio: Index | Files

package cache

import ""


Package Files


func FlushObjectCaches Uses

func FlushObjectCaches()

FlushObjectCaches flushes all object caches.

func RemoveObject Uses

func RemoveObject(name, objHash string)

RemoveObject removes object with objHash in the Cache with the given name from the object Cache.

type ObjectCache Uses

type ObjectCache struct {
    // Cache is a cache keyed by object Hash() function.
    Cache map[string]*object.K8sObject
    Mu    *sync.RWMutex

ObjectCache is a cache of objects,

func GetCache Uses

func GetCache(name string) *ObjectCache

GetCache returns the object Cache for the given name, creating one in the global Cache if needed.

Package cache imports 3 packages (graph) and is imported by 3 packages. Updated 2020-10-21. Refresh now. Tools for package owners.