predicate

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayClassPredicate

type GatewayClassPredicate struct {
	predicate.Funcs
	ControllerName string
}

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

Create implements default CreateEvent filter for validating a GatewayClass controllerName.

func (GatewayClassPredicate) Update

Update implements default UpdateEvent filter for validating a GatewayClass controllerName.

type ServicePortsChangedPredicate

type ServicePortsChangedPredicate struct {
	predicate.Funcs
}

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

Update implements default UpdateEvent filter for validating Service port changes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL