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 ¶ added in v0.15.7
Map implements tunnel connectivity configuration in the BPF datapath.
func NewTunnelMap ¶ added in v0.15.7
NewTunnelMap returns a new tunnel map with the specified name.
func (*Map) DeleteTunnelEndpoint ¶ added in v0.15.7
DeleteTunnelEndpoint removes a prefix => tunnel-endpoint mapping
func (*Map) GetTunnelEndpoint ¶ added in v0.15.7
GetTunnelEndpoint removes a prefix => tunnel-endpoint mapping
type TunnelEndpoint ¶ added in v1.5.0
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 ¶ added in v1.5.1
func (in *TunnelEndpoint) DeepCopy() *TunnelEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelEndpoint.
func (*TunnelEndpoint) DeepCopyInto ¶ added in v1.5.1
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 ¶ added in v1.5.1
func (in *TunnelEndpoint) DeepCopyMapKey() bpf.MapKey
DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
func (*TunnelEndpoint) DeepCopyMapValue ¶ added in v1.5.1
func (in *TunnelEndpoint) DeepCopyMapValue() bpf.MapValue
DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue.
func (TunnelEndpoint) NewValue ¶ added in v1.5.0
func (v TunnelEndpoint) NewValue() bpf.MapValue