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
Function
DeleteEipMetrics
(eip string)
pkg/metrics/metrics.go:124
Method
DeletePeerForGobgp
(address string)
test/e2e/framework/bgp.go:266
Function
DeletePortForwardOfBGP
(iptableExec iptables.IptablesIface, routerIP, localIP string, gobgpPort int32)
pkg/nettool/iptables.go:31
Method
DeleteSync
(ctx context.Context, name string)
test/e2e/framework/pod.go:36
Method
Discard
(item interface{})
pkg/util/set/set.go:84
Method
End
()
pkg/util/iprange/range.go:74
Method
End
()
pkg/util/iprange/range.go:111
Function
EnvDaemonsetName
()
pkg/util/util.go:113
Method
Equals
(other Set)
pkg/util/set/set.go:124
Method
Exists
(table, chain string, rulespec ...string)
pkg/nettool/iptables/fake.go:34
Function
ExpectConsistOf
ExpectConsistOf expects actual contains precisely the extra elements. The ordering of the elements does not matter.
test/e2e/framework/expect.go:132
Function
ExpectEmpty
ExpectEmpty expects actual is empty
test/e2e/framework/expect.go:142
Function
ExpectError
ExpectError expects an error happens, otherwise an exception raises
test/e2e/framework/expect.go:59
Function
ExpectFalse
ExpectFalse expects actual is false
test/e2e/framework/expect.go:84
Function
ExpectHaveKey
ExpectHaveKey expects the actual map has the key in the keyset
test/e2e/framework/expect.go:137
Function
ExpectNil
ExpectNil expects actual is nil
test/e2e/framework/expect.go:69
Function
ExpectTrue
ExpectTrue expects actual is true
test/e2e/framework/expect.go:79
Method
Family
Family returns the range address family.
pkg/util/iprange/range.go:56
Method
Family
Family returns the range address family.
pkg/util/iprange/range.go:89
Method
Generic
Generic implements EventHandler
pkg/controllers/lb/eventhandler.go:116
Method
Generic
Generic implements EventHandler
pkg/controllers/lb/eventhandler.go:194
Method
Generic
Generic implements EventHandler
pkg/speaker/bgp/eventhandler.go:76
Method
GetSpeakerName
()
api/v1alpha2/eip_types.go:54
Function
GetStatusFromGoBgpPeer
(peer *api.Peer)
api/v1alpha2/bgppeer_types.go:221
Method
HandleEIP
(ctx context.Context, eip *v1alpha2.Eip)
pkg/speaker/manager.go:118
Method
HandleService
(ctx context.Context, svc *corev1.Service)
pkg/speaker/manager.go:291
Method
HasRandomFully
()
pkg/nettool/iptables/fake.go:118
Method
HasRandomFully
()
pkg/nettool/iptables/interface.go:20
Method
Insert
(table, chain string, pos int, rulespec ...string)
pkg/nettool/iptables/fake.go:44
Method
Insert
(table, chain string, pos int, rulespec ...string)
pkg/nettool/iptables/interface.go:12
Method
IsNetOverlap
IsNetOverlap is a utility function that returns true if the two subnet have an overlap.
pkg/util/net/ipnet.go:47
Method
Iter
(visitor func(item interface{}) error)
pkg/util/set/set.go:99
Method
List
(table, chain string)
pkg/nettool/iptables/fake.go:84
Method
List
(table, chain string)
pkg/nettool/iptables/interface.go:15
Method
List
List returns the list of Eip objects in the kubernetes cluster.
pkg/server/internal/handler/eip.go:58
Method
List
List returns all the BgpPeer objects in the kubernetes cluster.
pkg/server/internal/handler/bgppeer.go:58
Method
ListChains
(table string)
pkg/nettool/iptables/fake.go:110
Method
ListChains
(table string)
pkg/nettool/iptables/interface.go:19
Method
Map
(ctx context.Context, configMap client.Object)
pkg/speaker/bgp/bgpconf_controller.go:147
Method
MarshalJSON
MarshalJSON interface for a MAC
pkg/util/net/mac.go:14
Method
MarshalJSON
MarshalJSON interface for an IP
pkg/util/net/ip.go:15
Method
MarshalJSON
MarshalJSON interface for an IPNet
pkg/util/net/ipnet.go:15
Method
MonitorPeers
(ctx context.Context, ip string)
pkg/speaker/bgp/bgp/path.go:286
Function
MustParseNetwork
MustParseNetwork parses the string into an IPNet. The IP address in the IPNet is masked.
pkg/util/net/ipnet.go:132
Method
Network
Network returns the IP address as a fully masked IPNet type.
pkg/util/net/ip.go:66
Method
NewChain
(table, chain string)
pkg/nettool/iptables/fake.go:93
Method
NewChain
(table, chain string)
pkg/nettool/iptables/interface.go:16
Function
NewFake
()
pkg/speaker/fake.go:15
Function
NewFakeIPTables
()
pkg/nettool/iptables/fake.go:20
Function
NewIPTables
()
pkg/nettool/iptables/interface.go:34
Function
NewOptions
()
pkg/server/options/options.go:9
Method
NumAddrs
()
pkg/util/net/ipnet.go:123
Method
Patch
Patch patches the BgpConf object in the kubernetes cluster.
pkg/server/internal/handler/bgpconf.go:64
Method
Patch
Patch patches the Eip object in the kubernetes cluster.
pkg/server/internal/handler/eip.go:65
Method
Patch
Patch patches the BgpPeer object in the kubernetes cluster.
pkg/server/internal/handler/bgppeer.go:65
Method
Reconcile
(ctx context.Context, req ctrl.Request)
pkg/controllers/lb/controller.go:163
Method
Reconcile
+kubebuilder:rbac:groups=network.kubesphere.io,resources=eips,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=network.kubesph
pkg/controllers/ipam/controller.go:63
Method
Reconcile
+kubebuilder:rbac:groups=network.kubesphere.io,resources=bgpconfs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=network.kub
pkg/speaker/lb_controller.go:131
Method
Reconcile
+kubebuilder:rbac:groups=network.kubesphere.io,resources=eips,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=network.kubesph
pkg/speaker/eip_controller.go:58
Method
Reconcile
+kubebuilder:rbac:groups=network.kubesphere.io,resources=bgppeers,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=network.kub
pkg/speaker/bgp/bgpconf_controller.go:63
Method
Reconcile
+kubebuilder:rbac:groups=network.kubesphere.io,resources=bgppeers,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=network.kub
pkg/speaker/bgp/bgppeer_controller.go:73
Method
Register
(r chi.Router)
pkg/server/internal/router/bgpconf.go:16
Method
Register
(r chi.Router)
pkg/server/internal/router/eip.go:16
Method
Register
(r chi.Router)
pkg/server/internal/router/bgppeer.go:16
Method
RegisterIPRange
(name string, r iprange.Range)
pkg/speaker/layer2/arp_announer.go:39
Method
ResyncEIPSpeaker
(ctx context.Context)
pkg/speaker/manager.go:408
Method
SetBalancer
(ip string, nexthops []corev1.Node)
pkg/speaker/fake.go:21
Method
SetBalancer
(ip string, nodes []corev1.Node)
pkg/speaker/bgp/bgp/path.go:177
Method
SetBalancer
(vip string, nodes []corev1.Node)
pkg/speaker/vip/keepalived.go:76
Method
SetBalancer
(ip string, clusterNodes []corev1.Node)
pkg/speaker/layer2/memberlist.go:82
Function
SetupHTTPServer
(stopCh <-chan struct{}, opts *options.Options)
pkg/server/setup.go:11
Function
SetupTest
SetupTest will set up a testing environment.
pkg/test/util.go:16
Method
SetupWithManager
(mgr ctrl.Manager)
pkg/speaker/eip_controller.go:45
Method
Size
()
pkg/speaker/layer2/arp_announer.go:60
Method
Size
Size reports the number of IP addresses in the range.
pkg/util/iprange/range.go:66
Method
Size
Size reports the number of IP addresses in the range.
pkg/util/iprange/range.go:99
Method
Size
Size reports the number of IP addresses in the pool.
pkg/util/iprange/pool.go:24
Method
Start
(stopCh <-chan struct{})
pkg/speaker/fake.go:71
Method
Start
(ctx context.Context)
pkg/speaker/bgp/bgpconf_controller.go:358
Method
Start
(ctx context.Context)
pkg/speaker/bgp/bgppeer_controller.go:123
Method
Start
(stopCh <-chan struct{})
pkg/speaker/bgp/bgp/gobgpd.go:27
Method
Start
(stopCh <-chan struct{})
pkg/speaker/vip/keepalived.go:200
Method
Start
(stopCh <-chan struct{})
pkg/speaker/layer2/memberlist.go:134
Method
Start
()
pkg/speaker/layer2/arp_announer.go:244
Method
Start
()
pkg/util/iprange/range.go:70
Method
Start
()
pkg/util/iprange/range.go:107
Method
Stop
()
pkg/speaker/layer2/arp_announer.go:263
Method
String
String returns the string form of the range.
pkg/util/iprange/range.go:51
Method
String
String returns the string form of the range.
pkg/util/iprange/range.go:84
Function
TerminalSize
TerminalSize returns the current width and height of the user's terminal. If it isn't a terminal, nil is returned. On error, zero values are returned
pkg/util/term.go:13
Function
TestAPIs
(t *testing.T)
pkg/speaker/bgp/suite_test.go:126
Function
TestAllocateWithHash
(t *testing.T)
pkg/util/idalloc/idalloc_test.go:116
Function
TestBadMaxValue
(t *testing.T)
pkg/util/idalloc/idalloc_test.go:92
Function
TestE2E
(t *testing.T)
test/e2e/e2e_test.go:46
Function
TestIDAllocator
(t *testing.T)
pkg/util/idalloc/idalloc_test.go:12
Function
TestIPNet_Covers
(t *testing.T)
pkg/util/net/ipnet_test.go:10
Function
TestIPNet_NthIP
(t *testing.T)
pkg/util/net/ipnet_test.go:34
Function
TestManager_AssignIP
(t *testing.T)
pkg/controllers/ipam/ipam_test.go:1012
Function
TestManager_ConstructAllocate
(t *testing.T)
pkg/controllers/ipam/ipam_test.go:30
Function
TestManager_ReleaseIP
(t *testing.T)
pkg/controllers/ipam/ipam_test.go:1276
← previous
next →
501–600 of 689, ranked by callers