{"modulePath":"github.1git.de/openshift/origin","version":"v4.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package proxy\n\nPackage proxy contains the OpenShift SDN code that runs as part of the service proxy\n\n## Types\n\n```go\ntype EndpointsConfigHandler interface {\n\t// OnEndpointsUpdate gets called when endpoints configuration is changed for a given\n\t// service on any of the configuration sources. An example is when a new\n\t// service comes up, or when containers come up or down for an existing service.\n\tOnEndpointsUpdate(endpoints []*corev1.Endpoints)\n}\n```\nEndpointsConfigHandler is an abstract interface of objects which receive update notifications for the set of endpoints.\n\n```go\ntype OsdnProxy struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(pluginName string, networkClient networkclient.Interface, kClient kubernetes.Interface,\n\tnetworkInformers networkinformers.SharedInformerFactory) (*OsdnProxy, error)\n```\nCalled by higher layers to create the proxy plugin instance; only used by nodes\n\n```go\nfunc (proxy *OsdnProxy) OnEndpointsAdd(ep *corev1.Endpoints)\n```\n\n```go\nfunc (proxy *OsdnProxy) OnEndpointsDelete(ep *corev1.Endpoints)\n```\n\n```go\nfunc (proxy *OsdnProxy) OnEndpointsSynced()\n```\n\n```go\nfunc (proxy *OsdnProxy) OnEndpointsUpdate(old, ep *corev1.Endpoints)\n```\n\n```go\nfunc (proxy *OsdnProxy) Start(baseHandler pconfig.EndpointsHandler) error\n```\n\n","path":"github.1git.de/openshift/origin/pkg/network/proxy","name":"proxy","synopsis":"Package proxy contains the OpenShift SDN code that runs as part of the service proxy","isRedistributable":true}
