MCPcopy Create free account

hub / github.com/openelb/openelb / functions

Functions689 in github.com/openelb/openelb

FunctionDeleteEipMetrics
(eip string)
pkg/metrics/metrics.go:124
MethodDeletePeerForGobgp
(address string)
test/e2e/framework/bgp.go:266
FunctionDeletePortForwardOfBGP
(iptableExec iptables.IptablesIface, routerIP, localIP string, gobgpPort int32)
pkg/nettool/iptables.go:31
MethodDeleteSync
(ctx context.Context, name string)
test/e2e/framework/pod.go:36
MethodDiscard
(item interface{})
pkg/util/set/set.go:84
MethodEnd
()
pkg/util/iprange/range.go:74
MethodEnd
()
pkg/util/iprange/range.go:111
FunctionEnvDaemonsetName
()
pkg/util/util.go:113
MethodEquals
(other Set)
pkg/util/set/set.go:124
MethodExists
(table, chain string, rulespec ...string)
pkg/nettool/iptables/fake.go:34
FunctionExpectConsistOf
ExpectConsistOf expects actual contains precisely the extra elements. The ordering of the elements does not matter.
test/e2e/framework/expect.go:132
FunctionExpectEmpty
ExpectEmpty expects actual is empty
test/e2e/framework/expect.go:142
FunctionExpectError
ExpectError expects an error happens, otherwise an exception raises
test/e2e/framework/expect.go:59
FunctionExpectFalse
ExpectFalse expects actual is false
test/e2e/framework/expect.go:84
FunctionExpectHaveKey
ExpectHaveKey expects the actual map has the key in the keyset
test/e2e/framework/expect.go:137
FunctionExpectNil
ExpectNil expects actual is nil
test/e2e/framework/expect.go:69
FunctionExpectTrue
ExpectTrue expects actual is true
test/e2e/framework/expect.go:79
MethodFamily
Family returns the range address family.
pkg/util/iprange/range.go:56
MethodFamily
Family returns the range address family.
pkg/util/iprange/range.go:89
MethodGeneric
Generic implements EventHandler
pkg/controllers/lb/eventhandler.go:116
MethodGeneric
Generic implements EventHandler
pkg/controllers/lb/eventhandler.go:194
MethodGeneric
Generic implements EventHandler
pkg/speaker/bgp/eventhandler.go:76
MethodGetSpeakerName
()
api/v1alpha2/eip_types.go:54
FunctionGetStatusFromGoBgpPeer
(peer *api.Peer)
api/v1alpha2/bgppeer_types.go:221
MethodHandleEIP
(ctx context.Context, eip *v1alpha2.Eip)
pkg/speaker/manager.go:118
MethodHandleService
(ctx context.Context, svc *corev1.Service)
pkg/speaker/manager.go:291
MethodHasRandomFully
()
pkg/nettool/iptables/fake.go:118
MethodHasRandomFully
()
pkg/nettool/iptables/interface.go:20
MethodInsert
(table, chain string, pos int, rulespec ...string)
pkg/nettool/iptables/fake.go:44
MethodInsert
(table, chain string, pos int, rulespec ...string)
pkg/nettool/iptables/interface.go:12
MethodIsNetOverlap
IsNetOverlap is a utility function that returns true if the two subnet have an overlap.
pkg/util/net/ipnet.go:47
MethodIter
(visitor func(item interface{}) error)
pkg/util/set/set.go:99
MethodList
(table, chain string)
pkg/nettool/iptables/fake.go:84
MethodList
(table, chain string)
pkg/nettool/iptables/interface.go:15
MethodList
List returns the list of Eip objects in the kubernetes cluster.
pkg/server/internal/handler/eip.go:58
MethodList
List returns all the BgpPeer objects in the kubernetes cluster.
pkg/server/internal/handler/bgppeer.go:58
MethodListChains
(table string)
pkg/nettool/iptables/fake.go:110
MethodListChains
(table string)
pkg/nettool/iptables/interface.go:19
MethodMap
(ctx context.Context, configMap client.Object)
pkg/speaker/bgp/bgpconf_controller.go:147
MethodMarshalJSON
MarshalJSON interface for a MAC
pkg/util/net/mac.go:14
MethodMarshalJSON
MarshalJSON interface for an IP
pkg/util/net/ip.go:15
MethodMarshalJSON
MarshalJSON interface for an IPNet
pkg/util/net/ipnet.go:15
MethodMonitorPeers
(ctx context.Context, ip string)
pkg/speaker/bgp/bgp/path.go:286
FunctionMustParseNetwork
MustParseNetwork parses the string into an IPNet. The IP address in the IPNet is masked.
pkg/util/net/ipnet.go:132
MethodNetwork
Network returns the IP address as a fully masked IPNet type.
pkg/util/net/ip.go:66
MethodNewChain
(table, chain string)
pkg/nettool/iptables/fake.go:93
MethodNewChain
(table, chain string)
pkg/nettool/iptables/interface.go:16
FunctionNewFake
()
pkg/speaker/fake.go:15
FunctionNewFakeIPTables
()
pkg/nettool/iptables/fake.go:20
FunctionNewIPTables
()
pkg/nettool/iptables/interface.go:34
FunctionNewOptions
()
pkg/server/options/options.go:9
MethodNumAddrs
()
pkg/util/net/ipnet.go:123
MethodPatch
Patch patches the BgpConf object in the kubernetes cluster.
pkg/server/internal/handler/bgpconf.go:64
MethodPatch
Patch patches the Eip object in the kubernetes cluster.
pkg/server/internal/handler/eip.go:65
MethodPatch
Patch patches the BgpPeer object in the kubernetes cluster.
pkg/server/internal/handler/bgppeer.go:65
MethodReconcile
(ctx context.Context, req ctrl.Request)
pkg/controllers/lb/controller.go:163
MethodReconcile
+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
MethodReconcile
+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
MethodReconcile
+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
MethodReconcile
+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
MethodReconcile
+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
MethodRegister
(r chi.Router)
pkg/server/internal/router/bgpconf.go:16
MethodRegister
(r chi.Router)
pkg/server/internal/router/eip.go:16
MethodRegister
(r chi.Router)
pkg/server/internal/router/bgppeer.go:16
MethodRegisterIPRange
(name string, r iprange.Range)
pkg/speaker/layer2/arp_announer.go:39
MethodResyncEIPSpeaker
(ctx context.Context)
pkg/speaker/manager.go:408
MethodSetBalancer
(ip string, nexthops []corev1.Node)
pkg/speaker/fake.go:21
MethodSetBalancer
(ip string, nodes []corev1.Node)
pkg/speaker/bgp/bgp/path.go:177
MethodSetBalancer
(vip string, nodes []corev1.Node)
pkg/speaker/vip/keepalived.go:76
MethodSetBalancer
(ip string, clusterNodes []corev1.Node)
pkg/speaker/layer2/memberlist.go:82
FunctionSetupHTTPServer
(stopCh <-chan struct{}, opts *options.Options)
pkg/server/setup.go:11
FunctionSetupTest
SetupTest will set up a testing environment.
pkg/test/util.go:16
MethodSetupWithManager
(mgr ctrl.Manager)
pkg/speaker/eip_controller.go:45
MethodSize
()
pkg/speaker/layer2/arp_announer.go:60
MethodSize
Size reports the number of IP addresses in the range.
pkg/util/iprange/range.go:66
MethodSize
Size reports the number of IP addresses in the range.
pkg/util/iprange/range.go:99
MethodSize
Size reports the number of IP addresses in the pool.
pkg/util/iprange/pool.go:24
MethodStart
(stopCh <-chan struct{})
pkg/speaker/fake.go:71
MethodStart
(ctx context.Context)
pkg/speaker/bgp/bgpconf_controller.go:358
MethodStart
(ctx context.Context)
pkg/speaker/bgp/bgppeer_controller.go:123
MethodStart
(stopCh <-chan struct{})
pkg/speaker/bgp/bgp/gobgpd.go:27
MethodStart
(stopCh <-chan struct{})
pkg/speaker/vip/keepalived.go:200
MethodStart
(stopCh <-chan struct{})
pkg/speaker/layer2/memberlist.go:134
MethodStart
()
pkg/speaker/layer2/arp_announer.go:244
MethodStart
()
pkg/util/iprange/range.go:70
MethodStart
()
pkg/util/iprange/range.go:107
MethodStop
()
pkg/speaker/layer2/arp_announer.go:263
MethodString
String returns the string form of the range.
pkg/util/iprange/range.go:51
MethodString
String returns the string form of the range.
pkg/util/iprange/range.go:84
FunctionTerminalSize
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
FunctionTestAPIs
(t *testing.T)
pkg/speaker/bgp/suite_test.go:126
FunctionTestAllocateWithHash
(t *testing.T)
pkg/util/idalloc/idalloc_test.go:116
FunctionTestBadMaxValue
(t *testing.T)
pkg/util/idalloc/idalloc_test.go:92
FunctionTestE2E
(t *testing.T)
test/e2e/e2e_test.go:46
FunctionTestIDAllocator
(t *testing.T)
pkg/util/idalloc/idalloc_test.go:12
FunctionTestIPNet_Covers
(t *testing.T)
pkg/util/net/ipnet_test.go:10
FunctionTestIPNet_NthIP
(t *testing.T)
pkg/util/net/ipnet_test.go:34
FunctionTestManager_AssignIP
(t *testing.T)
pkg/controllers/ipam/ipam_test.go:1012
FunctionTestManager_ConstructAllocate
(t *testing.T)
pkg/controllers/ipam/ipam_test.go:30
FunctionTestManager_ReleaseIP
(t *testing.T)
pkg/controllers/ipam/ipam_test.go:1276
← previousnext →501–600 of 689, ranked by callers