Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationPredicate ¶ added in v1.1.0
AnnotationPredicate implements a predicate function based on the Annotation.
This predicate will skip the following events: 1. Create events that do not contain the Annotation. 2. Update events where the Annotation value has not changed.
func (AnnotationPredicate) Create ¶ added in v1.1.0
func (cp AnnotationPredicate) Create(e event.CreateEvent) bool
Create filters CreateEvents based on the Annotation.
func (AnnotationPredicate) Update ¶ added in v1.1.0
func (cp AnnotationPredicate) Update(e event.UpdateEvent) bool
Update filters UpdateEvents based on the Annotation.
type GatewayClassPredicate ¶
GatewayClassPredicate implements a predicate function based on the controllerName of a GatewayClass. This predicate will skip events for GatewayClasses that don't reference this controller.
func (GatewayClassPredicate) Create ¶
func (gcp GatewayClassPredicate) Create(e event.CreateEvent) bool
Create implements default CreateEvent filter for validating a GatewayClass controllerName.
func (GatewayClassPredicate) Delete ¶ added in v1.3.0
func (gcp GatewayClassPredicate) Delete(e event.DeleteEvent) bool
Delete implements default DeleteEvent filter for validating a GatewayClass controllerName.
func (GatewayClassPredicate) Update ¶
func (gcp GatewayClassPredicate) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating a GatewayClass controllerName.
type GatewayServicePredicate ¶
type GatewayServicePredicate struct { predicate.Funcs NSName types.NamespacedName }
GatewayServicePredicate implements predicate functions for this Pod's Service.
func (GatewayServicePredicate) Update ¶
func (gsp GatewayServicePredicate) Update(e event.UpdateEvent) bool
Update implements the default UpdateEvent filter for the Gateway Service.
type ServicePortsChangedPredicate ¶
ServicePortsChangedPredicate implements an update predicate function based on the Ports of a Service. This predicate will skip update events that have no change in the Service Ports and TargetPorts.
func (ServicePortsChangedPredicate) Update ¶
func (ServicePortsChangedPredicate) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating Service port changes.