• Dan Mace's avatar
    Enable garbage collection of custom resources · d08dfb92
    Dan Mace authored
    Enhance the garbage collector to periodically refresh the resources it
    monitors (via discovery) to enable custom resource definition GC.
    
    This implementation caches Unstructured structs for any kinds not
    covered by a shared informer. The existing meta-only codec only supports
    compiled types; an improved codec which supports arbitrary types could
    be introduced to optimize caching to store only metadata for all
    non-informer types.
    d08dfb92
errors.go 1.33 KB