ovs

package
v1.12.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ovs is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockACL

type MockACL struct {
	// contains filtered or unexported fields
}

MockACL is a mock of ACL interface.

func NewMockACL

func NewMockACL(ctrl *gomock.Controller) *MockACL

NewMockACL creates a new mock instance.

func (*MockACL) CreateGatewayACL added in v1.12.1

func (m *MockACL) CreateGatewayACL(lsName, pgName, gateway string) error

CreateGatewayACL mocks base method.

func (*MockACL) CreateNodeACL added in v1.12.1

func (m *MockACL) CreateNodeACL(pgName, nodeIPStr, joinIPStr string) error

CreateNodeACL mocks base method.

func (*MockACL) CreateSgBaseACL

func (m *MockACL) CreateSgBaseACL(sgName, direction string) error

CreateSgBaseACL mocks base method.

func (*MockACL) CreateSgDenyAllACL added in v1.12.1

func (m *MockACL) CreateSgDenyAllACL(sgName string) error

CreateSgDenyAllACL mocks base method.

func (*MockACL) DeleteAcls

func (m *MockACL) DeleteAcls(parentName, parentType, direction string, externalIDs map[string]string) error

DeleteAcls mocks base method.

func (*MockACL) DeleteAclsOps

func (m *MockACL) DeleteAclsOps(parentName, parentType, direction string, externalIDs map[string]string) ([]ovsdb.Operation, error)

DeleteAclsOps mocks base method.

func (*MockACL) EXPECT

func (m *MockACL) EXPECT() *MockACLMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockACL) SGLostACL added in v1.12.12

func (m *MockACL) SGLostACL(sg *v1.SecurityGroup) (bool, error)

SGLostACL mocks base method.

func (*MockACL) SetACLLog added in v1.12.1

func (m *MockACL) SetACLLog(pgName string, logEnable, isIngress bool) error

SetACLLog mocks base method.

func (*MockACL) SetLogicalSwitchPrivate

func (m *MockACL) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR string, allowSubnets []string) error

SetLogicalSwitchPrivate mocks base method.

func (*MockACL) UpdateEgressACLOps added in v1.12.1

func (m *MockACL) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol string, npp []v10.NetworkPolicyPort, logEnable bool, namedPortMap map[string]*util.NamedPortInfo) ([]ovsdb.Operation, error)

UpdateEgressACLOps mocks base method.

func (*MockACL) UpdateIngressACLOps added in v1.12.1

func (m *MockACL) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol string, npp []v10.NetworkPolicyPort, logEnable bool, namedPortMap map[string]*util.NamedPortInfo) ([]ovsdb.Operation, error)

UpdateIngressACLOps mocks base method.

func (*MockACL) UpdateLogicalSwitchACL added in v1.12.1

func (m *MockACL) UpdateLogicalSwitchACL(lsName string, subnetAcls []v1.ACL) error

UpdateLogicalSwitchACL mocks base method.

func (*MockACL) UpdateSgACL added in v1.12.1

func (m *MockACL) UpdateSgACL(sg *v1.SecurityGroup, direction string) error

UpdateSgACL mocks base method.

type MockACLMockRecorder

type MockACLMockRecorder struct {
	// contains filtered or unexported fields
}

MockACLMockRecorder is the mock recorder for MockACL.

func (*MockACLMockRecorder) CreateGatewayACL added in v1.12.1

func (mr *MockACLMockRecorder) CreateGatewayACL(lsName, pgName, gateway any) *gomock.Call

CreateGatewayACL indicates an expected call of CreateGatewayACL.

func (*MockACLMockRecorder) CreateNodeACL added in v1.12.1

func (mr *MockACLMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr any) *gomock.Call

CreateNodeACL indicates an expected call of CreateNodeACL.

func (*MockACLMockRecorder) CreateSgBaseACL

func (mr *MockACLMockRecorder) CreateSgBaseACL(sgName, direction any) *gomock.Call

CreateSgBaseACL indicates an expected call of CreateSgBaseACL.

func (*MockACLMockRecorder) CreateSgDenyAllACL added in v1.12.1

func (mr *MockACLMockRecorder) CreateSgDenyAllACL(sgName any) *gomock.Call

CreateSgDenyAllACL indicates an expected call of CreateSgDenyAllACL.

func (*MockACLMockRecorder) DeleteAcls

func (mr *MockACLMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs any) *gomock.Call

DeleteAcls indicates an expected call of DeleteAcls.

func (*MockACLMockRecorder) DeleteAclsOps

func (mr *MockACLMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs any) *gomock.Call

DeleteAclsOps indicates an expected call of DeleteAclsOps.

func (*MockACLMockRecorder) SGLostACL added in v1.12.12

func (mr *MockACLMockRecorder) SGLostACL(sg any) *gomock.Call

SGLostACL indicates an expected call of SGLostACL.

func (*MockACLMockRecorder) SetACLLog added in v1.12.1

func (mr *MockACLMockRecorder) SetACLLog(pgName, logEnable, isIngress any) *gomock.Call

SetACLLog indicates an expected call of SetACLLog.

func (*MockACLMockRecorder) SetLogicalSwitchPrivate

func (mr *MockACLMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets any) *gomock.Call

SetLogicalSwitchPrivate indicates an expected call of SetLogicalSwitchPrivate.

func (*MockACLMockRecorder) UpdateEgressACLOps added in v1.12.1

func (mr *MockACLMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call

UpdateEgressACLOps indicates an expected call of UpdateEgressACLOps.

func (*MockACLMockRecorder) UpdateIngressACLOps added in v1.12.1

func (mr *MockACLMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call

UpdateIngressACLOps indicates an expected call of UpdateIngressACLOps.

func (*MockACLMockRecorder) UpdateLogicalSwitchACL added in v1.12.1

func (mr *MockACLMockRecorder) UpdateLogicalSwitchACL(lsName, subnetAcls any) *gomock.Call

UpdateLogicalSwitchACL indicates an expected call of UpdateLogicalSwitchACL.

func (*MockACLMockRecorder) UpdateSgACL added in v1.12.1

func (mr *MockACLMockRecorder) UpdateSgACL(sg, direction any) *gomock.Call

UpdateSgACL indicates an expected call of UpdateSgACL.

type MockAddressSet

type MockAddressSet struct {
	// contains filtered or unexported fields
}

MockAddressSet is a mock of AddressSet interface.

func NewMockAddressSet

func NewMockAddressSet(ctrl *gomock.Controller) *MockAddressSet

NewMockAddressSet creates a new mock instance.

func (*MockAddressSet) AddressSetUpdateAddress

func (m *MockAddressSet) AddressSetUpdateAddress(asName string, addresses ...string) error

AddressSetUpdateAddress mocks base method.

func (*MockAddressSet) CreateAddressSet

func (m *MockAddressSet) CreateAddressSet(asName string, externalIDs map[string]string) error

CreateAddressSet mocks base method.

func (*MockAddressSet) DeleteAddressSet

func (m *MockAddressSet) DeleteAddressSet(asName string) error

DeleteAddressSet mocks base method.

func (*MockAddressSet) DeleteAddressSets

func (m *MockAddressSet) DeleteAddressSets(externalIDs map[string]string) error

DeleteAddressSets mocks base method.

func (*MockAddressSet) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAddressSet) ListAddressSets

func (m *MockAddressSet) ListAddressSets(externalIDs map[string]string) ([]ovnnb.AddressSet, error)

ListAddressSets mocks base method.

type MockAddressSetMockRecorder

type MockAddressSetMockRecorder struct {
	// contains filtered or unexported fields
}

MockAddressSetMockRecorder is the mock recorder for MockAddressSet.

func (*MockAddressSetMockRecorder) AddressSetUpdateAddress

func (mr *MockAddressSetMockRecorder) AddressSetUpdateAddress(asName any, addresses ...any) *gomock.Call

AddressSetUpdateAddress indicates an expected call of AddressSetUpdateAddress.

func (*MockAddressSetMockRecorder) CreateAddressSet

func (mr *MockAddressSetMockRecorder) CreateAddressSet(asName, externalIDs any) *gomock.Call

CreateAddressSet indicates an expected call of CreateAddressSet.

func (*MockAddressSetMockRecorder) DeleteAddressSet

func (mr *MockAddressSetMockRecorder) DeleteAddressSet(asName any) *gomock.Call

DeleteAddressSet indicates an expected call of DeleteAddressSet.

func (*MockAddressSetMockRecorder) DeleteAddressSets

func (mr *MockAddressSetMockRecorder) DeleteAddressSets(externalIDs any) *gomock.Call

DeleteAddressSets indicates an expected call of DeleteAddressSets.

func (*MockAddressSetMockRecorder) ListAddressSets

func (mr *MockAddressSetMockRecorder) ListAddressSets(externalIDs any) *gomock.Call

ListAddressSets indicates an expected call of ListAddressSets.

type MockBFD

type MockBFD struct {
	// contains filtered or unexported fields
}

MockBFD is a mock of BFD interface.

func NewMockBFD

func NewMockBFD(ctrl *gomock.Controller) *MockBFD

NewMockBFD creates a new mock instance.

func (*MockBFD) CreateBFD

func (m *MockBFD) CreateBFD(lrpName, dstIP string, minRx, minTx, detectMult int) (*ovnnb.BFD, error)

CreateBFD mocks base method.

func (*MockBFD) DeleteBFD

func (m *MockBFD) DeleteBFD(lrpName, dstIP string) error

DeleteBFD mocks base method.

func (*MockBFD) EXPECT

func (m *MockBFD) EXPECT() *MockBFDMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockBFDMockRecorder

type MockBFDMockRecorder struct {
	// contains filtered or unexported fields
}

MockBFDMockRecorder is the mock recorder for MockBFD.

func (*MockBFDMockRecorder) CreateBFD

func (mr *MockBFDMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult any) *gomock.Call

CreateBFD indicates an expected call of CreateBFD.

func (*MockBFDMockRecorder) DeleteBFD

func (mr *MockBFDMockRecorder) DeleteBFD(lrpName, dstIP any) *gomock.Call

DeleteBFD indicates an expected call of DeleteBFD.

type MockChassis added in v1.12.1

type MockChassis struct {
	// contains filtered or unexported fields
}

MockChassis is a mock of Chassis interface.

func NewMockChassis added in v1.12.1

func NewMockChassis(ctrl *gomock.Controller) *MockChassis

NewMockChassis creates a new mock instance.

func (*MockChassis) DeleteChassis added in v1.12.1

func (m *MockChassis) DeleteChassis(chassisName string) error

DeleteChassis mocks base method.

func (*MockChassis) DeleteChassisByHost added in v1.12.1

func (m *MockChassis) DeleteChassisByHost(node string) error

DeleteChassisByHost mocks base method.

func (*MockChassis) EXPECT added in v1.12.1

func (m *MockChassis) EXPECT() *MockChassisMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChassis) GetAllChassisByHost added in v1.12.1

func (m *MockChassis) GetAllChassisByHost(nodeName string) (*[]ovnsb.Chassis, error)

GetAllChassisByHost mocks base method.

func (*MockChassis) GetChassis added in v1.12.1

func (m *MockChassis) GetChassis(chassisName string, ignoreNotFound bool) (*ovnsb.Chassis, error)

GetChassis mocks base method.

func (*MockChassis) GetChassisByHost added in v1.12.1

func (m *MockChassis) GetChassisByHost(nodeName string) (*ovnsb.Chassis, error)

GetChassisByHost mocks base method.

func (*MockChassis) GetKubeOvnChassisses added in v1.12.1

func (m *MockChassis) GetKubeOvnChassisses() (*[]ovnsb.Chassis, error)

GetKubeOvnChassisses mocks base method.

func (*MockChassis) ListChassis added in v1.12.1

func (m *MockChassis) ListChassis() (*[]ovnsb.Chassis, error)

ListChassis mocks base method.

func (*MockChassis) UpdateChassis added in v1.12.1

func (m *MockChassis) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) error

UpdateChassis mocks base method.

func (*MockChassis) UpdateChassisTag added in v1.12.1

func (m *MockChassis) UpdateChassisTag(chassisName, nodeName string) error

UpdateChassisTag mocks base method.

type MockChassisMockRecorder added in v1.12.1

type MockChassisMockRecorder struct {
	// contains filtered or unexported fields
}

MockChassisMockRecorder is the mock recorder for MockChassis.

func (*MockChassisMockRecorder) DeleteChassis added in v1.12.1

func (mr *MockChassisMockRecorder) DeleteChassis(chassisName any) *gomock.Call

DeleteChassis indicates an expected call of DeleteChassis.

func (*MockChassisMockRecorder) DeleteChassisByHost added in v1.12.1

func (mr *MockChassisMockRecorder) DeleteChassisByHost(node any) *gomock.Call

DeleteChassisByHost indicates an expected call of DeleteChassisByHost.

func (*MockChassisMockRecorder) GetAllChassisByHost added in v1.12.1

func (mr *MockChassisMockRecorder) GetAllChassisByHost(nodeName any) *gomock.Call

GetAllChassisByHost indicates an expected call of GetAllChassisByHost.

func (*MockChassisMockRecorder) GetChassis added in v1.12.1

func (mr *MockChassisMockRecorder) GetChassis(chassisName, ignoreNotFound any) *gomock.Call

GetChassis indicates an expected call of GetChassis.

func (*MockChassisMockRecorder) GetChassisByHost added in v1.12.1

func (mr *MockChassisMockRecorder) GetChassisByHost(nodeName any) *gomock.Call

GetChassisByHost indicates an expected call of GetChassisByHost.

func (*MockChassisMockRecorder) GetKubeOvnChassisses added in v1.12.1

func (mr *MockChassisMockRecorder) GetKubeOvnChassisses() *gomock.Call

GetKubeOvnChassisses indicates an expected call of GetKubeOvnChassisses.

func (*MockChassisMockRecorder) ListChassis added in v1.12.1

func (mr *MockChassisMockRecorder) ListChassis() *gomock.Call

ListChassis indicates an expected call of ListChassis.

func (*MockChassisMockRecorder) UpdateChassis added in v1.12.1

func (mr *MockChassisMockRecorder) UpdateChassis(chassis any, fields ...any) *gomock.Call

UpdateChassis indicates an expected call of UpdateChassis.

func (*MockChassisMockRecorder) UpdateChassisTag added in v1.12.1

func (mr *MockChassisMockRecorder) UpdateChassisTag(chassisName, nodeName any) *gomock.Call

UpdateChassisTag indicates an expected call of UpdateChassisTag.

type MockCommon added in v1.12.1

type MockCommon struct {
	// contains filtered or unexported fields
}

MockCommon is a mock of Common interface.

func NewMockCommon added in v1.12.1

func NewMockCommon(ctrl *gomock.Controller) *MockCommon

NewMockCommon creates a new mock instance.

func (*MockCommon) EXPECT added in v1.12.1

func (m *MockCommon) EXPECT() *MockCommonMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCommon) GetEntityInfo added in v1.12.1

func (m *MockCommon) GetEntityInfo(entity any) error

GetEntityInfo mocks base method.

func (*MockCommon) Transact added in v1.12.1

func (m *MockCommon) Transact(method string, operations []ovsdb.Operation) error

Transact mocks base method.

type MockCommonMockRecorder added in v1.12.1

type MockCommonMockRecorder struct {
	// contains filtered or unexported fields
}

MockCommonMockRecorder is the mock recorder for MockCommon.

func (*MockCommonMockRecorder) GetEntityInfo added in v1.12.1

func (mr *MockCommonMockRecorder) GetEntityInfo(entity any) *gomock.Call

GetEntityInfo indicates an expected call of GetEntityInfo.

func (*MockCommonMockRecorder) Transact added in v1.12.1

func (mr *MockCommonMockRecorder) Transact(method, operations any) *gomock.Call

Transact indicates an expected call of Transact.

type MockDHCPOptions

type MockDHCPOptions struct {
	// contains filtered or unexported fields
}

MockDHCPOptions is a mock of DHCPOptions interface.

func NewMockDHCPOptions

func NewMockDHCPOptions(ctrl *gomock.Controller) *MockDHCPOptions

NewMockDHCPOptions creates a new mock instance.

func (*MockDHCPOptions) DeleteDHCPOptions

func (m *MockDHCPOptions) DeleteDHCPOptions(lsName, protocol string) error

DeleteDHCPOptions mocks base method.

func (*MockDHCPOptions) DeleteDHCPOptionsByUUIDs

func (m *MockDHCPOptions) DeleteDHCPOptionsByUUIDs(uuidList ...string) error

DeleteDHCPOptionsByUUIDs mocks base method.

func (*MockDHCPOptions) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDHCPOptions) ListDHCPOptions

func (m *MockDHCPOptions) ListDHCPOptions(needVendorFilter bool, externalIDs map[string]string) ([]ovnnb.DHCPOptions, error)

ListDHCPOptions mocks base method.

func (*MockDHCPOptions) UpdateDHCPOptions

func (m *MockDHCPOptions) UpdateDHCPOptions(subnet *v1.Subnet, mtu int) (*ovs.DHCPOptionsUUIDs, error)

UpdateDHCPOptions mocks base method.

type MockDHCPOptionsMockRecorder

type MockDHCPOptionsMockRecorder struct {
	// contains filtered or unexported fields
}

MockDHCPOptionsMockRecorder is the mock recorder for MockDHCPOptions.

func (*MockDHCPOptionsMockRecorder) DeleteDHCPOptions

func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptions(lsName, protocol any) *gomock.Call

DeleteDHCPOptions indicates an expected call of DeleteDHCPOptions.

func (*MockDHCPOptionsMockRecorder) DeleteDHCPOptionsByUUIDs

func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...any) *gomock.Call

DeleteDHCPOptionsByUUIDs indicates an expected call of DeleteDHCPOptionsByUUIDs.

func (*MockDHCPOptionsMockRecorder) ListDHCPOptions

func (mr *MockDHCPOptionsMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs any) *gomock.Call

ListDHCPOptions indicates an expected call of ListDHCPOptions.

func (*MockDHCPOptionsMockRecorder) UpdateDHCPOptions

func (mr *MockDHCPOptionsMockRecorder) UpdateDHCPOptions(subnet, mtu any) *gomock.Call

UpdateDHCPOptions indicates an expected call of UpdateDHCPOptions.

type MockLoadBalancer

type MockLoadBalancer struct {
	// contains filtered or unexported fields
}

MockLoadBalancer is a mock of LoadBalancer interface.

func NewMockLoadBalancer

func NewMockLoadBalancer(ctrl *gomock.Controller) *MockLoadBalancer

NewMockLoadBalancer creates a new mock instance.

func (*MockLoadBalancer) CreateLoadBalancer

func (m *MockLoadBalancer) CreateLoadBalancer(lbName, protocol, selectFields string) error

CreateLoadBalancer mocks base method.

func (*MockLoadBalancer) DeleteLoadBalancers

func (m *MockLoadBalancer) DeleteLoadBalancers(filter func(*ovnnb.LoadBalancer) bool) error

DeleteLoadBalancers mocks base method.

func (*MockLoadBalancer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLoadBalancer) GetLoadBalancer

func (m *MockLoadBalancer) GetLoadBalancer(lbName string, ignoreNotFound bool) (*ovnnb.LoadBalancer, error)

GetLoadBalancer mocks base method.

func (*MockLoadBalancer) ListLoadBalancers

func (m *MockLoadBalancer) ListLoadBalancers(filter func(*ovnnb.LoadBalancer) bool) ([]ovnnb.LoadBalancer, error)

ListLoadBalancers mocks base method.

func (*MockLoadBalancer) LoadBalancerAddHealthCheck added in v1.12.2

func (m *MockLoadBalancer) LoadBalancerAddHealthCheck(lbName, vip string, ignoreHealthCheck bool, ipPortMapping, externals map[string]string) error

LoadBalancerAddHealthCheck mocks base method.

func (*MockLoadBalancer) LoadBalancerAddIPPortMapping added in v1.12.2

func (m *MockLoadBalancer) LoadBalancerAddIPPortMapping(lbName, vip string, ipPortMappings map[string]string) error

LoadBalancerAddIPPortMapping mocks base method.

func (*MockLoadBalancer) LoadBalancerAddVip

func (m *MockLoadBalancer) LoadBalancerAddVip(lbName, vip string, backends ...string) error

LoadBalancerAddVip mocks base method.

func (*MockLoadBalancer) LoadBalancerDeleteHealthCheck added in v1.12.2

func (m *MockLoadBalancer) LoadBalancerDeleteHealthCheck(lbName, uuid string) error

LoadBalancerDeleteHealthCheck mocks base method.

func (*MockLoadBalancer) LoadBalancerDeleteIPPortMapping added in v1.12.2

func (m *MockLoadBalancer) LoadBalancerDeleteIPPortMapping(lbName, vip string) error

LoadBalancerDeleteIPPortMapping mocks base method.

func (*MockLoadBalancer) LoadBalancerDeleteVip

func (m *MockLoadBalancer) LoadBalancerDeleteVip(lbName, vip string, ignoreHealthCheck bool) error

LoadBalancerDeleteVip mocks base method.

func (*MockLoadBalancer) LoadBalancerExists

func (m *MockLoadBalancer) LoadBalancerExists(lbName string) (bool, error)

LoadBalancerExists mocks base method.

func (*MockLoadBalancer) LoadBalancerUpdateIPPortMapping added in v1.12.2

func (m *MockLoadBalancer) LoadBalancerUpdateIPPortMapping(lbName, vip string, ipPortMappings map[string]string) error

LoadBalancerUpdateIPPortMapping mocks base method.

func (*MockLoadBalancer) SetLoadBalancerAffinityTimeout

func (m *MockLoadBalancer) SetLoadBalancerAffinityTimeout(lbName string, timeout int) error

SetLoadBalancerAffinityTimeout mocks base method.

type MockLoadBalancerHealthCheck added in v1.12.2

type MockLoadBalancerHealthCheck struct {
	// contains filtered or unexported fields
}

MockLoadBalancerHealthCheck is a mock of LoadBalancerHealthCheck interface.

func NewMockLoadBalancerHealthCheck added in v1.12.2

func NewMockLoadBalancerHealthCheck(ctrl *gomock.Controller) *MockLoadBalancerHealthCheck

NewMockLoadBalancerHealthCheck creates a new mock instance.

func (*MockLoadBalancerHealthCheck) AddLoadBalancerHealthCheck added in v1.12.2

func (m *MockLoadBalancerHealthCheck) AddLoadBalancerHealthCheck(lbName, vip string, externals map[string]string) error

AddLoadBalancerHealthCheck mocks base method.

func (*MockLoadBalancerHealthCheck) CreateLoadBalancerHealthCheck added in v1.12.2

func (m *MockLoadBalancerHealthCheck) CreateLoadBalancerHealthCheck(lbName, vip string, lbhc *ovnnb.LoadBalancerHealthCheck) error

CreateLoadBalancerHealthCheck mocks base method.

func (*MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthCheck added in v1.12.2

func (m *MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthCheck(lbName, vip string) error

DeleteLoadBalancerHealthCheck mocks base method.

func (*MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthChecks added in v1.12.2

func (m *MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthChecks(filter func(*ovnnb.LoadBalancerHealthCheck) bool) error

DeleteLoadBalancerHealthChecks mocks base method.

func (*MockLoadBalancerHealthCheck) EXPECT added in v1.12.2

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLoadBalancerHealthCheck) GetLoadBalancerHealthCheck added in v1.12.2

func (m *MockLoadBalancerHealthCheck) GetLoadBalancerHealthCheck(lbName, vip string, ignoreNotFound bool) (*ovnnb.LoadBalancer, *ovnnb.LoadBalancerHealthCheck, error)

GetLoadBalancerHealthCheck mocks base method.

func (*MockLoadBalancerHealthCheck) ListLoadBalancerHealthChecks added in v1.12.2

func (m *MockLoadBalancerHealthCheck) ListLoadBalancerHealthChecks(filter func(*ovnnb.LoadBalancerHealthCheck) bool) ([]ovnnb.LoadBalancerHealthCheck, error)

ListLoadBalancerHealthChecks mocks base method.

func (*MockLoadBalancerHealthCheck) LoadBalancerHealthCheckExists added in v1.12.2

func (m *MockLoadBalancerHealthCheck) LoadBalancerHealthCheckExists(lbName, vip string) (bool, error)

LoadBalancerHealthCheckExists mocks base method.

type MockLoadBalancerHealthCheckMockRecorder added in v1.12.2

type MockLoadBalancerHealthCheckMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoadBalancerHealthCheckMockRecorder is the mock recorder for MockLoadBalancerHealthCheck.

func (*MockLoadBalancerHealthCheckMockRecorder) AddLoadBalancerHealthCheck added in v1.12.2

func (mr *MockLoadBalancerHealthCheckMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals any) *gomock.Call

AddLoadBalancerHealthCheck indicates an expected call of AddLoadBalancerHealthCheck.

func (*MockLoadBalancerHealthCheckMockRecorder) CreateLoadBalancerHealthCheck added in v1.12.2

func (mr *MockLoadBalancerHealthCheckMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc any) *gomock.Call

CreateLoadBalancerHealthCheck indicates an expected call of CreateLoadBalancerHealthCheck.

func (*MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthCheck added in v1.12.2

func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip any) *gomock.Call

DeleteLoadBalancerHealthCheck indicates an expected call of DeleteLoadBalancerHealthCheck.

func (*MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthChecks added in v1.12.2

func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthChecks(filter any) *gomock.Call

DeleteLoadBalancerHealthChecks indicates an expected call of DeleteLoadBalancerHealthChecks.

func (*MockLoadBalancerHealthCheckMockRecorder) GetLoadBalancerHealthCheck added in v1.12.2

func (mr *MockLoadBalancerHealthCheckMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound any) *gomock.Call

GetLoadBalancerHealthCheck indicates an expected call of GetLoadBalancerHealthCheck.

func (*MockLoadBalancerHealthCheckMockRecorder) ListLoadBalancerHealthChecks added in v1.12.2

func (mr *MockLoadBalancerHealthCheckMockRecorder) ListLoadBalancerHealthChecks(filter any) *gomock.Call

ListLoadBalancerHealthChecks indicates an expected call of ListLoadBalancerHealthChecks.

func (*MockLoadBalancerHealthCheckMockRecorder) LoadBalancerHealthCheckExists added in v1.12.2

func (mr *MockLoadBalancerHealthCheckMockRecorder) LoadBalancerHealthCheckExists(lbName, vip any) *gomock.Call

LoadBalancerHealthCheckExists indicates an expected call of LoadBalancerHealthCheckExists.

type MockLoadBalancerMockRecorder

type MockLoadBalancerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoadBalancerMockRecorder is the mock recorder for MockLoadBalancer.

func (*MockLoadBalancerMockRecorder) CreateLoadBalancer

func (mr *MockLoadBalancerMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields any) *gomock.Call

CreateLoadBalancer indicates an expected call of CreateLoadBalancer.

func (*MockLoadBalancerMockRecorder) DeleteLoadBalancers

func (mr *MockLoadBalancerMockRecorder) DeleteLoadBalancers(filter any) *gomock.Call

DeleteLoadBalancers indicates an expected call of DeleteLoadBalancers.

func (*MockLoadBalancerMockRecorder) GetLoadBalancer

func (mr *MockLoadBalancerMockRecorder) GetLoadBalancer(lbName, ignoreNotFound any) *gomock.Call

GetLoadBalancer indicates an expected call of GetLoadBalancer.

func (*MockLoadBalancerMockRecorder) ListLoadBalancers

func (mr *MockLoadBalancerMockRecorder) ListLoadBalancers(filter any) *gomock.Call

ListLoadBalancers indicates an expected call of ListLoadBalancers.

func (*MockLoadBalancerMockRecorder) LoadBalancerAddHealthCheck added in v1.12.2

func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals any) *gomock.Call

LoadBalancerAddHealthCheck indicates an expected call of LoadBalancerAddHealthCheck.

func (*MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping added in v1.12.2

func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call

LoadBalancerAddIPPortMapping indicates an expected call of LoadBalancerAddIPPortMapping.

func (*MockLoadBalancerMockRecorder) LoadBalancerAddVip

func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddVip(lbName, vip any, backends ...any) *gomock.Call

LoadBalancerAddVip indicates an expected call of LoadBalancerAddVip.

func (*MockLoadBalancerMockRecorder) LoadBalancerDeleteHealthCheck added in v1.12.2

func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid any) *gomock.Call

LoadBalancerDeleteHealthCheck indicates an expected call of LoadBalancerDeleteHealthCheck.

func (*MockLoadBalancerMockRecorder) LoadBalancerDeleteIPPortMapping added in v1.12.2

func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip any) *gomock.Call

LoadBalancerDeleteIPPortMapping indicates an expected call of LoadBalancerDeleteIPPortMapping.

func (*MockLoadBalancerMockRecorder) LoadBalancerDeleteVip

func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck any) *gomock.Call

LoadBalancerDeleteVip indicates an expected call of LoadBalancerDeleteVip.

func (*MockLoadBalancerMockRecorder) LoadBalancerExists

func (mr *MockLoadBalancerMockRecorder) LoadBalancerExists(lbName any) *gomock.Call

LoadBalancerExists indicates an expected call of LoadBalancerExists.

func (*MockLoadBalancerMockRecorder) LoadBalancerUpdateIPPortMapping added in v1.12.2

func (mr *MockLoadBalancerMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call

LoadBalancerUpdateIPPortMapping indicates an expected call of LoadBalancerUpdateIPPortMapping.

func (*MockLoadBalancerMockRecorder) SetLoadBalancerAffinityTimeout

func (mr *MockLoadBalancerMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout any) *gomock.Call

SetLoadBalancerAffinityTimeout indicates an expected call of SetLoadBalancerAffinityTimeout.

type MockLogicalRouter

type MockLogicalRouter struct {
	// contains filtered or unexported fields
}

MockLogicalRouter is a mock of LogicalRouter interface.

func NewMockLogicalRouter

func NewMockLogicalRouter(ctrl *gomock.Controller) *MockLogicalRouter

NewMockLogicalRouter creates a new mock instance.

func (*MockLogicalRouter) CreateLogicalRouter

func (m *MockLogicalRouter) CreateLogicalRouter(lrName string) error

CreateLogicalRouter mocks base method.

func (*MockLogicalRouter) DeleteLogicalRouter

func (m *MockLogicalRouter) DeleteLogicalRouter(lrName string) error

DeleteLogicalRouter mocks base method.

func (*MockLogicalRouter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogicalRouter) GetLogicalRouter

func (m *MockLogicalRouter) GetLogicalRouter(lrName string, ignoreNotFound bool) (*ovnnb.LogicalRouter, error)

GetLogicalRouter mocks base method.

func (*MockLogicalRouter) ListLogicalRouter

func (m *MockLogicalRouter) ListLogicalRouter(needVendorFilter bool, filter func(*ovnnb.LogicalRouter) bool) ([]ovnnb.LogicalRouter, error)

ListLogicalRouter mocks base method.

func (*MockLogicalRouter) LogicalRouterExists

func (m *MockLogicalRouter) LogicalRouterExists(name string) (bool, error)

LogicalRouterExists mocks base method.

func (*MockLogicalRouter) LogicalRouterUpdateLoadBalancers

func (m *MockLogicalRouter) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb.Mutator, lbNames ...string) error

LogicalRouterUpdateLoadBalancers mocks base method.

type MockLogicalRouterMockRecorder

type MockLogicalRouterMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicalRouterMockRecorder is the mock recorder for MockLogicalRouter.

func (*MockLogicalRouterMockRecorder) CreateLogicalRouter

func (mr *MockLogicalRouterMockRecorder) CreateLogicalRouter(lrName any) *gomock.Call

CreateLogicalRouter indicates an expected call of CreateLogicalRouter.

func (*MockLogicalRouterMockRecorder) DeleteLogicalRouter

func (mr *MockLogicalRouterMockRecorder) DeleteLogicalRouter(lrName any) *gomock.Call

DeleteLogicalRouter indicates an expected call of DeleteLogicalRouter.

func (*MockLogicalRouterMockRecorder) GetLogicalRouter

func (mr *MockLogicalRouterMockRecorder) GetLogicalRouter(lrName, ignoreNotFound any) *gomock.Call

GetLogicalRouter indicates an expected call of GetLogicalRouter.

func (*MockLogicalRouterMockRecorder) ListLogicalRouter

func (mr *MockLogicalRouterMockRecorder) ListLogicalRouter(needVendorFilter, filter any) *gomock.Call

ListLogicalRouter indicates an expected call of ListLogicalRouter.

func (*MockLogicalRouterMockRecorder) LogicalRouterExists

func (mr *MockLogicalRouterMockRecorder) LogicalRouterExists(name any) *gomock.Call

LogicalRouterExists indicates an expected call of LogicalRouterExists.

func (*MockLogicalRouterMockRecorder) LogicalRouterUpdateLoadBalancers

func (mr *MockLogicalRouterMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op any, lbNames ...any) *gomock.Call

LogicalRouterUpdateLoadBalancers indicates an expected call of LogicalRouterUpdateLoadBalancers.

type MockLogicalRouterPolicy

type MockLogicalRouterPolicy struct {
	// contains filtered or unexported fields
}

MockLogicalRouterPolicy is a mock of LogicalRouterPolicy interface.

func NewMockLogicalRouterPolicy

func NewMockLogicalRouterPolicy(ctrl *gomock.Controller) *MockLogicalRouterPolicy

NewMockLogicalRouterPolicy creates a new mock instance.

func (*MockLogicalRouterPolicy) AddLogicalRouterPolicy

func (m *MockLogicalRouterPolicy) AddLogicalRouterPolicy(lrName string, priority int, match, action string, nextHops []string, externalIDs map[string]string) error

AddLogicalRouterPolicy mocks base method.

func (*MockLogicalRouterPolicy) ClearLogicalRouterPolicy

func (m *MockLogicalRouterPolicy) ClearLogicalRouterPolicy(lrName string) error

ClearLogicalRouterPolicy mocks base method.

func (*MockLogicalRouterPolicy) DeleteLogicalRouterPolicies

func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicies(lrName string, priority int, externalIDs map[string]string) error

DeleteLogicalRouterPolicies mocks base method.

func (*MockLogicalRouterPolicy) DeleteLogicalRouterPolicy

func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicy(lrName string, priority int, match string) error

DeleteLogicalRouterPolicy mocks base method.

func (*MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByNexthop

func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByNexthop(lrName string, priority int, nexthop string) error

DeleteLogicalRouterPolicyByNexthop mocks base method.

func (*MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByUUID

func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByUUID(lrName, uuid string) error

DeleteLogicalRouterPolicyByUUID mocks base method.

func (*MockLogicalRouterPolicy) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogicalRouterPolicy) GetLogicalRouterPoliciesByExtID added in v1.12.4

func (m *MockLogicalRouterPolicy) GetLogicalRouterPoliciesByExtID(lrName, key, value string) ([]*ovnnb.LogicalRouterPolicy, error)

GetLogicalRouterPoliciesByExtID mocks base method.

func (*MockLogicalRouterPolicy) GetLogicalRouterPolicy

func (m *MockLogicalRouterPolicy) GetLogicalRouterPolicy(lrName string, priority int, match string, ignoreNotFound bool) ([]*ovnnb.LogicalRouterPolicy, error)

GetLogicalRouterPolicy mocks base method.

func (*MockLogicalRouterPolicy) ListLogicalRouterPolicies

func (m *MockLogicalRouterPolicy) ListLogicalRouterPolicies(lrName string, priority int, externalIDs map[string]string, ignoreExtIDEmptyValue bool) ([]*ovnnb.LogicalRouterPolicy, error)

ListLogicalRouterPolicies mocks base method.

type MockLogicalRouterPolicyMockRecorder

type MockLogicalRouterPolicyMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicalRouterPolicyMockRecorder is the mock recorder for MockLogicalRouterPolicy.

func (*MockLogicalRouterPolicyMockRecorder) AddLogicalRouterPolicy

func (mr *MockLogicalRouterPolicyMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs any) *gomock.Call

AddLogicalRouterPolicy indicates an expected call of AddLogicalRouterPolicy.

func (*MockLogicalRouterPolicyMockRecorder) ClearLogicalRouterPolicy

func (mr *MockLogicalRouterPolicyMockRecorder) ClearLogicalRouterPolicy(lrName any) *gomock.Call

ClearLogicalRouterPolicy indicates an expected call of ClearLogicalRouterPolicy.

func (*MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicies

func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs any) *gomock.Call

DeleteLogicalRouterPolicies indicates an expected call of DeleteLogicalRouterPolicies.

func (*MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicy

func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match any) *gomock.Call

DeleteLogicalRouterPolicy indicates an expected call of DeleteLogicalRouterPolicy.

func (*MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByNexthop

func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop any) *gomock.Call

DeleteLogicalRouterPolicyByNexthop indicates an expected call of DeleteLogicalRouterPolicyByNexthop.

func (*MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByUUID

func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid any) *gomock.Call

DeleteLogicalRouterPolicyByUUID indicates an expected call of DeleteLogicalRouterPolicyByUUID.

func (*MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPoliciesByExtID added in v1.12.4

func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value any) *gomock.Call

GetLogicalRouterPoliciesByExtID indicates an expected call of GetLogicalRouterPoliciesByExtID.

func (*MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPolicy

func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound any) *gomock.Call

GetLogicalRouterPolicy indicates an expected call of GetLogicalRouterPolicy.

func (*MockLogicalRouterPolicyMockRecorder) ListLogicalRouterPolicies

func (mr *MockLogicalRouterPolicyMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue any) *gomock.Call

ListLogicalRouterPolicies indicates an expected call of ListLogicalRouterPolicies.

type MockLogicalRouterPort

type MockLogicalRouterPort struct {
	// contains filtered or unexported fields
}

MockLogicalRouterPort is a mock of LogicalRouterPort interface.

func NewMockLogicalRouterPort

func NewMockLogicalRouterPort(ctrl *gomock.Controller) *MockLogicalRouterPort

NewMockLogicalRouterPort creates a new mock instance.

func (*MockLogicalRouterPort) CreateLogicalRouterPort

func (m *MockLogicalRouterPort) CreateLogicalRouterPort(lrName, lrpName, mac string, networks []string) error

CreateLogicalRouterPort mocks base method.

func (*MockLogicalRouterPort) CreatePeerRouterPort

func (m *MockLogicalRouterPort) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP string) error

CreatePeerRouterPort mocks base method.

func (*MockLogicalRouterPort) DeleteLogicalRouterPort

func (m *MockLogicalRouterPort) DeleteLogicalRouterPort(lrpName string) error

DeleteLogicalRouterPort mocks base method.

func (*MockLogicalRouterPort) DeleteLogicalRouterPorts

func (m *MockLogicalRouterPort) DeleteLogicalRouterPorts(externalIDs map[string]string, filter func(*ovnnb.LogicalRouterPort) bool) error

DeleteLogicalRouterPorts mocks base method.

func (*MockLogicalRouterPort) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogicalRouterPort) GetLogicalRouterPort

func (m *MockLogicalRouterPort) GetLogicalRouterPort(lrpName string, ignoreNotFound bool) (*ovnnb.LogicalRouterPort, error)

GetLogicalRouterPort mocks base method.

func (*MockLogicalRouterPort) GetLogicalRouterPortByUUID

func (m *MockLogicalRouterPort) GetLogicalRouterPortByUUID(uuid string) (*ovnnb.LogicalRouterPort, error)

GetLogicalRouterPortByUUID mocks base method.

func (*MockLogicalRouterPort) ListLogicalRouterPorts

func (m *MockLogicalRouterPort) ListLogicalRouterPorts(externalIDs map[string]string, filter func(*ovnnb.LogicalRouterPort) bool) ([]ovnnb.LogicalRouterPort, error)

ListLogicalRouterPorts mocks base method.

func (*MockLogicalRouterPort) LogicalRouterPortExists

func (m *MockLogicalRouterPort) LogicalRouterPortExists(lrpName string) (bool, error)

LogicalRouterPortExists mocks base method.

func (*MockLogicalRouterPort) UpdateLogicalRouterPortOptions

func (m *MockLogicalRouterPort) UpdateLogicalRouterPortOptions(lrpName string, options map[string]string) error

UpdateLogicalRouterPortOptions mocks base method.

func (*MockLogicalRouterPort) UpdateLogicalRouterPortRA

func (m *MockLogicalRouterPort) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr string, enableIPv6RA bool) error

UpdateLogicalRouterPortRA mocks base method.

type MockLogicalRouterPortMockRecorder

type MockLogicalRouterPortMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicalRouterPortMockRecorder is the mock recorder for MockLogicalRouterPort.

func (*MockLogicalRouterPortMockRecorder) CreateLogicalRouterPort

func (mr *MockLogicalRouterPortMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks any) *gomock.Call

CreateLogicalRouterPort indicates an expected call of CreateLogicalRouterPort.

func (*MockLogicalRouterPortMockRecorder) CreatePeerRouterPort

func (mr *MockLogicalRouterPortMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP any) *gomock.Call

CreatePeerRouterPort indicates an expected call of CreatePeerRouterPort.

func (*MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPort

func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPort(lrpName any) *gomock.Call

DeleteLogicalRouterPort indicates an expected call of DeleteLogicalRouterPort.

func (*MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPorts

func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter any) *gomock.Call

DeleteLogicalRouterPorts indicates an expected call of DeleteLogicalRouterPorts.

func (*MockLogicalRouterPortMockRecorder) GetLogicalRouterPort

func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call

GetLogicalRouterPort indicates an expected call of GetLogicalRouterPort.

func (*MockLogicalRouterPortMockRecorder) GetLogicalRouterPortByUUID

func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPortByUUID(uuid any) *gomock.Call

GetLogicalRouterPortByUUID indicates an expected call of GetLogicalRouterPortByUUID.

func (*MockLogicalRouterPortMockRecorder) ListLogicalRouterPorts

func (mr *MockLogicalRouterPortMockRecorder) ListLogicalRouterPorts(externalIDs, filter any) *gomock.Call

ListLogicalRouterPorts indicates an expected call of ListLogicalRouterPorts.

func (*MockLogicalRouterPortMockRecorder) LogicalRouterPortExists

func (mr *MockLogicalRouterPortMockRecorder) LogicalRouterPortExists(lrpName any) *gomock.Call

LogicalRouterPortExists indicates an expected call of LogicalRouterPortExists.

func (*MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortOptions

func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options any) *gomock.Call

UpdateLogicalRouterPortOptions indicates an expected call of UpdateLogicalRouterPortOptions.

func (*MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortRA

func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA any) *gomock.Call

UpdateLogicalRouterPortRA indicates an expected call of UpdateLogicalRouterPortRA.

type MockLogicalRouterStaticRoute

type MockLogicalRouterStaticRoute struct {
	// contains filtered or unexported fields
}

MockLogicalRouterStaticRoute is a mock of LogicalRouterStaticRoute interface.

func NewMockLogicalRouterStaticRoute

func NewMockLogicalRouterStaticRoute(ctrl *gomock.Controller) *MockLogicalRouterStaticRoute

NewMockLogicalRouterStaticRoute creates a new mock instance.

func (*MockLogicalRouterStaticRoute) AddLogicalRouterStaticRoute

func (m *MockLogicalRouterStaticRoute) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix string, bfdID *string, nexthops ...string) error

AddLogicalRouterStaticRoute mocks base method.

func (*MockLogicalRouterStaticRoute) ClearLogicalRouterStaticRoute

func (m *MockLogicalRouterStaticRoute) ClearLogicalRouterStaticRoute(lrName string) error

ClearLogicalRouterStaticRoute mocks base method.

func (*MockLogicalRouterStaticRoute) DeleteLogicalRouterStaticRoute

func (m *MockLogicalRouterStaticRoute) DeleteLogicalRouterStaticRoute(lrName string, routeTable, policy *string, ipPrefix, nextHop string) error

DeleteLogicalRouterStaticRoute mocks base method.

func (*MockLogicalRouterStaticRoute) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutes

func (m *MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutes(lrName string, routeTable, policy *string, ipPrefix string, externalIDs map[string]string) ([]*ovnnb.LogicalRouterStaticRoute, error)

ListLogicalRouterStaticRoutes mocks base method.

func (*MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutesByOption

func (m *MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value string) ([]*ovnnb.LogicalRouterStaticRoute, error)

ListLogicalRouterStaticRoutesByOption mocks base method.

func (*MockLogicalRouterStaticRoute) LogicalRouterStaticRouteExists

func (m *MockLogicalRouterStaticRoute) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop string) (bool, error)

LogicalRouterStaticRouteExists mocks base method.

type MockLogicalRouterStaticRouteMockRecorder

type MockLogicalRouterStaticRouteMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicalRouterStaticRouteMockRecorder is the mock recorder for MockLogicalRouterStaticRoute.

func (*MockLogicalRouterStaticRouteMockRecorder) AddLogicalRouterStaticRoute

func (mr *MockLogicalRouterStaticRouteMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID any, nexthops ...any) *gomock.Call

AddLogicalRouterStaticRoute indicates an expected call of AddLogicalRouterStaticRoute.

func (*MockLogicalRouterStaticRouteMockRecorder) ClearLogicalRouterStaticRoute

func (mr *MockLogicalRouterStaticRouteMockRecorder) ClearLogicalRouterStaticRoute(lrName any) *gomock.Call

ClearLogicalRouterStaticRoute indicates an expected call of ClearLogicalRouterStaticRoute.

func (*MockLogicalRouterStaticRouteMockRecorder) DeleteLogicalRouterStaticRoute

func (mr *MockLogicalRouterStaticRouteMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop any) *gomock.Call

DeleteLogicalRouterStaticRoute indicates an expected call of DeleteLogicalRouterStaticRoute.

func (*MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutes

func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs any) *gomock.Call

ListLogicalRouterStaticRoutes indicates an expected call of ListLogicalRouterStaticRoutes.

func (*MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutesByOption

func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value any) *gomock.Call

ListLogicalRouterStaticRoutesByOption indicates an expected call of ListLogicalRouterStaticRoutesByOption.

func (*MockLogicalRouterStaticRouteMockRecorder) LogicalRouterStaticRouteExists

func (mr *MockLogicalRouterStaticRouteMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop any) *gomock.Call

LogicalRouterStaticRouteExists indicates an expected call of LogicalRouterStaticRouteExists.

type MockLogicalSwitch

type MockLogicalSwitch struct {
	// contains filtered or unexported fields
}

MockLogicalSwitch is a mock of LogicalSwitch interface.

func NewMockLogicalSwitch

func NewMockLogicalSwitch(ctrl *gomock.Controller) *MockLogicalSwitch

NewMockLogicalSwitch creates a new mock instance.

func (*MockLogicalSwitch) CreateBareLogicalSwitch

func (m *MockLogicalSwitch) CreateBareLogicalSwitch(lsName string) error

CreateBareLogicalSwitch mocks base method.

func (*MockLogicalSwitch) CreateLogicalSwitch

func (m *MockLogicalSwitch) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway string, needRouter, randomAllocateGW bool) error

CreateLogicalSwitch mocks base method.

func (*MockLogicalSwitch) DeleteLogicalSwitch

func (m *MockLogicalSwitch) DeleteLogicalSwitch(lsName string) error

DeleteLogicalSwitch mocks base method.

func (*MockLogicalSwitch) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogicalSwitch) ListLogicalSwitch

func (m *MockLogicalSwitch) ListLogicalSwitch(needVendorFilter bool, filter func(*ovnnb.LogicalSwitch) bool) ([]ovnnb.LogicalSwitch, error)

ListLogicalSwitch mocks base method.

func (*MockLogicalSwitch) LogicalSwitchExists

func (m *MockLogicalSwitch) LogicalSwitchExists(lsName string) (bool, error)

LogicalSwitchExists mocks base method.

func (*MockLogicalSwitch) LogicalSwitchUpdateLoadBalancers

func (m *MockLogicalSwitch) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb.Mutator, lbNames ...string) error

LogicalSwitchUpdateLoadBalancers mocks base method.

type MockLogicalSwitchMockRecorder

type MockLogicalSwitchMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicalSwitchMockRecorder is the mock recorder for MockLogicalSwitch.

func (*MockLogicalSwitchMockRecorder) CreateBareLogicalSwitch

func (mr *MockLogicalSwitchMockRecorder) CreateBareLogicalSwitch(lsName any) *gomock.Call

CreateBareLogicalSwitch indicates an expected call of CreateBareLogicalSwitch.

func (*MockLogicalSwitchMockRecorder) CreateLogicalSwitch

func (mr *MockLogicalSwitchMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW any) *gomock.Call

CreateLogicalSwitch indicates an expected call of CreateLogicalSwitch.

func (*MockLogicalSwitchMockRecorder) DeleteLogicalSwitch

func (mr *MockLogicalSwitchMockRecorder) DeleteLogicalSwitch(lsName any) *gomock.Call

DeleteLogicalSwitch indicates an expected call of DeleteLogicalSwitch.

func (*MockLogicalSwitchMockRecorder) ListLogicalSwitch

func (mr *MockLogicalSwitchMockRecorder) ListLogicalSwitch(needVendorFilter, filter any) *gomock.Call

ListLogicalSwitch indicates an expected call of ListLogicalSwitch.

func (*MockLogicalSwitchMockRecorder) LogicalSwitchExists

func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchExists(lsName any) *gomock.Call

LogicalSwitchExists indicates an expected call of LogicalSwitchExists.

func (*MockLogicalSwitchMockRecorder) LogicalSwitchUpdateLoadBalancers

func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op any, lbNames ...any) *gomock.Call

LogicalSwitchUpdateLoadBalancers indicates an expected call of LogicalSwitchUpdateLoadBalancers.

type MockLogicalSwitchPort

type MockLogicalSwitchPort struct {
	// contains filtered or unexported fields
}

MockLogicalSwitchPort is a mock of LogicalSwitchPort interface.

func NewMockLogicalSwitchPort

func NewMockLogicalSwitchPort(ctrl *gomock.Controller) *MockLogicalSwitchPort

NewMockLogicalSwitchPort creates a new mock instance.

func (*MockLogicalSwitchPort) CreateBareLogicalSwitchPort

func (m *MockLogicalSwitchPort) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac string) error

CreateBareLogicalSwitchPort mocks base method.

func (*MockLogicalSwitchPort) CreateLocalnetLogicalSwitchPort

func (m *MockLogicalSwitchPort) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock string, vlanID int) error

CreateLocalnetLogicalSwitchPort mocks base method.

func (*MockLogicalSwitchPort) CreateLogicalSwitchPort

func (m *MockLogicalSwitchPort) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace string, portSecurity bool, securityGroups, vips string, enableDHCP bool, dhcpOptions *ovs.DHCPOptionsUUIDs, vpc string) error

CreateLogicalSwitchPort mocks base method.

func (*MockLogicalSwitchPort) CreateVirtualLogicalSwitchPorts

func (m *MockLogicalSwitchPort) CreateVirtualLogicalSwitchPorts(lsName string, ips ...string) error

CreateVirtualLogicalSwitchPorts mocks base method.

func (*MockLogicalSwitchPort) DeleteLogicalSwitchPort

func (m *MockLogicalSwitchPort) DeleteLogicalSwitchPort(lspName string) error

DeleteLogicalSwitchPort mocks base method.

func (*MockLogicalSwitchPort) DeleteLogicalSwitchPorts added in v1.12.4

func (m *MockLogicalSwitchPort) DeleteLogicalSwitchPorts(externalIDs map[string]string, filter func(*ovnnb.LogicalSwitchPort) bool) error

DeleteLogicalSwitchPorts mocks base method.

func (*MockLogicalSwitchPort) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogicalSwitchPort) EnablePortLayer2forward

func (m *MockLogicalSwitchPort) EnablePortLayer2forward(lspName string) error

EnablePortLayer2forward mocks base method.

func (*MockLogicalSwitchPort) GetLogicalSwitchPort

func (m *MockLogicalSwitchPort) GetLogicalSwitchPort(lspName string, ignoreNotFound bool) (*ovnnb.LogicalSwitchPort, error)

GetLogicalSwitchPort mocks base method.

func (*MockLogicalSwitchPort) ListLogicalSwitchPorts

func (m *MockLogicalSwitchPort) ListLogicalSwitchPorts(needVendorFilter bool, externalIDs map[string]string, filter func(*ovnnb.LogicalSwitchPort) bool) ([]ovnnb.LogicalSwitchPort, error)

ListLogicalSwitchPorts mocks base method.

func (*MockLogicalSwitchPort) ListLogicalSwitchPortsWithLegacyExternalIDs

func (m *MockLogicalSwitchPort) ListLogicalSwitchPortsWithLegacyExternalIDs() ([]ovnnb.LogicalSwitchPort, error)

ListLogicalSwitchPortsWithLegacyExternalIDs mocks base method.

func (*MockLogicalSwitchPort) ListNormalLogicalSwitchPorts

func (m *MockLogicalSwitchPort) ListNormalLogicalSwitchPorts(needVendorFilter bool, externalIDs map[string]string) ([]ovnnb.LogicalSwitchPort, error)

ListNormalLogicalSwitchPorts mocks base method.

func (*MockLogicalSwitchPort) LogicalSwitchPortExists

func (m *MockLogicalSwitchPort) LogicalSwitchPortExists(name string) (bool, error)

LogicalSwitchPortExists mocks base method.

func (*MockLogicalSwitchPort) SetLogicalSwitchPortArpProxy

func (m *MockLogicalSwitchPort) SetLogicalSwitchPortArpProxy(lspName string, enableArpProxy bool) error

SetLogicalSwitchPortArpProxy mocks base method.

func (*MockLogicalSwitchPort) SetLogicalSwitchPortExternalIDs added in v1.12.5

func (m *MockLogicalSwitchPort) SetLogicalSwitchPortExternalIDs(lspName string, externalIDs map[string]string) error

SetLogicalSwitchPortExternalIDs mocks base method.

func (*MockLogicalSwitchPort) SetLogicalSwitchPortSecurity

func (m *MockLogicalSwitchPort) SetLogicalSwitchPortSecurity(portSecurity bool, lspName, mac, ips, vips string) error

SetLogicalSwitchPortSecurity mocks base method.

func (*MockLogicalSwitchPort) SetLogicalSwitchPortVirtualParents

func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVirtualParents(lsName, parents string, ips ...string) error

SetLogicalSwitchPortVirtualParents mocks base method.

func (*MockLogicalSwitchPort) SetLogicalSwitchPortVlanTag

func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVlanTag(lspName string, vlanID int) error

SetLogicalSwitchPortVlanTag mocks base method.

func (*MockLogicalSwitchPort) SetLogicalSwitchPortsSecurityGroup

func (m *MockLogicalSwitchPort) SetLogicalSwitchPortsSecurityGroup(sgName, op string) error

SetLogicalSwitchPortsSecurityGroup mocks base method.

type MockLogicalSwitchPortMockRecorder

type MockLogicalSwitchPortMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogicalSwitchPortMockRecorder is the mock recorder for MockLogicalSwitchPort.

func (*MockLogicalSwitchPortMockRecorder) CreateBareLogicalSwitchPort

func (mr *MockLogicalSwitchPortMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac any) *gomock.Call

CreateBareLogicalSwitchPort indicates an expected call of CreateBareLogicalSwitchPort.

func (*MockLogicalSwitchPortMockRecorder) CreateLocalnetLogicalSwitchPort

func (mr *MockLogicalSwitchPortMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock, vlanID any) *gomock.Call

CreateLocalnetLogicalSwitchPort indicates an expected call of CreateLocalnetLogicalSwitchPort.

func (*MockLogicalSwitchPortMockRecorder) CreateLogicalSwitchPort

func (mr *MockLogicalSwitchPortMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc any) *gomock.Call

CreateLogicalSwitchPort indicates an expected call of CreateLogicalSwitchPort.

func (*MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPorts

func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPorts(lsName any, ips ...any) *gomock.Call

CreateVirtualLogicalSwitchPorts indicates an expected call of CreateVirtualLogicalSwitchPorts.

func (*MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPort

func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPort(lspName any) *gomock.Call

DeleteLogicalSwitchPort indicates an expected call of DeleteLogicalSwitchPort.

func (*MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPorts added in v1.12.4

func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter any) *gomock.Call

DeleteLogicalSwitchPorts indicates an expected call of DeleteLogicalSwitchPorts.

func (*MockLogicalSwitchPortMockRecorder) EnablePortLayer2forward

func (mr *MockLogicalSwitchPortMockRecorder) EnablePortLayer2forward(lspName any) *gomock.Call

EnablePortLayer2forward indicates an expected call of EnablePortLayer2forward.

func (*MockLogicalSwitchPortMockRecorder) GetLogicalSwitchPort

func (mr *MockLogicalSwitchPortMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound any) *gomock.Call

GetLogicalSwitchPort indicates an expected call of GetLogicalSwitchPort.

func (*MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPorts

func (mr *MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter any) *gomock.Call

ListLogicalSwitchPorts indicates an expected call of ListLogicalSwitchPorts.

func (*MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPortsWithLegacyExternalIDs

func (mr *MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPortsWithLegacyExternalIDs() *gomock.Call

ListLogicalSwitchPortsWithLegacyExternalIDs indicates an expected call of ListLogicalSwitchPortsWithLegacyExternalIDs.

func (*MockLogicalSwitchPortMockRecorder) ListNormalLogicalSwitchPorts

func (mr *MockLogicalSwitchPortMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs any) *gomock.Call

ListNormalLogicalSwitchPorts indicates an expected call of ListNormalLogicalSwitchPorts.

func (*MockLogicalSwitchPortMockRecorder) LogicalSwitchPortExists

func (mr *MockLogicalSwitchPortMockRecorder) LogicalSwitchPortExists(name any) *gomock.Call

LogicalSwitchPortExists indicates an expected call of LogicalSwitchPortExists.

func (*MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortArpProxy

func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy any) *gomock.Call

SetLogicalSwitchPortArpProxy indicates an expected call of SetLogicalSwitchPortArpProxy.

func (*MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortExternalIDs added in v1.12.5

func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortExternalIDs(lspName, externalIDs any) *gomock.Call

SetLogicalSwitchPortExternalIDs indicates an expected call of SetLogicalSwitchPortExternalIDs.

func (*MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity

func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips any) *gomock.Call

SetLogicalSwitchPortSecurity indicates an expected call of SetLogicalSwitchPortSecurity.

func (*MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVirtualParents

func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents any, ips ...any) *gomock.Call

SetLogicalSwitchPortVirtualParents indicates an expected call of SetLogicalSwitchPortVirtualParents.

func (*MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVlanTag

func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID any) *gomock.Call

SetLogicalSwitchPortVlanTag indicates an expected call of SetLogicalSwitchPortVlanTag.

func (*MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortsSecurityGroup

func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op any) *gomock.Call

SetLogicalSwitchPortsSecurityGroup indicates an expected call of SetLogicalSwitchPortsSecurityGroup.

type MockNAT

type MockNAT struct {
	// contains filtered or unexported fields
}

MockNAT is a mock of NAT interface.

func NewMockNAT

func NewMockNAT(ctrl *gomock.Controller) *MockNAT

NewMockNAT creates a new mock instance.

func (*MockNAT) AddNat

func (m *MockNAT) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port string, options map[string]string) error

AddNat mocks base method.

func (*MockNAT) DeleteNat

func (m *MockNAT) DeleteNat(lrName, natType, externalIP, logicalIP string) error

DeleteNat mocks base method.

func (*MockNAT) DeleteNats

func (m *MockNAT) DeleteNats(lrName, natType, logicalIP string) error

DeleteNats mocks base method.

func (*MockNAT) EXPECT

func (m *MockNAT) EXPECT() *MockNATMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNAT) GetNATByUUID

func (m *MockNAT) GetNATByUUID(uuid string) (*ovnnb.NAT, error)

GetNATByUUID mocks base method.

func (*MockNAT) ListNats

func (m *MockNAT) ListNats(lrName, natType, logicalIP string, externalIDs map[string]string) ([]*ovnnb.NAT, error)

ListNats mocks base method.

func (*MockNAT) NatExists

func (m *MockNAT) NatExists(lrName, natType, externalIP, logicalIP string) (bool, error)

NatExists mocks base method.

func (*MockNAT) UpdateDnatAndSnat

func (m *MockNAT) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType string) error

UpdateDnatAndSnat mocks base method.

func (*MockNAT) UpdateSnat

func (m *MockNAT) UpdateSnat(lrName, externalIP, logicalIP string) error

UpdateSnat mocks base method.

type MockNATMockRecorder

type MockNATMockRecorder struct {
	// contains filtered or unexported fields
}

MockNATMockRecorder is the mock recorder for MockNAT.

func (*MockNATMockRecorder) AddNat

func (mr *MockNATMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options any) *gomock.Call

AddNat indicates an expected call of AddNat.

func (*MockNATMockRecorder) DeleteNat

func (mr *MockNATMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP any) *gomock.Call

DeleteNat indicates an expected call of DeleteNat.

func (*MockNATMockRecorder) DeleteNats

func (mr *MockNATMockRecorder) DeleteNats(lrName, natType, logicalIP any) *gomock.Call

DeleteNats indicates an expected call of DeleteNats.

func (*MockNATMockRecorder) GetNATByUUID

func (mr *MockNATMockRecorder) GetNATByUUID(uuid any) *gomock.Call

GetNATByUUID indicates an expected call of GetNATByUUID.

func (*MockNATMockRecorder) ListNats

func (mr *MockNATMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs any) *gomock.Call

ListNats indicates an expected call of ListNats.

func (*MockNATMockRecorder) NatExists

func (mr *MockNATMockRecorder) NatExists(lrName, natType, externalIP, logicalIP any) *gomock.Call

NatExists indicates an expected call of NatExists.

func (*MockNATMockRecorder) UpdateDnatAndSnat

func (mr *MockNATMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType any) *gomock.Call

UpdateDnatAndSnat indicates an expected call of UpdateDnatAndSnat.

func (*MockNATMockRecorder) UpdateSnat

func (mr *MockNATMockRecorder) UpdateSnat(lrName, externalIP, logicalIP any) *gomock.Call

UpdateSnat indicates an expected call of UpdateSnat.

type MockNBGlobal

type MockNBGlobal struct {
	// contains filtered or unexported fields
}

MockNBGlobal is a mock of NBGlobal interface.

func NewMockNBGlobal

func NewMockNBGlobal(ctrl *gomock.Controller) *MockNBGlobal

NewMockNBGlobal creates a new mock instance.

func (*MockNBGlobal) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNBGlobal) GetNbGlobal

func (m *MockNBGlobal) GetNbGlobal() (*ovnnb.NBGlobal, error)

GetNbGlobal mocks base method.

func (*MockNBGlobal) SetAzName

func (m *MockNBGlobal) SetAzName(azName string) error

SetAzName mocks base method.

func (*MockNBGlobal) SetICAutoRoute

func (m *MockNBGlobal) SetICAutoRoute(enable bool, blackList []string) error

SetICAutoRoute mocks base method.

func (*MockNBGlobal) SetLsCtSkipDstLportIPs added in v1.12.5

func (m *MockNBGlobal) SetLsCtSkipDstLportIPs(enabled bool) error

SetLsCtSkipDstLportIPs mocks base method.

func (*MockNBGlobal) SetLsDnatModDlDst

func (m *MockNBGlobal) SetLsDnatModDlDst(enabled bool) error

SetLsDnatModDlDst mocks base method.

func (*MockNBGlobal) SetUseCtInvMatch

func (m *MockNBGlobal) SetUseCtInvMatch() error

SetUseCtInvMatch mocks base method.

func (*MockNBGlobal) UpdateNbGlobal

func (m *MockNBGlobal) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) error

UpdateNbGlobal mocks base method.

type MockNBGlobalMockRecorder

type MockNBGlobalMockRecorder struct {
	// contains filtered or unexported fields
}

MockNBGlobalMockRecorder is the mock recorder for MockNBGlobal.

func (*MockNBGlobalMockRecorder) GetNbGlobal

func (mr *MockNBGlobalMockRecorder) GetNbGlobal() *gomock.Call

GetNbGlobal indicates an expected call of GetNbGlobal.

func (*MockNBGlobalMockRecorder) SetAzName

func (mr *MockNBGlobalMockRecorder) SetAzName(azName any) *gomock.Call

SetAzName indicates an expected call of SetAzName.

func (*MockNBGlobalMockRecorder) SetICAutoRoute

func (mr *MockNBGlobalMockRecorder) SetICAutoRoute(enable, blackList any) *gomock.Call

SetICAutoRoute indicates an expected call of SetICAutoRoute.

func (*MockNBGlobalMockRecorder) SetLsCtSkipDstLportIPs added in v1.12.5

func (mr *MockNBGlobalMockRecorder) SetLsCtSkipDstLportIPs(enabled any) *gomock.Call

SetLsCtSkipDstLportIPs indicates an expected call of SetLsCtSkipDstLportIPs.

func (*MockNBGlobalMockRecorder) SetLsDnatModDlDst

func (mr *MockNBGlobalMockRecorder) SetLsDnatModDlDst(enabled any) *gomock.Call

SetLsDnatModDlDst indicates an expected call of SetLsDnatModDlDst.

func (*MockNBGlobalMockRecorder) SetUseCtInvMatch

func (mr *MockNBGlobalMockRecorder) SetUseCtInvMatch() *gomock.Call

SetUseCtInvMatch indicates an expected call of SetUseCtInvMatch.

func (*MockNBGlobalMockRecorder) UpdateNbGlobal

func (mr *MockNBGlobalMockRecorder) UpdateNbGlobal(nbGlobal any, fields ...any) *gomock.Call

UpdateNbGlobal indicates an expected call of UpdateNbGlobal.

type MockNbClient added in v1.12.1

type MockNbClient struct {
	// contains filtered or unexported fields
}

MockNbClient is a mock of NbClient interface.

func NewMockNbClient added in v1.12.1

func NewMockNbClient(ctrl *gomock.Controller) *MockNbClient

NewMockNbClient creates a new mock instance.

func (*MockNbClient) AddLoadBalancerHealthCheck added in v1.12.2

func (m *MockNbClient) AddLoadBalancerHealthCheck(lbName, vip string, externals map[string]string) error

AddLoadBalancerHealthCheck mocks base method.

func (*MockNbClient) AddLogicalRouterPolicy added in v1.12.1

func (m *MockNbClient) AddLogicalRouterPolicy(lrName string, priority int, match, action string, nextHops []string, externalIDs map[string]string) error

AddLogicalRouterPolicy mocks base method.

func (*MockNbClient) AddLogicalRouterStaticRoute added in v1.12.1

func (m *MockNbClient) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix string, bfdID *string, nexthops ...string) error

AddLogicalRouterStaticRoute mocks base method.

func (*MockNbClient) AddNat added in v1.12.1

func (m *MockNbClient) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port string, options map[string]string) error

AddNat mocks base method.

func (*MockNbClient) AddressSetUpdateAddress added in v1.12.1

func (m *MockNbClient) AddressSetUpdateAddress(asName string, addresses ...string) error

AddressSetUpdateAddress mocks base method.

func (*MockNbClient) ClearLogicalRouterPolicy added in v1.12.1

func (m *MockNbClient) ClearLogicalRouterPolicy(lrName string) error

ClearLogicalRouterPolicy mocks base method.

func (*MockNbClient) ClearLogicalRouterStaticRoute added in v1.12.1

func (m *MockNbClient) ClearLogicalRouterStaticRoute(lrName string) error

ClearLogicalRouterStaticRoute mocks base method.

func (*MockNbClient) CreateAddressSet added in v1.12.1

func (m *MockNbClient) CreateAddressSet(asName string, externalIDs map[string]string) error

CreateAddressSet mocks base method.

func (*MockNbClient) CreateBFD added in v1.12.1

func (m *MockNbClient) CreateBFD(lrpName, dstIP string, minRx, minTx, detectMult int) (*ovnnb.BFD, error)

CreateBFD mocks base method.

func (*MockNbClient) CreateBareLogicalSwitch added in v1.12.1

func (m *MockNbClient) CreateBareLogicalSwitch(lsName string) error

CreateBareLogicalSwitch mocks base method.

func (*MockNbClient) CreateBareLogicalSwitchPort added in v1.12.1

func (m *MockNbClient) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac string) error

CreateBareLogicalSwitchPort mocks base method.

func (*MockNbClient) CreateGatewayACL added in v1.12.1

func (m *MockNbClient) CreateGatewayACL(lsName, pgName, gateway string) error

CreateGatewayACL mocks base method.

func (*MockNbClient) CreateGatewayLogicalSwitch added in v1.12.1

func (m *MockNbClient) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac string, vlanID int, chassises ...string) error

CreateGatewayLogicalSwitch mocks base method.

func (*MockNbClient) CreateLoadBalancer added in v1.12.1

func (m *MockNbClient) CreateLoadBalancer(lbName, protocol, selectFields string) error

CreateLoadBalancer mocks base method.

func (*MockNbClient) CreateLoadBalancerHealthCheck added in v1.12.2

func (m *MockNbClient) CreateLoadBalancerHealthCheck(lbName, vip string, lbhc *ovnnb.LoadBalancerHealthCheck) error

CreateLoadBalancerHealthCheck mocks base method.

func (*MockNbClient) CreateLocalnetLogicalSwitchPort added in v1.12.1

func (m *MockNbClient) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock string, vlanID int) error

CreateLocalnetLogicalSwitchPort mocks base method.

func (*MockNbClient) CreateLogicalPatchPort added in v1.12.1

func (m *MockNbClient) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac string, chassises ...string) error

CreateLogicalPatchPort mocks base method.

func (*MockNbClient) CreateLogicalRouter added in v1.12.1

func (m *MockNbClient) CreateLogicalRouter(lrName string) error

CreateLogicalRouter mocks base method.

func (*MockNbClient) CreateLogicalRouterPort added in v1.12.1

func (m *MockNbClient) CreateLogicalRouterPort(lrName, lrpName, mac string, networks []string) error

CreateLogicalRouterPort mocks base method.

func (*MockNbClient) CreateLogicalSwitch added in v1.12.1

func (m *MockNbClient) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway string, needRouter, randomAllocateGW bool) error

CreateLogicalSwitch mocks base method.

func (*MockNbClient) CreateLogicalSwitchPort added in v1.12.1

func (m *MockNbClient) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace string, portSecurity bool, securityGroups, vips string, enableDHCP bool, dhcpOptions *ovs.DHCPOptionsUUIDs, vpc string) error

CreateLogicalSwitchPort mocks base method.

func (*MockNbClient) CreateNodeACL added in v1.12.1

func (m *MockNbClient) CreateNodeACL(pgName, nodeIPStr, joinIPStr string) error

CreateNodeACL mocks base method.

func (*MockNbClient) CreatePeerRouterPort added in v1.12.1

func (m *MockNbClient) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP string) error

CreatePeerRouterPort mocks base method.

func (*MockNbClient) CreatePortGroup added in v1.12.1

func (m *MockNbClient) CreatePortGroup(pgName string, externalIDs map[string]string) error

CreatePortGroup mocks base method.

func (*MockNbClient) CreateSgBaseACL added in v1.12.1

func (m *MockNbClient) CreateSgBaseACL(sgName, direction string) error

CreateSgBaseACL mocks base method.

func (*MockNbClient) CreateSgDenyAllACL added in v1.12.1

func (m *MockNbClient) CreateSgDenyAllACL(sgName string) error

CreateSgDenyAllACL mocks base method.

func (*MockNbClient) CreateVirtualLogicalSwitchPorts added in v1.12.1

func (m *MockNbClient) CreateVirtualLogicalSwitchPorts(lsName string, ips ...string) error

CreateVirtualLogicalSwitchPorts mocks base method.

func (*MockNbClient) DeleteAcls added in v1.12.1

func (m *MockNbClient) DeleteAcls(parentName, parentType, direction string, externalIDs map[string]string) error

DeleteAcls mocks base method.

func (*MockNbClient) DeleteAclsOps added in v1.12.1

func (m *MockNbClient) DeleteAclsOps(parentName, parentType, direction string, externalIDs map[string]string) ([]ovsdb.Operation, error)

DeleteAclsOps mocks base method.

func (*MockNbClient) DeleteAddressSet added in v1.12.1

func (m *MockNbClient) DeleteAddressSet(asName string) error

DeleteAddressSet mocks base method.

func (*MockNbClient) DeleteAddressSets added in v1.12.1

func (m *MockNbClient) DeleteAddressSets(externalIDs map[string]string) error

DeleteAddressSets mocks base method.

func (*MockNbClient) DeleteBFD added in v1.12.1

func (m *MockNbClient) DeleteBFD(lrpName, dstIP string) error

DeleteBFD mocks base method.

func (*MockNbClient) DeleteDHCPOptions added in v1.12.1

func (m *MockNbClient) DeleteDHCPOptions(lsName, protocol string) error

DeleteDHCPOptions mocks base method.

func (*MockNbClient) DeleteDHCPOptionsByUUIDs added in v1.12.1

func (m *MockNbClient) DeleteDHCPOptionsByUUIDs(uuidList ...string) error

DeleteDHCPOptionsByUUIDs mocks base method.

func (*MockNbClient) DeleteLoadBalancerHealthCheck added in v1.12.2

func (m *MockNbClient) DeleteLoadBalancerHealthCheck(lbName, vip string) error

DeleteLoadBalancerHealthCheck mocks base method.

func (*MockNbClient) DeleteLoadBalancerHealthChecks added in v1.12.2

func (m *MockNbClient) DeleteLoadBalancerHealthChecks(filter func(*ovnnb.LoadBalancerHealthCheck) bool) error

DeleteLoadBalancerHealthChecks mocks base method.

func (*MockNbClient) DeleteLoadBalancers added in v1.12.1

func (m *MockNbClient) DeleteLoadBalancers(filter func(*ovnnb.LoadBalancer) bool) error

DeleteLoadBalancers mocks base method.

func (*MockNbClient) DeleteLogicalGatewaySwitch added in v1.12.1

func (m *MockNbClient) DeleteLogicalGatewaySwitch(lsName, lrName string) error

DeleteLogicalGatewaySwitch mocks base method.

func (*MockNbClient) DeleteLogicalRouter added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouter(lrName string) error

DeleteLogicalRouter mocks base method.

func (*MockNbClient) DeleteLogicalRouterPolicies added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouterPolicies(lrName string, priority int, externalIDs map[string]string) error

DeleteLogicalRouterPolicies mocks base method.

func (*MockNbClient) DeleteLogicalRouterPolicy added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouterPolicy(lrName string, priority int, match string) error

DeleteLogicalRouterPolicy mocks base method.

func (*MockNbClient) DeleteLogicalRouterPolicyByNexthop added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouterPolicyByNexthop(lrName string, priority int, nexthop string) error

DeleteLogicalRouterPolicyByNexthop mocks base method.

func (*MockNbClient) DeleteLogicalRouterPolicyByUUID added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouterPolicyByUUID(lrName, uuid string) error

DeleteLogicalRouterPolicyByUUID mocks base method.

func (*MockNbClient) DeleteLogicalRouterPort added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouterPort(lrpName string) error

DeleteLogicalRouterPort mocks base method.

func (*MockNbClient) DeleteLogicalRouterPorts added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouterPorts(externalIDs map[string]string, filter func(*ovnnb.LogicalRouterPort) bool) error

DeleteLogicalRouterPorts mocks base method.

func (*MockNbClient) DeleteLogicalRouterStaticRoute added in v1.12.1

func (m *MockNbClient) DeleteLogicalRouterStaticRoute(lrName string, routeTable, policy *string, ipPrefix, nextHop string) error

DeleteLogicalRouterStaticRoute mocks base method.

func (*MockNbClient) DeleteLogicalSwitch added in v1.12.1

func (m *MockNbClient) DeleteLogicalSwitch(lsName string) error

DeleteLogicalSwitch mocks base method.

func (*MockNbClient) DeleteLogicalSwitchPort added in v1.12.1

func (m *MockNbClient) DeleteLogicalSwitchPort(lspName string) error

DeleteLogicalSwitchPort mocks base method.

func (*MockNbClient) DeleteLogicalSwitchPorts added in v1.12.4

func (m *MockNbClient) DeleteLogicalSwitchPorts(externalIDs map[string]string, filter func(*ovnnb.LogicalSwitchPort) bool) error

DeleteLogicalSwitchPorts mocks base method.

func (*MockNbClient) DeleteNat added in v1.12.1

func (m *MockNbClient) DeleteNat(lrName, natType, externalIP, logicalIP string) error

DeleteNat mocks base method.

func (*MockNbClient) DeleteNats added in v1.12.1

func (m *MockNbClient) DeleteNats(lrName, natType, logicalIP string) error

DeleteNats mocks base method.

func (*MockNbClient) DeletePortGroup added in v1.12.1

func (m *MockNbClient) DeletePortGroup(pgName string) error

DeletePortGroup mocks base method.

func (*MockNbClient) DeleteSecurityGroup added in v1.12.1

func (m *MockNbClient) DeleteSecurityGroup(sgName string) error

DeleteSecurityGroup mocks base method.

func (*MockNbClient) EXPECT added in v1.12.1

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNbClient) EnablePortLayer2forward added in v1.12.1

func (m *MockNbClient) EnablePortLayer2forward(lspName string) error

EnablePortLayer2forward mocks base method.

func (*MockNbClient) GetEntityInfo added in v1.12.1

func (m *MockNbClient) GetEntityInfo(entity any) error

GetEntityInfo mocks base method.

func (*MockNbClient) GetLoadBalancer added in v1.12.1

func (m *MockNbClient) GetLoadBalancer(lbName string, ignoreNotFound bool) (*ovnnb.LoadBalancer, error)

GetLoadBalancer mocks base method.

func (*MockNbClient) GetLoadBalancerHealthCheck added in v1.12.2

func (m *MockNbClient) GetLoadBalancerHealthCheck(lbName, vip string, ignoreNotFound bool) (*ovnnb.LoadBalancer, *ovnnb.LoadBalancerHealthCheck, error)

GetLoadBalancerHealthCheck mocks base method.

func (*MockNbClient) GetLogicalRouter added in v1.12.1

func (m *MockNbClient) GetLogicalRouter(lrName string, ignoreNotFound bool) (*ovnnb.LogicalRouter, error)

GetLogicalRouter mocks base method.

func (*MockNbClient) GetLogicalRouterPoliciesByExtID added in v1.12.4

func (m *MockNbClient) GetLogicalRouterPoliciesByExtID(lrName, key, value string) ([]*ovnnb.LogicalRouterPolicy, error)

GetLogicalRouterPoliciesByExtID mocks base method.

func (*MockNbClient) GetLogicalRouterPolicy added in v1.12.1

func (m *MockNbClient) GetLogicalRouterPolicy(lrName string, priority int, match string, ignoreNotFound bool) ([]*ovnnb.LogicalRouterPolicy, error)

GetLogicalRouterPolicy mocks base method.

func (*MockNbClient) GetLogicalRouterPort added in v1.12.1

func (m *MockNbClient) GetLogicalRouterPort(lrpName string, ignoreNotFound bool) (*ovnnb.LogicalRouterPort, error)

GetLogicalRouterPort mocks base method.

func (*MockNbClient) GetLogicalRouterPortByUUID added in v1.12.1

func (m *MockNbClient) GetLogicalRouterPortByUUID(uuid string) (*ovnnb.LogicalRouterPort, error)

GetLogicalRouterPortByUUID mocks base method.

func (*MockNbClient) GetLogicalSwitchPort added in v1.12.1

func (m *MockNbClient) GetLogicalSwitchPort(lspName string, ignoreNotFound bool) (*ovnnb.LogicalSwitchPort, error)

GetLogicalSwitchPort mocks base method.

func (*MockNbClient) GetNATByUUID added in v1.12.1

func (m *MockNbClient) GetNATByUUID(uuid string) (*ovnnb.NAT, error)

GetNATByUUID mocks base method.

func (*MockNbClient) GetNbGlobal added in v1.12.1

func (m *MockNbClient) GetNbGlobal() (*ovnnb.NBGlobal, error)

GetNbGlobal mocks base method.

func (*MockNbClient) GetPortGroup added in v1.12.1

func (m *MockNbClient) GetPortGroup(pgName string, ignoreNotFound bool) (*ovnnb.PortGroup, error)

GetPortGroup mocks base method.

func (*MockNbClient) ListAddressSets added in v1.12.1

func (m *MockNbClient) ListAddressSets(externalIDs map[string]string) ([]ovnnb.AddressSet, error)

ListAddressSets mocks base method.

func (*MockNbClient) ListDHCPOptions added in v1.12.1

func (m *MockNbClient) ListDHCPOptions(needVendorFilter bool, externalIDs map[string]string) ([]ovnnb.DHCPOptions, error)

ListDHCPOptions mocks base method.

func (*MockNbClient) ListLoadBalancerHealthChecks added in v1.12.2

func (m *MockNbClient) ListLoadBalancerHealthChecks(filter func(*ovnnb.LoadBalancerHealthCheck) bool) ([]ovnnb.LoadBalancerHealthCheck, error)

ListLoadBalancerHealthChecks mocks base method.

func (*MockNbClient) ListLoadBalancers added in v1.12.1

func (m *MockNbClient) ListLoadBalancers(filter func(*ovnnb.LoadBalancer) bool) ([]ovnnb.LoadBalancer, error)

ListLoadBalancers mocks base method.

func (*MockNbClient) ListLogicalRouter added in v1.12.1

func (m *MockNbClient) ListLogicalRouter(needVendorFilter bool, filter func(*ovnnb.LogicalRouter) bool) ([]ovnnb.LogicalRouter, error)

ListLogicalRouter mocks base method.

func (*MockNbClient) ListLogicalRouterPolicies added in v1.12.1

func (m *MockNbClient) ListLogicalRouterPolicies(lrName string, priority int, externalIDs map[string]string, ignoreExtIDEmptyValue bool) ([]*ovnnb.LogicalRouterPolicy, error)

ListLogicalRouterPolicies mocks base method.

func (*MockNbClient) ListLogicalRouterPorts added in v1.12.1

func (m *MockNbClient) ListLogicalRouterPorts(externalIDs map[string]string, filter func(*ovnnb.LogicalRouterPort) bool) ([]ovnnb.LogicalRouterPort, error)

ListLogicalRouterPorts mocks base method.

func (*MockNbClient) ListLogicalRouterStaticRoutes added in v1.12.1

func (m *MockNbClient) ListLogicalRouterStaticRoutes(lrName string, routeTable, policy *string, ipPrefix string, externalIDs map[string]string) ([]*ovnnb.LogicalRouterStaticRoute, error)

ListLogicalRouterStaticRoutes mocks base method.

func (*MockNbClient) ListLogicalRouterStaticRoutesByOption added in v1.12.1

func (m *MockNbClient) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value string) ([]*ovnnb.LogicalRouterStaticRoute, error)

ListLogicalRouterStaticRoutesByOption mocks base method.

func (*MockNbClient) ListLogicalSwitch added in v1.12.1

func (m *MockNbClient) ListLogicalSwitch(needVendorFilter bool, filter func(*ovnnb.LogicalSwitch) bool) ([]ovnnb.LogicalSwitch, error)

ListLogicalSwitch mocks base method.

func (*MockNbClient) ListLogicalSwitchPorts added in v1.12.1

func (m *MockNbClient) ListLogicalSwitchPorts(needVendorFilter bool, externalIDs map[string]string, filter func(*ovnnb.LogicalSwitchPort) bool) ([]ovnnb.LogicalSwitchPort, error)

ListLogicalSwitchPorts mocks base method.

func (*MockNbClient) ListLogicalSwitchPortsWithLegacyExternalIDs added in v1.12.1

func (m *MockNbClient) ListLogicalSwitchPortsWithLegacyExternalIDs() ([]ovnnb.LogicalSwitchPort, error)

ListLogicalSwitchPortsWithLegacyExternalIDs mocks base method.

func (*MockNbClient) ListNats added in v1.12.1

func (m *MockNbClient) ListNats(lrName, natType, logicalIP string, externalIDs map[string]string) ([]*ovnnb.NAT, error)

ListNats mocks base method.

func (*MockNbClient) ListNormalLogicalSwitchPorts added in v1.12.1

func (m *MockNbClient) ListNormalLogicalSwitchPorts(needVendorFilter bool, externalIDs map[string]string) ([]ovnnb.LogicalSwitchPort, error)

ListNormalLogicalSwitchPorts mocks base method.

func (*MockNbClient) ListPortGroups added in v1.12.1

func (m *MockNbClient) ListPortGroups(externalIDs map[string]string) ([]ovnnb.PortGroup, error)

ListPortGroups mocks base method.

func (*MockNbClient) LoadBalancerAddHealthCheck added in v1.12.2

func (m *MockNbClient) LoadBalancerAddHealthCheck(lbName, vip string, ignoreHealthCheck bool, ipPortMapping, externals map[string]string) error

LoadBalancerAddHealthCheck mocks base method.

func (*MockNbClient) LoadBalancerAddIPPortMapping added in v1.12.2

func (m *MockNbClient) LoadBalancerAddIPPortMapping(lbName, vip string, ipPortMappings map[string]string) error

LoadBalancerAddIPPortMapping mocks base method.

func (*MockNbClient) LoadBalancerAddVip added in v1.12.1

func (m *MockNbClient) LoadBalancerAddVip(lbName, vip string, backends ...string) error

LoadBalancerAddVip mocks base method.

func (*MockNbClient) LoadBalancerDeleteHealthCheck added in v1.12.2

func (m *MockNbClient) LoadBalancerDeleteHealthCheck(lbName, uuid string) error

LoadBalancerDeleteHealthCheck mocks base method.

func (*MockNbClient) LoadBalancerDeleteIPPortMapping added in v1.12.2

func (m *MockNbClient) LoadBalancerDeleteIPPortMapping(lbName, vip string) error

LoadBalancerDeleteIPPortMapping mocks base method.

func (*MockNbClient) LoadBalancerDeleteVip added in v1.12.1

func (m *MockNbClient) LoadBalancerDeleteVip(lbName, vip string, ignoreHealthCheck bool) error

LoadBalancerDeleteVip mocks base method.

func (*MockNbClient) LoadBalancerExists added in v1.12.1

func (m *MockNbClient) LoadBalancerExists(lbName string) (bool, error)

LoadBalancerExists mocks base method.

func (*MockNbClient) LoadBalancerHealthCheckExists added in v1.12.2

func (m *MockNbClient) LoadBalancerHealthCheckExists(lbName, vip string) (bool, error)

LoadBalancerHealthCheckExists mocks base method.

func (*MockNbClient) LoadBalancerUpdateIPPortMapping added in v1.12.2

func (m *MockNbClient) LoadBalancerUpdateIPPortMapping(lbName, vip string, ipPortMappings map[string]string) error

LoadBalancerUpdateIPPortMapping mocks base method.

func (*MockNbClient) LogicalRouterExists added in v1.12.1

func (m *MockNbClient) LogicalRouterExists(name string) (bool, error)

LogicalRouterExists mocks base method.

func (*MockNbClient) LogicalRouterPortExists added in v1.12.1

func (m *MockNbClient) LogicalRouterPortExists(lrpName string) (bool, error)

LogicalRouterPortExists mocks base method.

func (*MockNbClient) LogicalRouterStaticRouteExists added in v1.12.1

func (m *MockNbClient) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop string) (bool, error)

LogicalRouterStaticRouteExists mocks base method.

func (*MockNbClient) LogicalRouterUpdateLoadBalancers added in v1.12.1

func (m *MockNbClient) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb.Mutator, lbNames ...string) error

LogicalRouterUpdateLoadBalancers mocks base method.

func (*MockNbClient) LogicalSwitchExists added in v1.12.1

func (m *MockNbClient) LogicalSwitchExists(lsName string) (bool, error)

LogicalSwitchExists mocks base method.

func (*MockNbClient) LogicalSwitchPortExists added in v1.12.1

func (m *MockNbClient) LogicalSwitchPortExists(name string) (bool, error)

LogicalSwitchPortExists mocks base method.

func (*MockNbClient) LogicalSwitchUpdateLoadBalancers added in v1.12.1

func (m *MockNbClient) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb.Mutator, lbNames ...string) error

LogicalSwitchUpdateLoadBalancers mocks base method.

func (*MockNbClient) NatExists added in v1.12.1

func (m *MockNbClient) NatExists(lrName, natType, externalIP, logicalIP string) (bool, error)

NatExists mocks base method.

func (*MockNbClient) PortGroupAddPorts added in v1.12.1

func (m *MockNbClient) PortGroupAddPorts(pgName string, lspNames ...string) error

PortGroupAddPorts mocks base method.

func (*MockNbClient) PortGroupExists added in v1.12.1

func (m *MockNbClient) PortGroupExists(pgName string) (bool, error)

PortGroupExists mocks base method.

func (*MockNbClient) PortGroupRemovePorts added in v1.12.1

func (m *MockNbClient) PortGroupRemovePorts(pgName string, lspNames ...string) error

PortGroupRemovePorts mocks base method.

func (*MockNbClient) PortGroupSetPorts added in v1.12.1

func (m *MockNbClient) PortGroupSetPorts(pgName string, ports []string) error

PortGroupSetPorts mocks base method.

func (*MockNbClient) RemoveLogicalPatchPort added in v1.12.1

func (m *MockNbClient) RemoveLogicalPatchPort(lspName, lrpName string) error

RemoveLogicalPatchPort mocks base method.

func (*MockNbClient) SGLostACL added in v1.12.12

func (m *MockNbClient) SGLostACL(sg *v1.SecurityGroup) (bool, error)

SGLostACL mocks base method.

func (*MockNbClient) SetACLLog added in v1.12.1

func (m *MockNbClient) SetACLLog(pgName string, logEnable, isIngress bool) error

SetACLLog mocks base method.

func (*MockNbClient) SetAzName added in v1.12.1

func (m *MockNbClient) SetAzName(azName string) error

SetAzName mocks base method.

func (*MockNbClient) SetICAutoRoute added in v1.12.1

func (m *MockNbClient) SetICAutoRoute(enable bool, blackList []string) error

SetICAutoRoute mocks base method.

func (*MockNbClient) SetLoadBalancerAffinityTimeout added in v1.12.1

func (m *MockNbClient) SetLoadBalancerAffinityTimeout(lbName string, timeout int) error

SetLoadBalancerAffinityTimeout mocks base method.

func (*MockNbClient) SetLogicalSwitchPortArpProxy added in v1.12.1

func (m *MockNbClient) SetLogicalSwitchPortArpProxy(lspName string, enableArpProxy bool) error

SetLogicalSwitchPortArpProxy mocks base method.

func (*MockNbClient) SetLogicalSwitchPortExternalIDs added in v1.12.5

func (m *MockNbClient) SetLogicalSwitchPortExternalIDs(lspName string, externalIDs map[string]string) error

SetLogicalSwitchPortExternalIDs mocks base method.

func (*MockNbClient) SetLogicalSwitchPortSecurity added in v1.12.1

func (m *MockNbClient) SetLogicalSwitchPortSecurity(portSecurity bool, lspName, mac, ips, vips string) error

SetLogicalSwitchPortSecurity mocks base method.

func (*MockNbClient) SetLogicalSwitchPortVirtualParents added in v1.12.1

func (m *MockNbClient) SetLogicalSwitchPortVirtualParents(lsName, parents string, ips ...string) error

SetLogicalSwitchPortVirtualParents mocks base method.

func (*MockNbClient) SetLogicalSwitchPortVlanTag added in v1.12.1

func (m *MockNbClient) SetLogicalSwitchPortVlanTag(lspName string, vlanID int) error

SetLogicalSwitchPortVlanTag mocks base method.

func (*MockNbClient) SetLogicalSwitchPortsSecurityGroup added in v1.12.1

func (m *MockNbClient) SetLogicalSwitchPortsSecurityGroup(sgName, op string) error

SetLogicalSwitchPortsSecurityGroup mocks base method.

func (*MockNbClient) SetLogicalSwitchPrivate added in v1.12.1

func (m *MockNbClient) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR string, allowSubnets []string) error

SetLogicalSwitchPrivate mocks base method.

func (*MockNbClient) SetLsCtSkipDstLportIPs added in v1.12.5

func (m *MockNbClient) SetLsCtSkipDstLportIPs(enabled bool) error

SetLsCtSkipDstLportIPs mocks base method.

func (*MockNbClient) SetLsDnatModDlDst added in v1.12.1

func (m *MockNbClient) SetLsDnatModDlDst(enabled bool) error

SetLsDnatModDlDst mocks base method.

func (*MockNbClient) SetUseCtInvMatch added in v1.12.1

func (m *MockNbClient) SetUseCtInvMatch() error

SetUseCtInvMatch mocks base method.

func (*MockNbClient) Transact added in v1.12.1

func (m *MockNbClient) Transact(method string, operations []ovsdb.Operation) error

Transact mocks base method.

func (*MockNbClient) UpdateDHCPOptions added in v1.12.1

func (m *MockNbClient) UpdateDHCPOptions(subnet *v1.Subnet, mtu int) (*ovs.DHCPOptionsUUIDs, error)

UpdateDHCPOptions mocks base method.

func (*MockNbClient) UpdateDnatAndSnat added in v1.12.1

func (m *MockNbClient) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType string) error

UpdateDnatAndSnat mocks base method.

func (*MockNbClient) UpdateEgressACLOps added in v1.12.1

func (m *MockNbClient) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol string, npp []v10.NetworkPolicyPort, logEnable bool, namedPortMap map[string]*util.NamedPortInfo) ([]ovsdb.Operation, error)

UpdateEgressACLOps mocks base method.

func (*MockNbClient) UpdateIngressACLOps added in v1.12.1

func (m *MockNbClient) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol string, npp []v10.NetworkPolicyPort, logEnable bool, namedPortMap map[string]*util.NamedPortInfo) ([]ovsdb.Operation, error)

UpdateIngressACLOps mocks base method.

func (*MockNbClient) UpdateLogicalRouterPortOptions added in v1.12.1

func (m *MockNbClient) UpdateLogicalRouterPortOptions(lrpName string, options map[string]string) error

UpdateLogicalRouterPortOptions mocks base method.

func (*MockNbClient) UpdateLogicalRouterPortRA added in v1.12.1

func (m *MockNbClient) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr string, enableIPv6RA bool) error

UpdateLogicalRouterPortRA mocks base method.

func (*MockNbClient) UpdateLogicalSwitchACL added in v1.12.1

func (m *MockNbClient) UpdateLogicalSwitchACL(lsName string, subnetAcls []v1.ACL) error

UpdateLogicalSwitchACL mocks base method.

func (*MockNbClient) UpdateNbGlobal added in v1.12.1

func (m *MockNbClient) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) error

UpdateNbGlobal mocks base method.

func (*MockNbClient) UpdateSgACL added in v1.12.1

func (m *MockNbClient) UpdateSgACL(sg *v1.SecurityGroup, direction string) error

UpdateSgACL mocks base method.

func (*MockNbClient) UpdateSnat added in v1.12.1

func (m *MockNbClient) UpdateSnat(lrName, externalIP, logicalIP string) error

UpdateSnat mocks base method.

type MockNbClientMockRecorder added in v1.12.1

type MockNbClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockNbClientMockRecorder is the mock recorder for MockNbClient.

func (*MockNbClientMockRecorder) AddLoadBalancerHealthCheck added in v1.12.2

func (mr *MockNbClientMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals any) *gomock.Call

AddLoadBalancerHealthCheck indicates an expected call of AddLoadBalancerHealthCheck.

func (*MockNbClientMockRecorder) AddLogicalRouterPolicy added in v1.12.1

func (mr *MockNbClientMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs any) *gomock.Call

AddLogicalRouterPolicy indicates an expected call of AddLogicalRouterPolicy.

func (*MockNbClientMockRecorder) AddLogicalRouterStaticRoute added in v1.12.1

func (mr *MockNbClientMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID any, nexthops ...any) *gomock.Call

AddLogicalRouterStaticRoute indicates an expected call of AddLogicalRouterStaticRoute.

func (*MockNbClientMockRecorder) AddNat added in v1.12.1

func (mr *MockNbClientMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options any) *gomock.Call

AddNat indicates an expected call of AddNat.

func (*MockNbClientMockRecorder) AddressSetUpdateAddress added in v1.12.1

func (mr *MockNbClientMockRecorder) AddressSetUpdateAddress(asName any, addresses ...any) *gomock.Call

AddressSetUpdateAddress indicates an expected call of AddressSetUpdateAddress.

func (*MockNbClientMockRecorder) ClearLogicalRouterPolicy added in v1.12.1

func (mr *MockNbClientMockRecorder) ClearLogicalRouterPolicy(lrName any) *gomock.Call

ClearLogicalRouterPolicy indicates an expected call of ClearLogicalRouterPolicy.

func (*MockNbClientMockRecorder) ClearLogicalRouterStaticRoute added in v1.12.1

func (mr *MockNbClientMockRecorder) ClearLogicalRouterStaticRoute(lrName any) *gomock.Call

ClearLogicalRouterStaticRoute indicates an expected call of ClearLogicalRouterStaticRoute.

func (*MockNbClientMockRecorder) CreateAddressSet added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateAddressSet(asName, externalIDs any) *gomock.Call

CreateAddressSet indicates an expected call of CreateAddressSet.

func (*MockNbClientMockRecorder) CreateBFD added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult any) *gomock.Call

CreateBFD indicates an expected call of CreateBFD.

func (*MockNbClientMockRecorder) CreateBareLogicalSwitch added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitch(lsName any) *gomock.Call

CreateBareLogicalSwitch indicates an expected call of CreateBareLogicalSwitch.

func (*MockNbClientMockRecorder) CreateBareLogicalSwitchPort added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac any) *gomock.Call

CreateBareLogicalSwitchPort indicates an expected call of CreateBareLogicalSwitchPort.

func (*MockNbClientMockRecorder) CreateGatewayACL added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateGatewayACL(lsName, pgName, gateway any) *gomock.Call

CreateGatewayACL indicates an expected call of CreateGatewayACL.

func (*MockNbClientMockRecorder) CreateGatewayLogicalSwitch added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac, vlanID any, chassises ...any) *gomock.Call

CreateGatewayLogicalSwitch indicates an expected call of CreateGatewayLogicalSwitch.

func (*MockNbClientMockRecorder) CreateLoadBalancer added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields any) *gomock.Call

CreateLoadBalancer indicates an expected call of CreateLoadBalancer.

func (*MockNbClientMockRecorder) CreateLoadBalancerHealthCheck added in v1.12.2

func (mr *MockNbClientMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc any) *gomock.Call

CreateLoadBalancerHealthCheck indicates an expected call of CreateLoadBalancerHealthCheck.

func (*MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock, vlanID any) *gomock.Call

CreateLocalnetLogicalSwitchPort indicates an expected call of CreateLocalnetLogicalSwitchPort.

func (*MockNbClientMockRecorder) CreateLogicalPatchPort added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac any, chassises ...any) *gomock.Call

CreateLogicalPatchPort indicates an expected call of CreateLogicalPatchPort.

func (*MockNbClientMockRecorder) CreateLogicalRouter added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateLogicalRouter(lrName any) *gomock.Call

CreateLogicalRouter indicates an expected call of CreateLogicalRouter.

func (*MockNbClientMockRecorder) CreateLogicalRouterPort added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks any) *gomock.Call

CreateLogicalRouterPort indicates an expected call of CreateLogicalRouterPort.

func (*MockNbClientMockRecorder) CreateLogicalSwitch added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW any) *gomock.Call

CreateLogicalSwitch indicates an expected call of CreateLogicalSwitch.

func (*MockNbClientMockRecorder) CreateLogicalSwitchPort added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc any) *gomock.Call

CreateLogicalSwitchPort indicates an expected call of CreateLogicalSwitchPort.

func (*MockNbClientMockRecorder) CreateNodeACL added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr any) *gomock.Call

CreateNodeACL indicates an expected call of CreateNodeACL.

func (*MockNbClientMockRecorder) CreatePeerRouterPort added in v1.12.1

func (mr *MockNbClientMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP any) *gomock.Call

CreatePeerRouterPort indicates an expected call of CreatePeerRouterPort.

func (*MockNbClientMockRecorder) CreatePortGroup added in v1.12.1

func (mr *MockNbClientMockRecorder) CreatePortGroup(pgName, externalIDs any) *gomock.Call

CreatePortGroup indicates an expected call of CreatePortGroup.

func (*MockNbClientMockRecorder) CreateSgBaseACL added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateSgBaseACL(sgName, direction any) *gomock.Call

CreateSgBaseACL indicates an expected call of CreateSgBaseACL.

func (*MockNbClientMockRecorder) CreateSgDenyAllACL added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateSgDenyAllACL(sgName any) *gomock.Call

CreateSgDenyAllACL indicates an expected call of CreateSgDenyAllACL.

func (*MockNbClientMockRecorder) CreateVirtualLogicalSwitchPorts added in v1.12.1

func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPorts(lsName any, ips ...any) *gomock.Call

CreateVirtualLogicalSwitchPorts indicates an expected call of CreateVirtualLogicalSwitchPorts.

func (*MockNbClientMockRecorder) DeleteAcls added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs any) *gomock.Call

DeleteAcls indicates an expected call of DeleteAcls.

func (*MockNbClientMockRecorder) DeleteAclsOps added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs any) *gomock.Call

DeleteAclsOps indicates an expected call of DeleteAclsOps.

func (*MockNbClientMockRecorder) DeleteAddressSet added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteAddressSet(asName any) *gomock.Call

DeleteAddressSet indicates an expected call of DeleteAddressSet.

func (*MockNbClientMockRecorder) DeleteAddressSets added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteAddressSets(externalIDs any) *gomock.Call

DeleteAddressSets indicates an expected call of DeleteAddressSets.

func (*MockNbClientMockRecorder) DeleteBFD added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteBFD(lrpName, dstIP any) *gomock.Call

DeleteBFD indicates an expected call of DeleteBFD.

func (*MockNbClientMockRecorder) DeleteDHCPOptions added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteDHCPOptions(lsName, protocol any) *gomock.Call

DeleteDHCPOptions indicates an expected call of DeleteDHCPOptions.

func (*MockNbClientMockRecorder) DeleteDHCPOptionsByUUIDs added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...any) *gomock.Call

DeleteDHCPOptionsByUUIDs indicates an expected call of DeleteDHCPOptionsByUUIDs.

func (*MockNbClientMockRecorder) DeleteLoadBalancerHealthCheck added in v1.12.2

func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip any) *gomock.Call

DeleteLoadBalancerHealthCheck indicates an expected call of DeleteLoadBalancerHealthCheck.

func (*MockNbClientMockRecorder) DeleteLoadBalancerHealthChecks added in v1.12.2

func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthChecks(filter any) *gomock.Call

DeleteLoadBalancerHealthChecks indicates an expected call of DeleteLoadBalancerHealthChecks.

func (*MockNbClientMockRecorder) DeleteLoadBalancers added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLoadBalancers(filter any) *gomock.Call

DeleteLoadBalancers indicates an expected call of DeleteLoadBalancers.

func (*MockNbClientMockRecorder) DeleteLogicalGatewaySwitch added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalGatewaySwitch(lsName, lrName any) *gomock.Call

DeleteLogicalGatewaySwitch indicates an expected call of DeleteLogicalGatewaySwitch.

func (*MockNbClientMockRecorder) DeleteLogicalRouter added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouter(lrName any) *gomock.Call

DeleteLogicalRouter indicates an expected call of DeleteLogicalRouter.

func (*MockNbClientMockRecorder) DeleteLogicalRouterPolicies added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs any) *gomock.Call

DeleteLogicalRouterPolicies indicates an expected call of DeleteLogicalRouterPolicies.

func (*MockNbClientMockRecorder) DeleteLogicalRouterPolicy added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match any) *gomock.Call

DeleteLogicalRouterPolicy indicates an expected call of DeleteLogicalRouterPolicy.

func (*MockNbClientMockRecorder) DeleteLogicalRouterPolicyByNexthop added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop any) *gomock.Call

DeleteLogicalRouterPolicyByNexthop indicates an expected call of DeleteLogicalRouterPolicyByNexthop.

func (*MockNbClientMockRecorder) DeleteLogicalRouterPolicyByUUID added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid any) *gomock.Call

DeleteLogicalRouterPolicyByUUID indicates an expected call of DeleteLogicalRouterPolicyByUUID.

func (*MockNbClientMockRecorder) DeleteLogicalRouterPort added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPort(lrpName any) *gomock.Call

DeleteLogicalRouterPort indicates an expected call of DeleteLogicalRouterPort.

func (*MockNbClientMockRecorder) DeleteLogicalRouterPorts added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter any) *gomock.Call

DeleteLogicalRouterPorts indicates an expected call of DeleteLogicalRouterPorts.

func (*MockNbClientMockRecorder) DeleteLogicalRouterStaticRoute added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop any) *gomock.Call

DeleteLogicalRouterStaticRoute indicates an expected call of DeleteLogicalRouterStaticRoute.

func (*MockNbClientMockRecorder) DeleteLogicalSwitch added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalSwitch(lsName any) *gomock.Call

DeleteLogicalSwitch indicates an expected call of DeleteLogicalSwitch.

func (*MockNbClientMockRecorder) DeleteLogicalSwitchPort added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPort(lspName any) *gomock.Call

DeleteLogicalSwitchPort indicates an expected call of DeleteLogicalSwitchPort.

func (*MockNbClientMockRecorder) DeleteLogicalSwitchPorts added in v1.12.4

func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter any) *gomock.Call

DeleteLogicalSwitchPorts indicates an expected call of DeleteLogicalSwitchPorts.

func (*MockNbClientMockRecorder) DeleteNat added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP any) *gomock.Call

DeleteNat indicates an expected call of DeleteNat.

func (*MockNbClientMockRecorder) DeleteNats added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteNats(lrName, natType, logicalIP any) *gomock.Call

DeleteNats indicates an expected call of DeleteNats.

func (*MockNbClientMockRecorder) DeletePortGroup added in v1.12.1

func (mr *MockNbClientMockRecorder) DeletePortGroup(pgName any) *gomock.Call

DeletePortGroup indicates an expected call of DeletePortGroup.

func (*MockNbClientMockRecorder) DeleteSecurityGroup added in v1.12.1

func (mr *MockNbClientMockRecorder) DeleteSecurityGroup(sgName any) *gomock.Call

DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.

func (*MockNbClientMockRecorder) EnablePortLayer2forward added in v1.12.1

func (mr *MockNbClientMockRecorder) EnablePortLayer2forward(lspName any) *gomock.Call

EnablePortLayer2forward indicates an expected call of EnablePortLayer2forward.

func (*MockNbClientMockRecorder) GetEntityInfo added in v1.12.1

func (mr *MockNbClientMockRecorder) GetEntityInfo(entity any) *gomock.Call

GetEntityInfo indicates an expected call of GetEntityInfo.

func (*MockNbClientMockRecorder) GetLoadBalancer added in v1.12.1

func (mr *MockNbClientMockRecorder) GetLoadBalancer(lbName, ignoreNotFound any) *gomock.Call

GetLoadBalancer indicates an expected call of GetLoadBalancer.

func (*MockNbClientMockRecorder) GetLoadBalancerHealthCheck added in v1.12.2

func (mr *MockNbClientMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound any) *gomock.Call

GetLoadBalancerHealthCheck indicates an expected call of GetLoadBalancerHealthCheck.

func (*MockNbClientMockRecorder) GetLogicalRouter added in v1.12.1

func (mr *MockNbClientMockRecorder) GetLogicalRouter(lrName, ignoreNotFound any) *gomock.Call

GetLogicalRouter indicates an expected call of GetLogicalRouter.

func (*MockNbClientMockRecorder) GetLogicalRouterPoliciesByExtID added in v1.12.4

func (mr *MockNbClientMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value any) *gomock.Call

GetLogicalRouterPoliciesByExtID indicates an expected call of GetLogicalRouterPoliciesByExtID.

func (*MockNbClientMockRecorder) GetLogicalRouterPolicy added in v1.12.1

func (mr *MockNbClientMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound any) *gomock.Call

GetLogicalRouterPolicy indicates an expected call of GetLogicalRouterPolicy.

func (*MockNbClientMockRecorder) GetLogicalRouterPort added in v1.12.1

func (mr *MockNbClientMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call

GetLogicalRouterPort indicates an expected call of GetLogicalRouterPort.

func (*MockNbClientMockRecorder) GetLogicalRouterPortByUUID added in v1.12.1

func (mr *MockNbClientMockRecorder) GetLogicalRouterPortByUUID(uuid any) *gomock.Call

GetLogicalRouterPortByUUID indicates an expected call of GetLogicalRouterPortByUUID.

func (*MockNbClientMockRecorder) GetLogicalSwitchPort added in v1.12.1

func (mr *MockNbClientMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound any) *gomock.Call

GetLogicalSwitchPort indicates an expected call of GetLogicalSwitchPort.

func (*MockNbClientMockRecorder) GetNATByUUID added in v1.12.1

func (mr *MockNbClientMockRecorder) GetNATByUUID(uuid any) *gomock.Call

GetNATByUUID indicates an expected call of GetNATByUUID.

func (*MockNbClientMockRecorder) GetNbGlobal added in v1.12.1

func (mr *MockNbClientMockRecorder) GetNbGlobal() *gomock.Call

GetNbGlobal indicates an expected call of GetNbGlobal.

func (*MockNbClientMockRecorder) GetPortGroup added in v1.12.1

func (mr *MockNbClientMockRecorder) GetPortGroup(pgName, ignoreNotFound any) *gomock.Call

GetPortGroup indicates an expected call of GetPortGroup.

func (*MockNbClientMockRecorder) ListAddressSets added in v1.12.1

func (mr *MockNbClientMockRecorder) ListAddressSets(externalIDs any) *gomock.Call

ListAddressSets indicates an expected call of ListAddressSets.

func (*MockNbClientMockRecorder) ListDHCPOptions added in v1.12.1

func (mr *MockNbClientMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs any) *gomock.Call

ListDHCPOptions indicates an expected call of ListDHCPOptions.

func (*MockNbClientMockRecorder) ListLoadBalancerHealthChecks added in v1.12.2

func (mr *MockNbClientMockRecorder) ListLoadBalancerHealthChecks(filter any) *gomock.Call

ListLoadBalancerHealthChecks indicates an expected call of ListLoadBalancerHealthChecks.

func (*MockNbClientMockRecorder) ListLoadBalancers added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLoadBalancers(filter any) *gomock.Call

ListLoadBalancers indicates an expected call of ListLoadBalancers.

func (*MockNbClientMockRecorder) ListLogicalRouter added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalRouter(needVendorFilter, filter any) *gomock.Call

ListLogicalRouter indicates an expected call of ListLogicalRouter.

func (*MockNbClientMockRecorder) ListLogicalRouterPolicies added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue any) *gomock.Call

ListLogicalRouterPolicies indicates an expected call of ListLogicalRouterPolicies.

func (*MockNbClientMockRecorder) ListLogicalRouterPorts added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalRouterPorts(externalIDs, filter any) *gomock.Call

ListLogicalRouterPorts indicates an expected call of ListLogicalRouterPorts.

func (*MockNbClientMockRecorder) ListLogicalRouterStaticRoutes added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs any) *gomock.Call

ListLogicalRouterStaticRoutes indicates an expected call of ListLogicalRouterStaticRoutes.

func (*MockNbClientMockRecorder) ListLogicalRouterStaticRoutesByOption added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value any) *gomock.Call

ListLogicalRouterStaticRoutesByOption indicates an expected call of ListLogicalRouterStaticRoutesByOption.

func (*MockNbClientMockRecorder) ListLogicalSwitch added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalSwitch(needVendorFilter, filter any) *gomock.Call

ListLogicalSwitch indicates an expected call of ListLogicalSwitch.

func (*MockNbClientMockRecorder) ListLogicalSwitchPorts added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter any) *gomock.Call

ListLogicalSwitchPorts indicates an expected call of ListLogicalSwitchPorts.

func (*MockNbClientMockRecorder) ListLogicalSwitchPortsWithLegacyExternalIDs added in v1.12.1

func (mr *MockNbClientMockRecorder) ListLogicalSwitchPortsWithLegacyExternalIDs() *gomock.Call

ListLogicalSwitchPortsWithLegacyExternalIDs indicates an expected call of ListLogicalSwitchPortsWithLegacyExternalIDs.

func (*MockNbClientMockRecorder) ListNats added in v1.12.1

func (mr *MockNbClientMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs any) *gomock.Call

ListNats indicates an expected call of ListNats.

func (*MockNbClientMockRecorder) ListNormalLogicalSwitchPorts added in v1.12.1

func (mr *MockNbClientMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs any) *gomock.Call

ListNormalLogicalSwitchPorts indicates an expected call of ListNormalLogicalSwitchPorts.

func (*MockNbClientMockRecorder) ListPortGroups added in v1.12.1

func (mr *MockNbClientMockRecorder) ListPortGroups(externalIDs any) *gomock.Call

ListPortGroups indicates an expected call of ListPortGroups.

func (*MockNbClientMockRecorder) LoadBalancerAddHealthCheck added in v1.12.2

func (mr *MockNbClientMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals any) *gomock.Call

LoadBalancerAddHealthCheck indicates an expected call of LoadBalancerAddHealthCheck.

func (*MockNbClientMockRecorder) LoadBalancerAddIPPortMapping added in v1.12.2

func (mr *MockNbClientMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call

LoadBalancerAddIPPortMapping indicates an expected call of LoadBalancerAddIPPortMapping.

func (*MockNbClientMockRecorder) LoadBalancerAddVip added in v1.12.1

func (mr *MockNbClientMockRecorder) LoadBalancerAddVip(lbName, vip any, backends ...any) *gomock.Call

LoadBalancerAddVip indicates an expected call of LoadBalancerAddVip.

func (*MockNbClientMockRecorder) LoadBalancerDeleteHealthCheck added in v1.12.2

func (mr *MockNbClientMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid any) *gomock.Call

LoadBalancerDeleteHealthCheck indicates an expected call of LoadBalancerDeleteHealthCheck.

func (*MockNbClientMockRecorder) LoadBalancerDeleteIPPortMapping added in v1.12.2

func (mr *MockNbClientMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip any) *gomock.Call

LoadBalancerDeleteIPPortMapping indicates an expected call of LoadBalancerDeleteIPPortMapping.

func (*MockNbClientMockRecorder) LoadBalancerDeleteVip added in v1.12.1

func (mr *MockNbClientMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck any) *gomock.Call

LoadBalancerDeleteVip indicates an expected call of LoadBalancerDeleteVip.

func (*MockNbClientMockRecorder) LoadBalancerExists added in v1.12.1

func (mr *MockNbClientMockRecorder) LoadBalancerExists(lbName any) *gomock.Call

LoadBalancerExists indicates an expected call of LoadBalancerExists.

func (*MockNbClientMockRecorder) LoadBalancerHealthCheckExists added in v1.12.2

func (mr *MockNbClientMockRecorder) LoadBalancerHealthCheckExists(lbName, vip any) *gomock.Call

LoadBalancerHealthCheckExists indicates an expected call of LoadBalancerHealthCheckExists.

func (*MockNbClientMockRecorder) LoadBalancerUpdateIPPortMapping added in v1.12.2

func (mr *MockNbClientMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call

LoadBalancerUpdateIPPortMapping indicates an expected call of LoadBalancerUpdateIPPortMapping.

func (*MockNbClientMockRecorder) LogicalRouterExists added in v1.12.1

func (mr *MockNbClientMockRecorder) LogicalRouterExists(name any) *gomock.Call

LogicalRouterExists indicates an expected call of LogicalRouterExists.

func (*MockNbClientMockRecorder) LogicalRouterPortExists added in v1.12.1

func (mr *MockNbClientMockRecorder) LogicalRouterPortExists(lrpName any) *gomock.Call

LogicalRouterPortExists indicates an expected call of LogicalRouterPortExists.

func (*MockNbClientMockRecorder) LogicalRouterStaticRouteExists added in v1.12.1

func (mr *MockNbClientMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop any) *gomock.Call

LogicalRouterStaticRouteExists indicates an expected call of LogicalRouterStaticRouteExists.

func (*MockNbClientMockRecorder) LogicalRouterUpdateLoadBalancers added in v1.12.1

func (mr *MockNbClientMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op any, lbNames ...any) *gomock.Call

LogicalRouterUpdateLoadBalancers indicates an expected call of LogicalRouterUpdateLoadBalancers.

func (*MockNbClientMockRecorder) LogicalSwitchExists added in v1.12.1

func (mr *MockNbClientMockRecorder) LogicalSwitchExists(lsName any) *gomock.Call

LogicalSwitchExists indicates an expected call of LogicalSwitchExists.

func (*MockNbClientMockRecorder) LogicalSwitchPortExists added in v1.12.1

func (mr *MockNbClientMockRecorder) LogicalSwitchPortExists(name any) *gomock.Call

LogicalSwitchPortExists indicates an expected call of LogicalSwitchPortExists.

func (*MockNbClientMockRecorder) LogicalSwitchUpdateLoadBalancers added in v1.12.1

func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op any, lbNames ...any) *gomock.Call

LogicalSwitchUpdateLoadBalancers indicates an expected call of LogicalSwitchUpdateLoadBalancers.

func (*MockNbClientMockRecorder) NatExists added in v1.12.1

func (mr *MockNbClientMockRecorder) NatExists(lrName, natType, externalIP, logicalIP any) *gomock.Call

NatExists indicates an expected call of NatExists.

func (*MockNbClientMockRecorder) PortGroupAddPorts added in v1.12.1

func (mr *MockNbClientMockRecorder) PortGroupAddPorts(pgName any, lspNames ...any) *gomock.Call

PortGroupAddPorts indicates an expected call of PortGroupAddPorts.

func (*MockNbClientMockRecorder) PortGroupExists added in v1.12.1

func (mr *MockNbClientMockRecorder) PortGroupExists(pgName any) *gomock.Call

PortGroupExists indicates an expected call of PortGroupExists.

func (*MockNbClientMockRecorder) PortGroupRemovePorts added in v1.12.1

func (mr *MockNbClientMockRecorder) PortGroupRemovePorts(pgName any, lspNames ...any) *gomock.Call

PortGroupRemovePorts indicates an expected call of PortGroupRemovePorts.

func (*MockNbClientMockRecorder) PortGroupSetPorts added in v1.12.1

func (mr *MockNbClientMockRecorder) PortGroupSetPorts(pgName, ports any) *gomock.Call

PortGroupSetPorts indicates an expected call of PortGroupSetPorts.

func (*MockNbClientMockRecorder) RemoveLogicalPatchPort added in v1.12.1

func (mr *MockNbClientMockRecorder) RemoveLogicalPatchPort(lspName, lrpName any) *gomock.Call

RemoveLogicalPatchPort indicates an expected call of RemoveLogicalPatchPort.

func (*MockNbClientMockRecorder) SGLostACL added in v1.12.12

func (mr *MockNbClientMockRecorder) SGLostACL(sg any) *gomock.Call

SGLostACL indicates an expected call of SGLostACL.

func (*MockNbClientMockRecorder) SetACLLog added in v1.12.1

func (mr *MockNbClientMockRecorder) SetACLLog(pgName, logEnable, isIngress any) *gomock.Call

SetACLLog indicates an expected call of SetACLLog.

func (*MockNbClientMockRecorder) SetAzName added in v1.12.1

func (mr *MockNbClientMockRecorder) SetAzName(azName any) *gomock.Call

SetAzName indicates an expected call of SetAzName.

func (*MockNbClientMockRecorder) SetICAutoRoute added in v1.12.1

func (mr *MockNbClientMockRecorder) SetICAutoRoute(enable, blackList any) *gomock.Call

SetICAutoRoute indicates an expected call of SetICAutoRoute.

func (*MockNbClientMockRecorder) SetLoadBalancerAffinityTimeout added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout any) *gomock.Call

SetLoadBalancerAffinityTimeout indicates an expected call of SetLoadBalancerAffinityTimeout.

func (*MockNbClientMockRecorder) SetLogicalSwitchPortArpProxy added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy any) *gomock.Call

SetLogicalSwitchPortArpProxy indicates an expected call of SetLogicalSwitchPortArpProxy.

func (*MockNbClientMockRecorder) SetLogicalSwitchPortExternalIDs added in v1.12.5

func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortExternalIDs(lspName, externalIDs any) *gomock.Call

SetLogicalSwitchPortExternalIDs indicates an expected call of SetLogicalSwitchPortExternalIDs.

func (*MockNbClientMockRecorder) SetLogicalSwitchPortSecurity added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips any) *gomock.Call

SetLogicalSwitchPortSecurity indicates an expected call of SetLogicalSwitchPortSecurity.

func (*MockNbClientMockRecorder) SetLogicalSwitchPortVirtualParents added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents any, ips ...any) *gomock.Call

SetLogicalSwitchPortVirtualParents indicates an expected call of SetLogicalSwitchPortVirtualParents.

func (*MockNbClientMockRecorder) SetLogicalSwitchPortVlanTag added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID any) *gomock.Call

SetLogicalSwitchPortVlanTag indicates an expected call of SetLogicalSwitchPortVlanTag.

func (*MockNbClientMockRecorder) SetLogicalSwitchPortsSecurityGroup added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op any) *gomock.Call

SetLogicalSwitchPortsSecurityGroup indicates an expected call of SetLogicalSwitchPortsSecurityGroup.

func (*MockNbClientMockRecorder) SetLogicalSwitchPrivate added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets any) *gomock.Call

SetLogicalSwitchPrivate indicates an expected call of SetLogicalSwitchPrivate.

func (*MockNbClientMockRecorder) SetLsCtSkipDstLportIPs added in v1.12.5

func (mr *MockNbClientMockRecorder) SetLsCtSkipDstLportIPs(enabled any) *gomock.Call

SetLsCtSkipDstLportIPs indicates an expected call of SetLsCtSkipDstLportIPs.

func (*MockNbClientMockRecorder) SetLsDnatModDlDst added in v1.12.1

func (mr *MockNbClientMockRecorder) SetLsDnatModDlDst(enabled any) *gomock.Call

SetLsDnatModDlDst indicates an expected call of SetLsDnatModDlDst.

func (*MockNbClientMockRecorder) SetUseCtInvMatch added in v1.12.1

func (mr *MockNbClientMockRecorder) SetUseCtInvMatch() *gomock.Call

SetUseCtInvMatch indicates an expected call of SetUseCtInvMatch.

func (*MockNbClientMockRecorder) Transact added in v1.12.1

func (mr *MockNbClientMockRecorder) Transact(method, operations any) *gomock.Call

Transact indicates an expected call of Transact.

func (*MockNbClientMockRecorder) UpdateDHCPOptions added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateDHCPOptions(subnet, mtu any) *gomock.Call

UpdateDHCPOptions indicates an expected call of UpdateDHCPOptions.

func (*MockNbClientMockRecorder) UpdateDnatAndSnat added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType any) *gomock.Call

UpdateDnatAndSnat indicates an expected call of UpdateDnatAndSnat.

func (*MockNbClientMockRecorder) UpdateEgressACLOps added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call

UpdateEgressACLOps indicates an expected call of UpdateEgressACLOps.

func (*MockNbClientMockRecorder) UpdateIngressACLOps added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call

UpdateIngressACLOps indicates an expected call of UpdateIngressACLOps.

func (*MockNbClientMockRecorder) UpdateLogicalRouterPortOptions added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options any) *gomock.Call

UpdateLogicalRouterPortOptions indicates an expected call of UpdateLogicalRouterPortOptions.

func (*MockNbClientMockRecorder) UpdateLogicalRouterPortRA added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA any) *gomock.Call

UpdateLogicalRouterPortRA indicates an expected call of UpdateLogicalRouterPortRA.

func (*MockNbClientMockRecorder) UpdateLogicalSwitchACL added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateLogicalSwitchACL(lsName, subnetAcls any) *gomock.Call

UpdateLogicalSwitchACL indicates an expected call of UpdateLogicalSwitchACL.

func (*MockNbClientMockRecorder) UpdateNbGlobal added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateNbGlobal(nbGlobal any, fields ...any) *gomock.Call

UpdateNbGlobal indicates an expected call of UpdateNbGlobal.

func (*MockNbClientMockRecorder) UpdateSgACL added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateSgACL(sg, direction any) *gomock.Call

UpdateSgACL indicates an expected call of UpdateSgACL.

func (*MockNbClientMockRecorder) UpdateSnat added in v1.12.1

func (mr *MockNbClientMockRecorder) UpdateSnat(lrName, externalIP, logicalIP any) *gomock.Call

UpdateSnat indicates an expected call of UpdateSnat.

type MockPortGroup

type MockPortGroup struct {
	// contains filtered or unexported fields
}

MockPortGroup is a mock of PortGroup interface.

func NewMockPortGroup

func NewMockPortGroup(ctrl *gomock.Controller) *MockPortGroup

NewMockPortGroup creates a new mock instance.

func (*MockPortGroup) CreatePortGroup

func (m *MockPortGroup) CreatePortGroup(pgName string, externalIDs map[string]string) error

CreatePortGroup mocks base method.

func (*MockPortGroup) DeletePortGroup

func (m *MockPortGroup) DeletePortGroup(pgName string) error

DeletePortGroup mocks base method.

func (*MockPortGroup) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPortGroup) GetPortGroup

func (m *MockPortGroup) GetPortGroup(pgName string, ignoreNotFound bool) (*ovnnb.PortGroup, error)

GetPortGroup mocks base method.

func (*MockPortGroup) ListPortGroups

func (m *MockPortGroup) ListPortGroups(externalIDs map[string]string) ([]ovnnb.PortGroup, error)

ListPortGroups mocks base method.

func (*MockPortGroup) PortGroupAddPorts

func (m *MockPortGroup) PortGroupAddPorts(pgName string, lspNames ...string) error

PortGroupAddPorts mocks base method.

func (*MockPortGroup) PortGroupExists

func (m *MockPortGroup) PortGroupExists(pgName string) (bool, error)

PortGroupExists mocks base method.

func (*MockPortGroup) PortGroupRemovePorts

func (m *MockPortGroup) PortGroupRemovePorts(pgName string, lspNames ...string) error

PortGroupRemovePorts mocks base method.

func (*MockPortGroup) PortGroupSetPorts

func (m *MockPortGroup) PortGroupSetPorts(pgName string, ports []string) error

PortGroupSetPorts mocks base method.

type MockPortGroupMockRecorder

type MockPortGroupMockRecorder struct {
	// contains filtered or unexported fields
}

MockPortGroupMockRecorder is the mock recorder for MockPortGroup.

func (*MockPortGroupMockRecorder) CreatePortGroup

func (mr *MockPortGroupMockRecorder) CreatePortGroup(pgName, externalIDs any) *gomock.Call

CreatePortGroup indicates an expected call of CreatePortGroup.

func (*MockPortGroupMockRecorder) DeletePortGroup

func (mr *MockPortGroupMockRecorder) DeletePortGroup(pgName any) *gomock.Call

DeletePortGroup indicates an expected call of DeletePortGroup.

func (*MockPortGroupMockRecorder) GetPortGroup

func (mr *MockPortGroupMockRecorder) GetPortGroup(pgName, ignoreNotFound any) *gomock.Call

GetPortGroup indicates an expected call of GetPortGroup.

func (*MockPortGroupMockRecorder) ListPortGroups

func (mr *MockPortGroupMockRecorder) ListPortGroups(externalIDs any) *gomock.Call

ListPortGroups indicates an expected call of ListPortGroups.

func (*MockPortGroupMockRecorder) PortGroupAddPorts

func (mr *MockPortGroupMockRecorder) PortGroupAddPorts(pgName any, lspNames ...any) *gomock.Call

PortGroupAddPorts indicates an expected call of PortGroupAddPorts.

func (*MockPortGroupMockRecorder) PortGroupExists

func (mr *MockPortGroupMockRecorder) PortGroupExists(pgName any) *gomock.Call

PortGroupExists indicates an expected call of PortGroupExists.

func (*MockPortGroupMockRecorder) PortGroupRemovePorts

func (mr *MockPortGroupMockRecorder) PortGroupRemovePorts(pgName any, lspNames ...any) *gomock.Call

PortGroupRemovePorts indicates an expected call of PortGroupRemovePorts.

func (*MockPortGroupMockRecorder) PortGroupSetPorts

func (mr *MockPortGroupMockRecorder) PortGroupSetPorts(pgName, ports any) *gomock.Call

PortGroupSetPorts indicates an expected call of PortGroupSetPorts.

type MockSbClient added in v1.12.1

type MockSbClient struct {
	// contains filtered or unexported fields
}

MockSbClient is a mock of SbClient interface.

func NewMockSbClient added in v1.12.1

func NewMockSbClient(ctrl *gomock.Controller) *MockSbClient

NewMockSbClient creates a new mock instance.

func (*MockSbClient) DeleteChassis added in v1.12.1

func (m *MockSbClient) DeleteChassis(chassisName string) error

DeleteChassis mocks base method.

func (*MockSbClient) DeleteChassisByHost added in v1.12.1

func (m *MockSbClient) DeleteChassisByHost(node string) error

DeleteChassisByHost mocks base method.

func (*MockSbClient) EXPECT added in v1.12.1

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSbClient) GetAllChassisByHost added in v1.12.1

func (m *MockSbClient) GetAllChassisByHost(nodeName string) (*[]ovnsb.Chassis, error)

GetAllChassisByHost mocks base method.

func (*MockSbClient) GetChassis added in v1.12.1

func (m *MockSbClient) GetChassis(chassisName string, ignoreNotFound bool) (*ovnsb.Chassis, error)

GetChassis mocks base method.

func (*MockSbClient) GetChassisByHost added in v1.12.1

func (m *MockSbClient) GetChassisByHost(nodeName string) (*ovnsb.Chassis, error)

GetChassisByHost mocks base method.

func (*MockSbClient) GetEntityInfo added in v1.12.1

func (m *MockSbClient) GetEntityInfo(entity any) error

GetEntityInfo mocks base method.

func (*MockSbClient) GetKubeOvnChassisses added in v1.12.1

func (m *MockSbClient) GetKubeOvnChassisses() (*[]ovnsb.Chassis, error)

GetKubeOvnChassisses mocks base method.

func (*MockSbClient) ListChassis added in v1.12.1

func (m *MockSbClient) ListChassis() (*[]ovnsb.Chassis, error)

ListChassis mocks base method.

func (*MockSbClient) Transact added in v1.12.1

func (m *MockSbClient) Transact(method string, operations []ovsdb.Operation) error

Transact mocks base method.

func (*MockSbClient) UpdateChassis added in v1.12.1

func (m *MockSbClient) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) error

UpdateChassis mocks base method.

func (*MockSbClient) UpdateChassisTag added in v1.12.1

func (m *MockSbClient) UpdateChassisTag(chassisName, nodeName string) error

UpdateChassisTag mocks base method.

type MockSbClientMockRecorder added in v1.12.1

type MockSbClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockSbClientMockRecorder is the mock recorder for MockSbClient.

func (*MockSbClientMockRecorder) DeleteChassis added in v1.12.1

func (mr *MockSbClientMockRecorder) DeleteChassis(chassisName any) *gomock.Call

DeleteChassis indicates an expected call of DeleteChassis.

func (*MockSbClientMockRecorder) DeleteChassisByHost added in v1.12.1

func (mr *MockSbClientMockRecorder) DeleteChassisByHost(node any) *gomock.Call

DeleteChassisByHost indicates an expected call of DeleteChassisByHost.

func (*MockSbClientMockRecorder) GetAllChassisByHost added in v1.12.1

func (mr *MockSbClientMockRecorder) GetAllChassisByHost(nodeName any) *gomock.Call

GetAllChassisByHost indicates an expected call of GetAllChassisByHost.

func (*MockSbClientMockRecorder) GetChassis added in v1.12.1

func (mr *MockSbClientMockRecorder) GetChassis(chassisName, ignoreNotFound any) *gomock.Call

GetChassis indicates an expected call of GetChassis.

func (*MockSbClientMockRecorder) GetChassisByHost added in v1.12.1

func (mr *MockSbClientMockRecorder) GetChassisByHost(nodeName any) *gomock.Call

GetChassisByHost indicates an expected call of GetChassisByHost.

func (*MockSbClientMockRecorder) GetEntityInfo added in v1.12.1

func (mr *MockSbClientMockRecorder) GetEntityInfo(entity any) *gomock.Call

GetEntityInfo indicates an expected call of GetEntityInfo.

func (*MockSbClientMockRecorder) GetKubeOvnChassisses added in v1.12.1

func (mr *MockSbClientMockRecorder) GetKubeOvnChassisses() *gomock.Call

GetKubeOvnChassisses indicates an expected call of GetKubeOvnChassisses.

func (*MockSbClientMockRecorder) ListChassis added in v1.12.1

func (mr *MockSbClientMockRecorder) ListChassis() *gomock.Call

ListChassis indicates an expected call of ListChassis.

func (*MockSbClientMockRecorder) Transact added in v1.12.1

func (mr *MockSbClientMockRecorder) Transact(method, operations any) *gomock.Call

Transact indicates an expected call of Transact.

func (*MockSbClientMockRecorder) UpdateChassis added in v1.12.1

func (mr *MockSbClientMockRecorder) UpdateChassis(chassis any, fields ...any) *gomock.Call

UpdateChassis indicates an expected call of UpdateChassis.

func (*MockSbClientMockRecorder) UpdateChassisTag added in v1.12.1

func (mr *MockSbClientMockRecorder) UpdateChassisTag(chassisName, nodeName any) *gomock.Call

UpdateChassisTag indicates an expected call of UpdateChassisTag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL