# Packages

No description provided by the author

# Functions

IsUseOfClosedNetConnErr checks whether the error is due to use of closed network connection.
NewPodCache creates a PodCache object.

# Constants

EventAdd means an add event.
EventDelete means a delete event.
EventSync triggers by periodic synchronization, should make a comparison before any request to APISIX The synchronization considered as add event, so its behavior should be the same as EventAdd in controller.
EventUpdate means an update event.

# Variables

ErrPodNoAssignedIP represents that PodCache operation is failed due to the target Pod is not in Running phase.
ErrPodNotFound represents that the target pod not found from the PodCache.
No description provided by the author

# Structs

Event represents a typed event.
TimeDuration is yet another time.Duration but implements json.Unmarshaler and json.Marshaler, yaml.Unmarshaler and yaml.Marshaler interfaces so one can use "1h", "5s" and etc in their json/yaml configurations.

# Interfaces

PodCache caches pod.

# Type aliases

EventType is the type of event.
Labels contains a series of labels.
MultiValueLabels contains a series of labels with multiple values.