- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewDirectClient (0.11 sec)
-
pkg/kube/kclient/clienttest/direct.go
return TestWriter[T]{t: t, c: kclient.NewWriteClient[T](c)} } // NewDirectClient returns a new client for the given type. Reads are directly to the API server. // Any errors will call t.Fatal. // Typically, clienttest.WrapReadWriter should be used to simply wrap an existing client when testing an informer. // However, NewDirectClient can be useful if we do not need/want an informer and need direct reads.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 3K bytes - Viewed (0)