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
↓ 2 callers
Method
Family
()
pkg/util/iprange/range.go:24
↓ 2 callers
Method
Flags
()
cmd/controller/app/options/options.go:27
↓ 2 callers
Method
Flags
()
cmd/speaker/app/options/options.go:36
↓ 2 callers
Method
Flags
()
cmd/apiserver/app/options/options.go:27
↓ 2 callers
Function
HasOpenELBAnnotation
(annotation map[string]string)
pkg/validate/validate.go:11
↓ 2 callers
Function
HasOpenELBDefaultEipAnnotation
(annotation map[string]string)
pkg/validate/validate.go:36
↓ 2 callers
Function
HasOpenELBNPAnnotation
(annotation map[string]string)
pkg/validate/validate.go:20
↓ 2 callers
Function
IsOpenELBNPService
Judge whether this load balancer should be exposed by OpenELB Service Such Service will be exposed by Proxy Pod
pkg/controllers/lb/nodeproxy.go:438
↓ 2 callers
Function
IsOpenELBService
(svc *corev1.Service)
pkg/speaker/lb_controller.go:46
↓ 2 callers
Function
IsTypeLoadBalancer
(obj runtime.Object)
pkg/validate/validate.go:29
↓ 2 callers
Function
New
New returns new IP Range. If it is not a valid range (start and end IPs have different address-families, or start > end), New returns nil.
pkg/util/iprange/range.go:35
↓ 2 callers
Function
NewAPIPolicyAssignmentFromTableStruct
(t *PolicyAssignment)
pkg/speaker/bgp/bgp/table/table.go:276
↓ 2 callers
Function
NewManager
(cfg *rest.Config, options *GenericOptions)
pkg/manager/generic.go:47
↓ 2 callers
Function
NodeReady
(obj runtime.Object)
pkg/util/util.go:123
↓ 2 callers
Function
ParseInterface
(ifaceName string, v4 bool)
pkg/speaker/utils.go:12
↓ 2 callers
Method
ReleaseIP
(ctx context.Context, release *svcRecord)
pkg/controllers/ipam/ipam.go:448
↓ 2 callers
Method
Reload
Reload sends SIGHUP to keepalived to reload the configuration.
pkg/speaker/vip/keepalived.go:274
↓ 2 callers
Function
RemoveString
(slice []string, s string)
pkg/util/util.go:25
↓ 2 callers
Method
SetupWithManager
(mgr ctrl.Manager)
pkg/speaker/lb_controller.go:71
↓ 2 callers
Method
Size
()
pkg/speaker/layer2/announcer.go:18
↓ 2 callers
Method
Start
(stopCh <-chan struct{})
pkg/speaker/interface.go:17
↓ 2 callers
Method
Start
(ctx context.Context)
pkg/speaker/manager.go:51
↓ 2 callers
Function
UpdateBGPPathMetrics
(peerIP, node string, announcedTotal, pendingTotal float64)
pkg/metrics/metrics.go:165
↓ 2 callers
Method
UpdatePeerMetrics
(peer *bgpapi.BgpPeer, delete bool)
pkg/speaker/bgp/bgp/peers.go:165
↓ 2 callers
Function
ValidateInterface
(netif *net.Interface, r iprange.Range)
pkg/speaker/utils.go:45
↓ 2 callers
Method
ValidateUpdate
(old runtime.Object)
api/v1alpha2/eip_types.go:256
↓ 2 callers
Function
checkBgpConf
(bgpConf *v1alpha2.BgpConf, fn func(dst *v1alpha2.BgpConf) bool)
pkg/speaker/bgp/suite_test.go:486
↓ 2 callers
Method
cleanRecord
(vip, instanceName string)
pkg/speaker/vip/keepalived.go:119
↓ 2 callers
Function
defaultFamily
(ip net.IP)
pkg/speaker/bgp/bgp/peers.go:16
↓ 2 callers
Method
delBalancer
(ctx context.Context, protocol string, usage map[string]string)
pkg/speaker/manager.go:211
↓ 2 callers
Method
delBalancerWithEIP
(ctx context.Context, eip *v1alpha2.Eip)
pkg/speaker/manager.go:192
↓ 2 callers
Function
generateArp
The source mac address must be on the network card, otherwise arp spoof could drop you packets.
pkg/speaker/layer2/arp_announer.go:121
↓ 2 callers
Function
getFamily
(ip string)
test/e2e/framework/bgp.go:293
↓ 2 callers
Method
getMac
(ip string)
pkg/speaker/layer2/arp_announer.go:73
↓ 2 callers
Method
getNPConfig
User can config NodeProxy by ConfigMap to specify the proxy and forward images If the ConfigMap exists and the configuration is set, use it, otherwi
pkg/controllers/lb/nodeproxy.go:154
↓ 2 callers
Method
getPeers
()
pkg/speaker/bgp/bgp/path.go:165
↓ 2 callers
Method
grow
()
pkg/util/idalloc/idalloc.go:107
↓ 2 callers
Function
isV6IP
(ip net.IP)
pkg/util/iprange/parse.go:129
↓ 2 callers
Function
newMatchOption
(c interface{})
pkg/speaker/bgp/bgp/table/table.go:44
↓ 2 callers
Method
newProxyPoTepl
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:108
↓ 2 callers
Method
newProxyResc
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:54
↓ 2 callers
Method
newProxyRescOM
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:92
↓ 2 callers
Method
newProxyRescSel
(svc *corev1.Service)
pkg/controllers/lb/nodeproxy.go:100
↓ 2 callers
Function
nodeInternalAndExternalIP
(obj runtime.Object)
pkg/controllers/lb/eventhandler.go:69
↓ 2 callers
Function
parseCIDR
(s string)
pkg/util/iprange/parse.go:86
↓ 2 callers
Function
parseRange
(s string)
pkg/util/iprange/parse.go:75
↓ 2 callers
Function
peerMatchNode
(peer *v1alpha2.BgpPeer, node *corev1.Node)
pkg/speaker/bgp/bgppeer_controller.go:51
↓ 2 callers
Method
ready
()
pkg/speaker/bgp/bgp/path.go:125
↓ 2 callers
Function
ruleEqual
(rule IptablesRule, rulespec ...string)
pkg/nettool/iptables/fake.go:8
↓ 2 callers
Method
setBalancerWithEIP
(ctx context.Context, eip *v1alpha2.Eip)
pkg/speaker/manager.go:224
↓ 2 callers
Function
shouldReconcile
(obj runtime.Object)
pkg/speaker/bgp/bgpconf_controller.go:199
↓ 2 callers
Function
toAPIPath
(ip string, prefix uint32, nexthop string)
pkg/speaker/bgp/bgp/path.go:42
↓ 2 callers
Function
toPolicyApi
(p *config.PolicyDefinition)
pkg/speaker/bgp/bgp/table/table.go:263
↓ 2 callers
Function
updateBgpConf
(origin *v1alpha2.BgpConf, fn func(dst *v1alpha2.BgpConf))
pkg/speaker/bgp/suite_test.go:512
↓ 2 callers
Function
updateBgpPeer
(origin *v1alpha2.BgpPeer, fn func(dst *v1alpha2.BgpPeer))
pkg/speaker/bgp/suite_test.go:528
↓ 2 callers
Method
updateReconcileResult
updateReconcileResult update service resource and status
pkg/controllers/lb/controller.go:242
↓ 2 callers
Function
v4ToInt
(ip net.IP)
pkg/util/iprange/range.go:115
↓ 2 callers
Method
validate
(overlap bool)
api/v1alpha2/eip_types.go:200
↓ 1 callers
Method
Add
(item interface{})
pkg/util/set/set.go:72
↓ 1 callers
Method
AddAnnouncedIP
(net.IP)
pkg/speaker/layer2/announcer.go:11
↓ 1 callers
Method
AddConfForGobgp
(routerid string, as uint32, port int32)
test/e2e/framework/bgp.go:154
↓ 1 callers
Method
AddPeerForGobgp
(address string, as uint32, port int)
test/e2e/framework/bgp.go:228
↓ 1 callers
Method
Append
(table, chain string, rulespec ...string)
pkg/nettool/iptables/interface.go:13
↓ 1 callers
Function
BigIntToIP
(ipInt *big.Int, v6 bool)
pkg/util/net/ip.go:103
↓ 1 callers
Method
CleanBgpConfStatus
()
pkg/speaker/bgp/bgpconf_controller.go:306
↓ 1 callers
Method
CleanBgpPeerStatus
()
pkg/speaker/bgp/bgppeer_controller.go:220
↓ 1 callers
Function
ConfigSetToRoutingPolicy
(c *BgpConfigSet)
pkg/speaker/bgp/bgp/config/serve.go:28
↓ 1 callers
Method
Contains
(item interface{})
pkg/util/set/set.go:94
↓ 1 callers
Method
Contains
(ip net.IP)
api/v1alpha2/eip_types.go:177
↓ 1 callers
Method
Covers
Covers returns true if the whole of n is covered by this CIDR.
pkg/util/net/ipnet.go:52
↓ 1 callers
Method
Create
Create creates a new BgpConf object in the kubernetes cluster.
pkg/server/internal/handler/bgpconf.go:16
↓ 1 callers
Method
Create
Create creates a new BgpPeer object in the kubernetes cluster.
pkg/server/internal/handler/bgppeer.go:15
↓ 1 callers
Method
CreateSync
(ctx context.Context, pod *corev1.Pod)
test/e2e/framework/pod.go:28
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpConfList.
api/v1alpha2/zz_generated.deepcopy.go:156
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeerList.
api/v1alpha2/zz_generated.deepcopy.go:274
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipList.
api/v1alpha2/zz_generated.deepcopy.go:426
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpConf.
api/v1alpha1/zz_generated.deepcopy.go:53
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpConfList.
api/v1alpha1/zz_generated.deepcopy.go:85
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeer.
api/v1alpha1/zz_generated.deepcopy.go:142
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeerList.
api/v1alpha1/zz_generated.deepcopy.go:174
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eip.
api/v1alpha1/zz_generated.deepcopy.go:234
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipList.
api/v1alpha1/zz_generated.deepcopy.go:266
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:30
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:50
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:65
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:95
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:115
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:142
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:174
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:211
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:233
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:260
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:292
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:348
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:370
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:412
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:444
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:471
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:493
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha2/zz_generated.deepcopy.go:508
← previous
next →
101–200 of 689, ranked by callers