Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackoffResetCallback ¶
type BackoffResetCallback func(key interface{})
type BackoffStartCallback ¶
type BackoffStartCallback func(key interface{}, err error)
type CompareObjectHandleFunc ¶
type CompareObjectHandleFunc func(old, new interface{}) *Result
type Core ¶
type Core struct {
*Cache
// contains filtered or unexported fields
}
func (*Core) ReconcileUntil ¶
func (c *Core) ReconcileUntil(stop <-chan struct{})
type HandleFuncs ¶
type HandleFuncs struct {
OnAdded SingleObjectHandleFunc
OnUpdated CompareObjectHandleFunc
OnDeleting SingleObjectHandleFunc
OnDeleted SingleObjectHandleFunc
}
func (*HandleFuncs) ResolveNil ¶
func (h *HandleFuncs) ResolveNil() *HandleFuncs
type Options ¶
type Options struct {
Logger log.Interface
BackoffStrategy *backoff.Strategy
Workers int
RequireCache bool
Handlers HandleFuncs
OnBackoffStart BackoffStartCallback
OnBackoffReset BackoffResetCallback
}
func (Options) ResolveNil ¶
type SingleObjectHandleFunc ¶
type SingleObjectHandleFunc func(obj interface{}) *Result
Click to show internal directories.
Click to hide internal directories.