package
1.12.0-alpha.0
Repository: https://github.com/klihub/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
Package healthcheck provides tools for serving kube-proxy healthchecks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GetLocalEndpointIPs returns endpoints IPs if given endpoint is local - local means the endpoint is running in same host as kube-proxy.
NewEndpointChangeTracker initializes an EndpointsChangeMap.
NewServiceChangeTracker initializes a ServiceChangeTracker.
UpdateEndpointsMap updates endpointsMap base on the given changes.
UpdateServiceMap updates ServiceMap based on the given changes.

# Structs

BaseEndpointInfo contains base information that defines an endpoint.
BaseServiceInfo contains base information that defines a service.
EndpointChangeTracker carries state about uncommitted changes to an arbitrary number of Endpoints, keyed by their namespace and name.
ServiceChangeTracker carries state about uncommitted changes to an arbitrary number of Services, keyed by their namespace and name.
ServiceEndpoint is used to identify a service and one of its endpoint pair.
ServicePortName carries a namespace + name + portname.
UpdateEndpointMapResult is the updated results after applying endpoints changes.
UpdateServiceMapResult is the updated results after applying service changes.

# Interfaces

Endpoint in an interface which abstracts information about an endpoint.
ProxyProvider is the interface provided by proxier implementations.
ServicePort is an interface which abstracts information about a service.

# Type aliases

EndpointsMap maps a service name to a list of all its Endpoints.
ServiceMap maps a service to its ServicePort.