Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewRuntimeCache (0.15 sec)

  1. pkg/kubelet/container/runtime_cache.go

    	ForceUpdateIfOlder(context.Context, time.Time) error
    }
    
    type podsGetter interface {
    	GetPods(context.Context, bool) ([]*Pod, error)
    }
    
    // NewRuntimeCache creates a container runtime cache.
    func NewRuntimeCache(getter podsGetter, cachePeriod time.Duration) (RuntimeCache, error) {
    	return &runtimeCache{
    		getter:      getter,
    		cachePeriod: cachePeriod,
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top