package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
DefaultIgnoredResources returns the default set of resources that the garbage collector controller should ignore.
GetDeletableResources returns all resources from discoveryClient that the garbage collector should recognize and work with.
NewDebugHandler creates a new debugHTTPHandler.
NewDOTVertex creates a new dotVertex.
NewGarbageCollector creates a new GarbageCollector.
NewMissingdotVertex creates a new dotVertex.
NewReferenceCache returns a ReferenceCache.
# Constants
ResourceResyncTime defines the resync period of the garbage collector's informers.
# Structs
GarbageCollector runs reflectors to watch for changes of managed API objects, funnels the results to a single-threaded dependencyGraphBuilder, which builds a graph caching the dependencies among objects.
GraphBuilder processes events supplied by the informers, updates uidToNode, a graph that caches the dependencies as we know, and enqueues items to the attemptToDelete and attemptToOrphan.
ObjectMetaForFinalizersPatch defines object meta struct for finalizers patch operation.
ObjectMetaForPatch defines object meta struct for patch operation.
ReferenceCache is an LRU cache for uid.