mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 13:57:38 +00:00
generators/fake/generator_fake_for_clientset: intro IsWatchListSemanticsUnSupported
This commit is contained in:
@@ -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 = `
|
||||
|
||||
Reference in New Issue
Block a user