package proxy
import "k8s.io/kubernetes/pkg/proxy"
Package proxy implements the layer-3 network proxy.
Index ¶
Types ¶
type ProxyProvider ¶
type ProxyProvider interface { // OnServiceUpdate manages the active set of service proxies. // Active service proxies are reinitialized if found in the update set or // removed if missing from the update set. OnServiceUpdate(services []api.Service) // Sync immediately synchronizes the ProxyProvider's current state to iptables. Sync() // SyncLoop runs periodic work. // This is expected to run as a goroutine or as the main loop of the app. // It does not return. SyncLoop() }
ProxyProvider is the interface provided by proxier implementations.
type ServicePortName ¶
type ServicePortName struct { types.NamespacedName Port string }
ServicePortName carries a namespace + name + portname. This is the unique identfier for a load-balanced service.
func (ServicePortName) String ¶
func (spn ServicePortName) String() string
Source Files ¶
doc.go types.go
Directories ¶
Path | Synopsis |
---|---|
pkg/proxy/config | Package config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy). |
pkg/proxy/iptables | |
pkg/proxy/userspace |
- Version
- v1.1.4-beta.0
- Published
- Dec 7, 2015
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 34 seconds ago –
Tools for package owners.