- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewFakeRuntimeCache (0.23 sec)
-
pkg/kubelet/container/testing/fake_runtime.go
} return result, nil } type podsGetter interface { GetPods(context.Context, bool) ([]*kubecontainer.Pod, error) } type FakeRuntimeCache struct { getter podsGetter } func NewFakeRuntimeCache(getter podsGetter) kubecontainer.RuntimeCache { return &FakeRuntimeCache{getter} } func (f *FakeRuntimeCache) GetPods(ctx context.Context) ([]*kubecontainer.Pod, error) { return f.getter.GetPods(ctx, false)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0)