Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SyntheticRequeueError = errors.New("synthetic requeue request")
SyntheticRequeueError can be returned from sync() in case of forcing a sync() retry artificially. This can be also done by re-adding the key to queue, but this is cheaper and more convenient.
Functions ¶
func New ¶
func New( name string, sync func(ctx context.Context, controllerContext types.Context) error, syncContext types.Context, resyncEvery time.Duration, resyncSchedules []cron.Schedule, postStartHooks []types.PostStartHook, cachesToSync []cache.InformerSynced, cacheSyncTimeout time.Duration) types.Controller
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.