mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #93681 from gireeshpunathil/typo
fix a typo in the comment
This commit is contained in:
commit
1bb55ae55d
@ -33,15 +33,15 @@ import (
|
|||||||
|
|
||||||
// Reconciler runs a periodic loop to reconcile the desired state of the world
|
// Reconciler runs a periodic loop to reconcile the desired state of the world
|
||||||
// with the actual state of the world by triggering register and unregister
|
// with the actual state of the world by triggering register and unregister
|
||||||
// operations.
|
// operations. Also provides a means to add a handler for a plugin type.
|
||||||
type Reconciler interface {
|
type Reconciler interface {
|
||||||
// Starts running the reconciliation loop which executes periodically, checks
|
// Run starts running the reconciliation loop which executes periodically,
|
||||||
// if plugins that should be registered are register and plugins that should be
|
// checks if plugins are correctly registered or unregistered.
|
||||||
// unregistered are unregistered. If not, it will trigger register/unregister
|
// If not, it will trigger register/unregister operations to rectify.
|
||||||
// operations to rectify.
|
|
||||||
Run(stopCh <-chan struct{})
|
Run(stopCh <-chan struct{})
|
||||||
|
|
||||||
// AddHandler adds the given plugin handler for a specific plugin type
|
// AddHandler adds the given plugin handler for a specific plugin type,
|
||||||
|
// which will be added to the actual state of world cache.
|
||||||
AddHandler(pluginType string, pluginHandler cache.PluginHandler)
|
AddHandler(pluginType string, pluginHandler cache.PluginHandler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user