Documentation
¶
Index ¶
- func New(name string, recorder events.Recorder) types.Context
- func NewWithQueueKey(ctx *Context, keyName string)
- type Context
- func (c Context) EventHandler(queueKeysFunc types.ObjectQueueKeysFunc, filter types.EventFilterFunc) cache.ResourceEventHandler
- func (c Context) Queue() workqueue.RateLimitingInterface
- func (c Context) QueueKey() string
- func (c Context) Recorder() events.Recorder
- func (c Context) WithQueueKey(key string) types.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithQueueKey ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context implements Context and provide user access to queue and object that caused the sync to be triggered.
func (Context) EventHandler ¶
func (c Context) EventHandler(queueKeysFunc types.ObjectQueueKeysFunc, filter types.EventFilterFunc) cache.ResourceEventHandler
EventHandler provides default event handler that is added to an informers passed to controller factory.
func (Context) Queue ¶
func (c Context) Queue() workqueue.RateLimitingInterface
Click to show internal directories.
Click to hide internal directories.