Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openelb/openelb
/ functions
Functions
689 in github.com/openelb/openelb
⨍
Functions
689
◇
Types & classes
188
↓ 1 callers
Function
SetupBgpPeerReconciler
(bgpServer *bgpd.Bgp, mgr ctrl.Manager)
pkg/speaker/bgp/bgppeer_controller.go:207
↓ 1 callers
Function
SetupServiceReconciler
(mgr ctrl.Manager)
pkg/controllers/lb/controller.go:263
↓ 1 callers
Method
SetupWebhookWithManager
(mgr ctrl.Manager)
api/v1alpha2/eip_types.go:282
↓ 1 callers
Function
SetupWithManager
(mgr ctrl.Manager)
pkg/controllers/ipam/controller.go:34
↓ 1 callers
Method
SetupWithManager
(mgr ctrl.Manager)
pkg/controllers/lb/controller.go:71
↓ 1 callers
Method
SetupWithManager
(mgr ctrl.Manager)
pkg/speaker/bgp/bgpconf_controller.go:209
↓ 1 callers
Method
SetupWithManager
(mgr ctrl.Manager)
pkg/speaker/bgp/bgppeer_controller.go:180
↓ 1 callers
Method
Start
()
pkg/util/iprange/range.go:27
↓ 1 callers
Method
String
()
pkg/nettool/iptables/interface.go:30
↓ 1 callers
Method
ToGoBgpGlobalConf
()
api/v1alpha2/bgpconf_types.go:98
↓ 1 callers
Method
ToGoBgpPeer
()
api/v1alpha2/bgppeer_types.go:208
↓ 1 callers
Method
UnregisterIPRange
(string)
pkg/speaker/layer2/announcer.go:17
↓ 1 callers
Method
Update
Update edits the BgpConf object in the kubernetes cluster.
pkg/server/internal/handler/bgpconf.go:22
↓ 1 callers
Method
Update
Update edits the BgpPeer object in the kubernetes cluster.
pkg/server/internal/handler/bgppeer.go:23
↓ 1 callers
Function
UpdateBGPSessionMetrics
(peerIP, node string, state, updateTotal float64)
pkg/metrics/metrics.go:160
↓ 1 callers
Function
UpdateEipMetrics
(eipName string, total, used, svcCount float64)
pkg/metrics/metrics.go:118
↓ 1 callers
Function
UpdateGratuitousSentMetrics
(ip string)
pkg/metrics/metrics.go:136
↓ 1 callers
Function
UpdateRequestsReceivedMetrics
(ip string)
pkg/metrics/metrics.go:143
↓ 1 callers
Function
UpdateResponsesSentMetrics
(ip string)
pkg/metrics/metrics.go:140
↓ 1 callers
Method
Validate
()
cmd/controller/app/options/options.go:22
↓ 1 callers
Method
Validate
()
cmd/speaker/app/options/options.go:30
↓ 1 callers
Method
Validate
()
cmd/apiserver/app/options/options.go:22
↓ 1 callers
Method
Version
Version returns the IP version for an IP, or 0 if the IP is not valid.
pkg/util/net/ip.go:56
↓ 1 callers
Function
WaitForBGPEstablished
(timeout time.Duration, bgpClient *GobgpClient, num int)
test/e2e/framework/bgp.go:322
↓ 1 callers
Function
WaitForRouterNum
(timeout time.Duration, ip string, bgpClient *GobgpClient, num int)
test/e2e/framework/bgp.go:308
↓ 1 callers
Function
WaitServicePresentFitWith
WaitServicePresentFitWith wait service present on cluster sync with fit func.
test/e2e/framework/service.go:14
↓ 1 callers
Method
Write
(p []byte)
pkg/speaker/layer2/log.go:35
↓ 1 callers
Method
addMultiRoutes
(ip string, prefix uint32, nexthops []string)
pkg/speaker/bgp/bgp/path.go:212
↓ 1 callers
Method
assignGlobalpolicy
(ctx context.Context, bgpServer *server.BgpServer, a *config.ApplyPolicyConfig)
pkg/speaker/bgp/bgp/policy.go:51
↓ 1 callers
Method
assignIPFromEip
(allocate *svcRecord, eip *networkv1alpha2.Eip)
pkg/controllers/ipam/ipam.go:68
↓ 1 callers
Method
constructRelease
(info info)
pkg/controllers/ipam/ipam.go:400
↓ 1 callers
Method
deleteMultiRoutes
(ip string, prefix uint32, nexthops []string)
pkg/speaker/bgp/bgp/path.go:225
↓ 1 callers
Function
findOpenELBSpeaker
(c clientset.Interface, port int)
test/e2e/bgp/bgp.go:44
↓ 1 callers
Function
fromAPIPath
(path *api.Path)
pkg/speaker/bgp/bgp/path.go:63
↓ 1 callers
Function
fromAPIPath
(path *gobgpapi.Path)
test/e2e/framework/bgp.go:170
↓ 1 callers
Method
getAllocatedEIPInfo
(ctx context.Context, svcInfo string)
pkg/controllers/ipam/ipam.go:150
↓ 1 callers
Method
getBgpPeers
()
pkg/speaker/bgp/eventhandler.go:30
↓ 1 callers
Method
getDefaultBgpConf
()
pkg/speaker/bgp/eventhandler.go:20
↓ 1 callers
Method
getDefaultEIP
(ctx context.Context, name string)
pkg/controllers/ipam/ipam.go:330
↓ 1 callers
Method
getEIP
(ctx context.Context, ns string, svcip string, specifyEip string)
pkg/controllers/ipam/ipam.go:279
↓ 1 callers
Method
getEIPBasedOnIP
(ctx context.Context, ip string)
pkg/controllers/ipam/ipam.go:307
↓ 1 callers
Method
getForwardImage
()
pkg/controllers/lb/nodeproxy.go:161
↓ 1 callers
Method
getInterfaces
getInterfaces returns the interface name for the given VIP
pkg/speaker/vip/keepalived.go:146
↓ 1 callers
Method
getNodeNextHop
(node corev1.Node)
pkg/speaker/bgp/bgp/path.go:202
↓ 1 callers
Method
getNodeSha256Bytes
getNodeSha256Bytes returns the sha256 hash of the node names
pkg/speaker/vip/keepalived.go:156
↓ 1 callers
Function
getPathIdentifier
(nexthop string)
pkg/speaker/bgp/bgp/path.go:21
↓ 1 callers
Function
getPodInfoService
(ns, eipName string)
test/e2e/controller/ipam.go:77
↓ 1 callers
Method
getPolicyConfigMap
(ctx context.Context, bgpConf *v1alpha2.BgpConf)
pkg/speaker/bgp/bgpconf_controller.go:131
↓ 1 callers
Method
getProxyImage
()
pkg/controllers/lb/nodeproxy.go:175
↓ 1 callers
Method
getServiceNodes
(ctx context.Context, ip, svcs string)
pkg/speaker/manager.go:338
↓ 1 callers
Method
getSvcEIPUsed
todo: annotions
pkg/speaker/manager.go:329
↓ 1 callers
Method
gratuitous
(ip, nodeIP net.IP)
pkg/speaker/layer2/arp_announer.go:184
↓ 1 callers
Method
isNodeInList
isNodeInList returns true if the node is in the nodes list
pkg/speaker/vip/keepalived.go:171
↓ 1 callers
Function
isProxyResc
(obj metav1.Object)
pkg/controllers/lb/nodeproxy.go:24
↓ 1 callers
Method
isSpeakerConfigUpdate
update speaker configurate protocol change or interface change
pkg/speaker/manager.go:181
↓ 1 callers
Function
isV4RangeValid
(start, end net.IP)
pkg/util/iprange/parse.go:117
↓ 1 callers
Function
isV6RangeValid
(start, end net.IP)
pkg/util/iprange/parse.go:121
↓ 1 callers
Method
joinMembers
()
pkg/speaker/layer2/memberlist.go:55
↓ 1 callers
Function
log
(level string, format string, args ...interface{})
test/e2e/framework/log.go:14
↓ 1 callers
Function
logWithLevel
(lvl string, keyvals []interface{})
pkg/speaker/layer2/log.go:51
↓ 1 callers
Function
needRelease
(svc *v1.Service)
pkg/controllers/ipam/ipam.go:259
↓ 1 callers
Method
needUpdate
()
pkg/controllers/ipam/ipam.go:184
↓ 1 callers
Function
newAPIPolicyFromTableStruct
(p *Policy)
pkg/speaker/bgp/bgp/table/table.go:259
↓ 1 callers
Function
newAPIPrefixFromConfigStruct
(c Prefix)
pkg/speaker/bgp/bgp/config/util.go:75
↓ 1 callers
Function
newARPAnnouncer
(ifi *net.Interface)
pkg/speaker/layer2/arp_announer.go:95
↓ 1 callers
Function
newAnnouncer
(iface *net.Interface, v4 bool)
pkg/speaker/layer2/announcer.go:21
↓ 1 callers
Method
newForwardCtn
(name string)
pkg/controllers/lb/nodeproxy.go:235
↓ 1 callers
Function
newKeepalivedLogPiper
newKeepalivedLogPiper creates a writer that parses and logs log messages written by Keepalived.
pkg/speaker/vip/keepalived.go:324
↓ 1 callers
Method
newProxyCtn
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:220
↓ 1 callers
Method
newProxyCtnEnvArgs
The only env variable is `PROXY_ARGS` `PROXY_ARGS` is 4-tuple parameters split by space: <SVC_IP POD_PORT SVC_PORT SVC_PROTO>
pkg/controllers/lb/nodeproxy.go:191
↓ 1 callers
Method
newProxyCtnPorts
(ports *[]corev1.ServicePort)
pkg/controllers/lb/nodeproxy.go:209
↓ 1 callers
Method
newProxyDe
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:65
↓ 1 callers
Method
newProxyDs
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:75
↓ 1 callers
Method
newProxyRescAnno
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:85
↓ 1 callers
Function
nodeAddrChange
When Node addr changed, system should update all OpenELB services
pkg/controllers/lb/eventhandler.go:54
↓ 1 callers
Function
nowStamp
()
test/e2e/framework/log.go:10
↓ 1 callers
Function
parseMaskLength
(prefix, mask string)
pkg/speaker/bgp/bgp/config/util.go:89
↓ 1 callers
Function
parseSubnetMask
(s string)
pkg/util/iprange/parse.go:96
↓ 1 callers
Method
processRequest
()
pkg/speaker/layer2/arp_announer.go:269
↓ 1 callers
Function
randStringRunes
(n int)
pkg/test/util.go:46
↓ 1 callers
Function
readRequestBody
readRequestBody reads the request body and unmarshals it into the given object.
pkg/server/internal/lib/endpoints.go:19
↓ 1 callers
Method
reconcileNP
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:429
↓ 1 callers
Method
reconcileNPDelete
Called when OpenELB NodeProxy Service was deleted
pkg/controllers/lb/nodeproxy.go:391
↓ 1 callers
Method
reconcileNPNormal
Main procedure for OpenELB NodeProxy
pkg/controllers/lb/nodeproxy.go:247
↓ 1 callers
Method
reconfigPeers
()
pkg/speaker/bgp/bgpconf_controller.go:168
↓ 1 callers
Method
registerAnnouncer
(eipName string, netif *net.Interface, r iprange.Range)
pkg/speaker/layer2/memberlist.go:169
↓ 1 callers
Method
releaseIPFromEip
look up by key in IPAMRequest
pkg/controllers/ipam/ipam.go:124
↓ 1 callers
Method
reloadLayer2Speaker
(req ctrl.Request)
pkg/speaker/eip_controller.go:81
↓ 1 callers
Method
removeEip
(ctx context.Context, e *networkv1alpha2.Eip)
pkg/controllers/ipam/controller.go:156
↓ 1 callers
Method
resolveIP
(nodeIP net.IP)
pkg/speaker/layer2/arp_announer.go:147
↓ 1 callers
Method
run
(ctx context.Context)
pkg/speaker/bgp/bgpconf_controller.go:344
↓ 1 callers
Method
run
(ctx context.Context)
pkg/speaker/bgp/bgppeer_controller.go:166
↓ 1 callers
Method
setMac
(ip string, mac net.HardwareAddr)
pkg/speaker/layer2/arp_announer.go:84
↓ 1 callers
Function
subexps
(line []byte)
pkg/speaker/layer2/log.go:18
↓ 1 callers
Function
svcName
(rescName, svcNs string)
pkg/controllers/lb/nodeproxy.go:33
↓ 1 callers
Method
syncEip
(ctx context.Context, e *networkv1alpha2.Eip)
pkg/controllers/ipam/controller.go:122
↓ 1 callers
Method
toConfig
()
pkg/speaker/bgp/bgp/table/table.go:72
↓ 1 callers
Function
toStatementApi
(s *config.Statement)
pkg/speaker/bgp/bgp/table/table.go:87
↓ 1 callers
Method
unregisterAllAnnouncers
()
pkg/speaker/layer2/memberlist.go:208
↓ 1 callers
Method
unregisterAnnouncer
(eipName, netifName string)
pkg/speaker/layer2/memberlist.go:190
← previous
next →
301–400 of 689, ranked by callers