Documentation ¶
Index ¶
Constants ¶
View Source
const WorkerIDKey ctxKeyWorkerID = 0
WorkerIDKey is the key that holds the worker id.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeHandler ¶
type ChangeHandler interface { // CreateOrUpdate handles creation/update of an object CreateOrUpdate(context.Context, runtime.Object) error // Delete handles delete of an object Delete(context.Context, string, string) error }
ChangeHandler handles changes to object
type MultiWorker ¶
type MultiWorker struct {
// contains filtered or unexported fields
}
func (*MultiWorker) Stop ¶
func (mw *MultiWorker) Stop() chan struct{}
Click to show internal directories.
Click to hide internal directories.