Documentation ¶
Overview ¶
Package handler is a more flexible EventHandler builder in a chain fashion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { AddFinder(Finder) Builder Build() handler.EventHandler }
Builder defines an EventHandler builder
func NewBuilder ¶
func NewBuilder(ctx *FinderContext) Builder
type Finder ¶
type Finder interface {
Find(*FinderContext, client.Object) *model.GVKNObjKey
}
Finder finds a new object by an old object
func NewDelegatorFinder ¶
func NewInvolvedObjectFinder ¶
func NewOwnerFinder ¶
NewOwnerFinder return a finder which finds the owner of an object
Click to show internal directories.
Click to hide internal directories.