- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newCachingObject (0.12 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object_test.go
if e.expectedError != nil { return e.expectedError } _, err := w.Write([]byte(e.expectedResult)) return err } func TestCachingObject(t *testing.T) { object, err := newCachingObject(&v1.Pod{}) if err != nil { t.Fatalf("couldn't create cachingObject: %v", err) } encoders := []*mockEncoder{ newMockEncoder("1", "result1", nil), newMockEncoder("2", "", fmt.Errorf("mock error")),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 23 15:26:38 UTC 2022 - 5.1K bytes - Viewed (0)