https://github.com/cilium/cilium
Revision 7ad5c9f60ae2ea40e4de058dba67dbd2b2f9c3ae authored by David Bimmler on 15 May 2023, 09:38:33 UTC, committed by Michi Mutsuzaki on 12 June 2023, 21:41:23 UTC
[ upstream commit 8294624839da166c8d6c5bbf473895607f56fd62 ]

[ backporter notes:
1. conflicts due to moved files
2. had to mildly reshuffle fake datapath to hold a ptr to struct instead
of interface, due to the splitting of the NodeHandler interface. ]

The NodeHandler interface is too large, as can be seen in various
implementations which are only implementing a subset of methods. This
patch splits off the NodeID handling part, and removes the stub methods
from noop implementations.

Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
1 parent 9e191f4
History
Tip revision: 7ad5c9f60ae2ea40e4de058dba67dbd2b2f9c3ae authored by David Bimmler on 15 May 2023, 09:38:33 UTC
dp/types: move nodeIDs out of NodeHandler iface
Tip revision: 7ad5c9f
File Mode Size
api
cmd
identity
metrics
option
pkg
watchers
.gitignore -rw-r--r-- 111 bytes
Makefile -rw-r--r-- 981 bytes
allocator_providers.go -rw-r--r-- 229 bytes
ccnp_event.go -rw-r--r-- 4.2 KB
cilium_node.go -rw-r--r-- 19.5 KB
cmdref.go -rw-r--r-- 1004 bytes
cnp_event.go -rw-r--r-- 4.2 KB
flags.go -rw-r--r-- 15.9 KB
identity_gc.go -rw-r--r-- 3.1 KB
k8s_cep_gc.go -rw-r--r-- 6.4 KB
k8s_identity.go -rw-r--r-- 7.0 KB
k8s_pod_controller.go -rw-r--r-- 3.3 KB
kvstore_watchdog.go -rw-r--r-- 3.1 KB
kvstore_watchdog_test.go -rw-r--r-- 3.0 KB
main.go -rw-r--r-- 19.9 KB
provider_alibabacloud_flags.go -rw-r--r-- 551 bytes
provider_alibabacloud_register.go -rw-r--r-- 398 bytes
provider_aws_flags.go -rw-r--r-- 1.9 KB
provider_aws_register.go -rw-r--r-- 568 bytes
provider_azure_flags.go -rw-r--r-- 1.2 KB
provider_azure_register.go -rw-r--r-- 498 bytes
provider_operator_register.go -rw-r--r-- 476 bytes

back to top