mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Fix indentation/spacing in comments to render correctly in godoc
This commit is contained in:
8
pkg/kubelet/pluginmanager/cache/types.go
vendored
8
pkg/kubelet/pluginmanager/cache/types.go
vendored
@@ -36,14 +36,12 @@ package cache
|
||||
//
|
||||
// The pluginwatcher module follows strictly and sequentially this state machine for each *plugin name*.
|
||||
// e.g: If you are Registering a plugin foo, you cannot get a DeRegister call for plugin foo
|
||||
//
|
||||
// until the Register("foo") call returns. Nor will you get a Validate("foo", "Different endpoint", ...)
|
||||
// call until the Register("foo") call returns.
|
||||
// until the Register("foo") call returns. Nor will you get a Validate("foo", "Different endpoint", ...)
|
||||
// call until the Register("foo") call returns.
|
||||
//
|
||||
// ReRegistration: Socket created with same plugin name, usually for a plugin update
|
||||
// e.g: plugin with name foo registers at foo.com/foo-1.9.7 later a plugin with name foo
|
||||
//
|
||||
// registers at foo.com/foo-1.9.9
|
||||
// registers at foo.com/foo-1.9.9
|
||||
//
|
||||
// DeRegistration: When ReRegistration happens only the deletion of the new socket will trigger a DeRegister call
|
||||
type PluginHandler interface {
|
||||
|
||||
@@ -47,18 +47,15 @@ type Reconciler interface {
|
||||
|
||||
// NewReconciler returns a new instance of Reconciler.
|
||||
//
|
||||
// loopSleepDuration - the amount of time the reconciler loop sleeps between
|
||||
//
|
||||
// successive executions
|
||||
// syncDuration - the amount of time the syncStates sleeps between
|
||||
// successive executions
|
||||
//
|
||||
// operationExecutor - used to trigger register/unregister operations safely
|
||||
// (prevents more than one operation from being triggered on the same
|
||||
// socket path)
|
||||
//
|
||||
// (prevents more than one operation from being triggered on the same
|
||||
// socket path)
|
||||
// loopSleepDuration - the amount of time the reconciler loop sleeps between
|
||||
// successive executions
|
||||
//
|
||||
// desiredStateOfWorld - cache containing the desired state of the world
|
||||
//
|
||||
// actualStateOfWorld - cache containing the actual state of the world
|
||||
func NewReconciler(
|
||||
operationExecutor operationexecutor.OperationExecutor,
|
||||
|
||||
Reference in New Issue
Block a user