Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "bgp-control-plane", "BGP Control Plane", cell.Config(bgp_option.DefaultConfig), cell.Provide( agent.NewController, signaler.NewBGPCPSignaler, manager.NewBGPRouterManager, gobgp.NewRouterProvider, ), cell.ProvidePrivate( newBGPNodeConfigResource, newBGPPeerConfigResource, newBGPAdvertisementResource, newSecretResource, newCiliumPodIPPoolResource, ), cell.Provide( store.NewBGPCPResourceStore[*slim_core_v1.Secret], store.NewBGPCPResourceStore[*v2alpha1.CiliumPodIPPool], store.NewBGPCPResourceStore[*v2.CiliumBGPPeerConfig], store.NewBGPCPResourceStore[*v2.CiliumBGPAdvertisement], store.NewBGPCPResourceStore[*v2.CiliumBGPNodeConfig], ), cell.Provide( api.NewGetPeerHandler, api.NewGetRoutesHandler, api.NewGetRoutePoliciesHandler, ), cell.Provide( tables.NewBGPReconcileErrorTable, tables.NewDesiredRoutePoliciesTable, func(t statedb.RWTable[*tables.DesiredRoutePolicy], dc *option.DaemonConfig) statedb.Table[*tables.DesiredRoutePolicy] { if !dc.BGPControlPlaneEnabled() { return nil } return statedb.RWTable[*tables.DesiredRoutePolicy].ToTable(t) }, ), cell.ProvidePrivate( reconciler.NewCiliumPeerAdvertisement, ), reconciler.ConfigReconcilers, reconciler.StateReconcilers, commands.Cell, cell.Invoke( func(*agent.Controller) {}, bgp_metrics.RegisterCollector, ), metrics.Metric(manager.NewBGPManagerMetrics), )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.