package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

GetPodFromDeleteAction returns a pointer to a pod if one can be derived from obj (could be a *v1.Pod, or a DeletionFinalStateUnknown marker item).
GetPodServiceMemberships returns a set of Service keys for Services that have a selector matching the given pod.
GetServicesToUpdateOnPodChange returns a set of Service keys for Services that have potentially been affected by a change to this pod.
NewTriggerTimeTracker creates a new instance of the TriggerTimeTracker.
PodChanged returns two boolean values, the first returns true if the pod.
ShouldPodBeInEndpoints returns true if a specified pod should be in an endpoints object.

# Structs

ServiceKey is a key uniquely identifying a Service.
ServiceState represents a state of an Service object that is known to this util.
TriggerTimeTracker is used to compute an EndpointsLastChangeTriggerTime annotation.

# Type aliases

EndpointsMatch is a type of function that returns true if pod endpoints match.