Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDualStackProxier ¶
func NewDualStackProxier( hostname string, informerFactory informers.SharedInformerFactory, ofClient openflow.Client, routeClient route.Interface, nodePortAddressesIPv4 []net.IP, nodePortAddressesIPv6 []net.IP, proxyAllEnabled bool, skipServices []string, proxyLoadBalancerIPs bool, v4groupCounter types.GroupCounter, v6groupCounter types.GroupCounter) *metaProxierWrapper
func NewProxier ¶
Types ¶
type EndpointSliceCache ¶
type EndpointSliceCache struct {
// contains filtered or unexported fields
}
EndpointSliceCache is used as a cache of EndpointSlice information.
func NewEndpointSliceCache ¶
func NewEndpointSliceCache(hostname string, isIPv6Mode bool) *EndpointSliceCache
NewEndpointSliceCache initializes an EndpointSliceCache.
type Proxier ¶
type Proxier interface { // GetProxyProvider returns the real proxy Provider. GetProxyProvider() k8sproxy.Provider // GetServiceFlowKeys returns the keys (match strings) of the cached OVS // flows and the OVS group IDs for a Service. False is returned if the // Service is not found. GetServiceFlowKeys(serviceName, namespace string) ([]string, []binding.GroupIDType, bool) // GetServiceByIP returns the ServicePortName struct for the given serviceString(ClusterIP:Port/Proto). // False is returned if the serviceString is not found in serviceStringMap. GetServiceByIP(serviceStr string) (k8sproxy.ServicePortName, bool) }
Proxier wraps proxy.Provider and adds extra methods. It is introduced for extending the proxy.Provider implementations with extra methods, without modifying the proxy.Provider interface.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.