MCPcopy
hub / github.com/kubernetes/client-go / testLW

Struct testLW

tools/cache/reflector_test.go:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34var nevererrc chan error
35
36type testLW struct {
37 ListFunc func(options metav1.ListOptions) (runtime.Object, error)
38 WatchFunc func(options metav1.ListOptions) (watch.Interface, error)
39}
40
41func (t *testLW) List(options metav1.ListOptions) (runtime.Object, error) {
42 return t.ListFunc(options)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected