We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19d76c commit 8ef597eCopy full SHA for 8ef597e
pkg/source/source.go
@@ -56,6 +56,10 @@ type TypedSource[request comparable] interface {
56
// Start is internal and should be called only by the Controller to start the source.
57
// Start must be non-blocking.
58
Start(context.Context, workqueue.TypedRateLimitingInterface[request]) error
59
+
60
+ // String enforces the custom source to adhere to the fmt.Stringer interface
61
+ // to print when being logged.
62
+ String() string
63
}
64
65
// SyncingSource is a source that needs syncing prior to being usable. The controller
0 commit comments