Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeletePredicate ¶
CreateDeletePredicate implements a default predicate on resource creation or deletion events
func (CreateDeletePredicate) Generic ¶
func (p CreateDeletePredicate) Generic(e event.GenericEvent) bool
no watch for generic events
func (CreateDeletePredicate) Update ¶
func (p CreateDeletePredicate) Update(e event.UpdateEvent) bool
no watch for update events
type CreatePredicate ¶
CreatePredicate implements a default predicate on resource creation events
func (CreatePredicate) Delete ¶
func (p CreatePredicate) Delete(e event.DeleteEvent) bool
no watch for update events
func (CreatePredicate) Generic ¶
func (p CreatePredicate) Generic(e event.GenericEvent) bool
no watch for generic events
func (CreatePredicate) Update ¶
func (p CreatePredicate) Update(e event.UpdateEvent) bool
no watch for update events
type NodePredicate ¶
type NodePredicate struct {
predicate.ResourceVersionChangedPredicate
}
NodePredicate implements a predicate for node controller It only watches for create events which have Status.Addresses and update events which change Status.Addresses and delete events
func (NodePredicate) Create ¶
func (p NodePredicate) Create(e event.CreateEvent) bool
func (NodePredicate) Generic ¶
func (p NodePredicate) Generic(e event.GenericEvent) bool
no watch for generic events
func (NodePredicate) Update ¶
func (p NodePredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.