Documentation ¶
Overview ¶
+groupName=maps
Index ¶
Constants ¶
const ( MapName = "cilium_tunnel_map" // MaxEntries is the maximum entries in the tunnel endpoint map MaxEntries = 65536 )
Variables ¶
var ( // TunnelMap represents the BPF map for tunnels TunnelMap = NewTunnelMap(MapName) )
Functions ¶
This section is empty.
Types ¶
type Map ¶
Map implements tunnel connectivity configuration in the BPF datapath.
func NewTunnelMap ¶
NewTunnelMap returns a new tunnel map with the specified name.
func (*Map) DeleteTunnelEndpoint ¶
DeleteTunnelEndpoint removes a prefix => tunnel-endpoint mapping
func (*Map) GetTunnelEndpoint ¶
GetTunnelEndpoint removes a prefix => tunnel-endpoint mapping
func (*Map) SetTunnelEndpoint ¶
SetTunnelEndpoint adds/replaces a prefix => tunnel-endpoint mapping
type TunnelEndpoint ¶
type TunnelEndpoint struct {
bpf.EndpointKey
}
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapValue
func (*TunnelEndpoint) DeepCopy ¶
func (in *TunnelEndpoint) DeepCopy() *TunnelEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelEndpoint.
func (*TunnelEndpoint) DeepCopyInto ¶
func (in *TunnelEndpoint) DeepCopyInto(out *TunnelEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelEndpoint) DeepCopyMapKey ¶
func (in *TunnelEndpoint) DeepCopyMapKey() bpf.MapKey
DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
func (*TunnelEndpoint) DeepCopyMapValue ¶
func (in *TunnelEndpoint) DeepCopyMapValue() bpf.MapValue
DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue.
func (TunnelEndpoint) NewValue ¶
func (v TunnelEndpoint) NewValue() bpf.MapValue