- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetPodFunc (0.08 sec)
-
pkg/scheduler/internal/cache/fake/fake_cache.go
) // Cache is used for testing type Cache struct { AssumeFunc func(*v1.Pod) ForgetFunc func(*v1.Pod) IsAssumedPodFunc func(*v1.Pod) bool GetPodFunc func(*v1.Pod) *v1.Pod } // AssumePod is a fake method for testing. func (c *Cache) AssumePod(logger klog.Logger, pod *v1.Pod) error { c.AssumeFunc(pod) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 05:26:32 UTC 2023 - 2.8K bytes - Viewed (0)