mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #77456 from MikeSpreitzer/fix-run-comment
Fix comment on SharedInformer.Run
This commit is contained in:
commit
e5fec6507b
@ -103,7 +103,8 @@ type SharedInformer interface {
|
|||||||
GetStore() Store
|
GetStore() Store
|
||||||
// GetController gives back a synthetic interface that "votes" to start the informer
|
// GetController gives back a synthetic interface that "votes" to start the informer
|
||||||
GetController() Controller
|
GetController() Controller
|
||||||
// Run starts the shared informer, which will be stopped when stopCh is closed.
|
// Run starts and runs the shared informer, returning after it stops.
|
||||||
|
// The informer will be stopped when stopCh is closed.
|
||||||
Run(stopCh <-chan struct{})
|
Run(stopCh <-chan struct{})
|
||||||
// HasSynced returns true if the shared informer's store has been
|
// HasSynced returns true if the shared informer's store has been
|
||||||
// informed by at least one full LIST of the authoritative state
|
// informed by at least one full LIST of the authoritative state
|
||||||
|
Loading…
Reference in New Issue
Block a user