package
0.0.0-20200930183556-0c53b8bcf165
Repository: https://github.com/chrisohaver/k8s_api.git
Documentation: pkg.go.dev

# Functions

DefaultProcessor is based on the Process function from cache.NewIndexerInformer except it does a conversion.
EndpointsKey returns a string using for the index.
NewIndexerInformer is a copy of the cache.NewIndexerInformer function, but allows custom process function.
ServiceKey returns a string using for the index.
ToEndpoints returns a function that converts an *api.Endpoints to a *Endpoints.
ToPod returns a function that converts an api.Pod to a *Pod.
ToService returns a function that converts an api.Service to a *Service.

# Structs

Empty is an empty struct.
EndpointAddress is a tuple that describes single IP address.
EndpointPort is a tuple that describes a single port.
Endpoints is a stripped down api.Endpoints with only the items we need for CoreDNS.
EndpointSubset is a group of addresses with a common set of ports.
Pod is a stripped down api.Pod with only the items we need for CoreDNS.
Service is a stripped down api.Service with only the items we need for CoreDNS.

# Type aliases

ProcessorBuilder returns function to process cache events.
ToFunc converts one empty interface to another.