code: func (r *runtimeCache) GetPods() ([]*Pod, error) {
  	r.Lock()
  	defer r.Unlock()
  	if time.Since(r.cacheTime) > defaultCachePeriod {
  		if err := r.updateCache(); err != nil {
  			return nil, err
  		}
  	}
  	return r.pods, nil
  }
docs: // GetPods returns the cached pods if they are not outdated; otherwise, it
  // retrieves the latest pods and return them.