Documentation ¶
Index ¶
- type MockBGPRouterManager
- func (m *MockBGPRouterManager) ConfigurePeers(ctx context.Context, policy *v2alpha1.CiliumBGPPeeringPolicy, ...) error
- func (m *MockBGPRouterManager) GetPeers(ctx context.Context) ([]*models.BgpPeer, error)
- func (m *MockBGPRouterManager) GetRoutePolicies(ctx context.Context, params restapi.GetBgpRoutePoliciesParams) ([]*models.BgpRoutePolicy, error)
- func (m *MockBGPRouterManager) GetRoutes(ctx context.Context, params restapi.GetBgpRoutesParams) ([]*models.BgpRoute, error)
- func (m *MockBGPRouterManager) Stop()
- type MockNodeLister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBGPRouterManager ¶
type MockBGPRouterManager struct { ConfigurePeers_ func(ctx context.Context, policy *v2alpha1.CiliumBGPPeeringPolicy, ciliumNode *v2.CiliumNode) error GetPeers_ func(ctx context.Context) ([]*models.BgpPeer, error) GetRoutes_ func(ctx context.Context, params restapi.GetBgpRoutesParams) ([]*models.BgpRoute, error) GetRoutePolicies_ func(ctx context.Context, params restapi.GetBgpRoutePoliciesParams) ([]*models.BgpRoutePolicy, error) Stop_ func() }
func (*MockBGPRouterManager) ConfigurePeers ¶
func (m *MockBGPRouterManager) ConfigurePeers(ctx context.Context, policy *v2alpha1.CiliumBGPPeeringPolicy, ciliumNode *v2.CiliumNode) error
func (*MockBGPRouterManager) GetRoutePolicies ¶ added in v1.15.0
func (m *MockBGPRouterManager) GetRoutePolicies(ctx context.Context, params restapi.GetBgpRoutePoliciesParams) ([]*models.BgpRoutePolicy, error)
func (*MockBGPRouterManager) GetRoutes ¶
func (m *MockBGPRouterManager) GetRoutes(ctx context.Context, params restapi.GetBgpRoutesParams) ([]*models.BgpRoute, error)
func (*MockBGPRouterManager) Stop ¶
func (m *MockBGPRouterManager) Stop()
Click to show internal directories.
Click to hide internal directories.