generators/fake/generator_fake_for_clientset: intro IsWatchListSemanticsUnSupported

This commit is contained in:
Lukasz Szaszkiewicz
2025-10-16 22:31:52 +02:00
parent 2593cca82a
commit c284201b71

View File

@@ -210,6 +210,17 @@ func (c *Clientset) Discovery() discovery.DiscoveryInterface {
func (c *Clientset) Tracker() testing.ObjectTracker {
return c.tracker
}
// IsWatchListSemanticsSupported informs the reflector that this client
// doesn't support WatchList semantics.
//
// This is a synthetic method whose sole purpose is to satisfy the optional
// interface check performed by the reflector.
// Returning true signals that WatchList can NOT be used.
// No additional logic is implemented here.
func (c *Clientset) IsWatchListSemanticsUnSupported() bool {
return true
}
`
var checkImpl = `