diff --git a/dist/images/ovn-ic-db-docker.sh b/dist/images/ovn-ic-db-docker.sh index 4d12c72bd04..917e8b5e312 100644 --- a/dist/images/ovn-ic-db-docker.sh +++ b/dist/images/ovn-ic-db-docker.sh @@ -1 +1 @@ -docker run -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn kubeovn/kube-ovn:v1.10.0 bash start-ic-db.sh +docker run -d --network=host -v /etc/ovn/:/etc/ovn -v /var/run/ovn:/var/run/ovn -v /var/log/ovn:/var/log/ovn kubeovn/kube-ovn:v1.13.0 bash start-ic-db.sh diff --git a/go.mod b/go.mod index 9760e6da430..2d7fabee8ea 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,6 @@ require ( github.com/emicklei/go-restful/v3 v3.11.2 github.com/evanphx/json-patch/v5 v5.8.1 github.com/go-logr/stdr v1.2.2 - github.com/golang/mock v1.6.0 github.com/greenpau/ovsdb v1.0.3 github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.4.0 github.com/k8snetworkplumbingwg/sriovnet v1.2.0 @@ -35,6 +34,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 github.com/vishvananda/netlink v1.2.1-beta.2 + go.uber.org/mock v0.4.0 golang.org/x/exp v0.0.0-20240119083558-1b970713d09a golang.org/x/mod v0.14.0 golang.org/x/sys v0.16.0 @@ -125,6 +125,7 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/mock v1.6.0 // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/google/btree v1.1.2 // indirect github.com/google/cadvisor v0.47.3 // indirect diff --git a/go.sum b/go.sum index b968ac8c358..b59aec5c082 100644 --- a/go.sum +++ b/go.sum @@ -2137,6 +2137,8 @@ go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo= go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU= +go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= diff --git a/hack/mockgen.sh b/hack/mockgen.sh index a4657a8d651..7ff3463c231 100755 --- a/hack/mockgen.sh +++ b/hack/mockgen.sh @@ -4,5 +4,5 @@ set -o errexit set -o nounset set -o pipefail -# require mockgen v1.6.0+ +# require go.uber.org/mock/mockgen go generate ./mocks \ No newline at end of file diff --git a/mocks/pkg/ovs/interface.go b/mocks/pkg/ovs/interface.go index 79732fb618c..6a436f37072 100644 --- a/mocks/pkg/ovs/interface.go +++ b/mocks/pkg/ovs/interface.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: ../pkg/ovs/interface.go +// +// Generated by this command: +// +// mockgen -source=../pkg/ovs/interface.go -destination=./pkg/ovs/interface.go -package=ovs +// // Package ovs is a generated GoMock package. package ovs @@ -7,13 +12,13 @@ package ovs import ( reflect "reflect" - gomock "github.com/golang/mock/gomock" v1 "github.com/kubeovn/kube-ovn/pkg/apis/kubeovn/v1" ovs "github.com/kubeovn/kube-ovn/pkg/ovs" ovnnb "github.com/kubeovn/kube-ovn/pkg/ovsdb/ovnnb" ovnsb "github.com/kubeovn/kube-ovn/pkg/ovsdb/ovnsb" util "github.com/kubeovn/kube-ovn/pkg/util" ovsdb "github.com/ovn-org/libovsdb/ovsdb" + gomock "go.uber.org/mock/gomock" v10 "k8s.io/api/networking/v1" ) @@ -64,7 +69,7 @@ func (m *MockNBGlobal) SetAzName(azName string) error { } // SetAzName indicates an expected call of SetAzName. -func (mr *MockNBGlobalMockRecorder) SetAzName(azName interface{}) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) SetAzName(azName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAzName", reflect.TypeOf((*MockNBGlobal)(nil).SetAzName), azName) } @@ -78,7 +83,7 @@ func (m *MockNBGlobal) SetICAutoRoute(enable bool, blackList []string) error { } // SetICAutoRoute indicates an expected call of SetICAutoRoute. -func (mr *MockNBGlobalMockRecorder) SetICAutoRoute(enable, blackList interface{}) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) SetICAutoRoute(enable, blackList any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetICAutoRoute", reflect.TypeOf((*MockNBGlobal)(nil).SetICAutoRoute), enable, blackList) } @@ -92,7 +97,7 @@ func (m *MockNBGlobal) SetLsDnatModDlDst(enabled bool) error { } // SetLsDnatModDlDst indicates an expected call of SetLsDnatModDlDst. -func (mr *MockNBGlobalMockRecorder) SetLsDnatModDlDst(enabled interface{}) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) SetLsDnatModDlDst(enabled any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLsDnatModDlDst", reflect.TypeOf((*MockNBGlobal)(nil).SetLsDnatModDlDst), enabled) } @@ -112,9 +117,9 @@ func (mr *MockNBGlobalMockRecorder) SetUseCtInvMatch() *gomock.Call { } // UpdateNbGlobal mocks base method. -func (m *MockNBGlobal) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...interface{}) error { +func (m *MockNBGlobal) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{nbGlobal} + varargs := []any{nbGlobal} for _, a := range fields { varargs = append(varargs, a) } @@ -124,9 +129,9 @@ func (m *MockNBGlobal) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...interf } // UpdateNbGlobal indicates an expected call of UpdateNbGlobal. -func (mr *MockNBGlobalMockRecorder) UpdateNbGlobal(nbGlobal interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) UpdateNbGlobal(nbGlobal any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{nbGlobal}, fields...) + varargs := append([]any{nbGlobal}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNbGlobal", reflect.TypeOf((*MockNBGlobal)(nil).UpdateNbGlobal), varargs...) } @@ -162,7 +167,7 @@ func (m *MockLogicalRouter) CreateLogicalRouter(lrName string) error { } // CreateLogicalRouter indicates an expected call of CreateLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) CreateLogicalRouter(lrName interface{}) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) CreateLogicalRouter(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).CreateLogicalRouter), lrName) } @@ -176,7 +181,7 @@ func (m *MockLogicalRouter) DeleteLogicalRouter(lrName string) error { } // DeleteLogicalRouter indicates an expected call of DeleteLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) DeleteLogicalRouter(lrName interface{}) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) DeleteLogicalRouter(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).DeleteLogicalRouter), lrName) } @@ -191,7 +196,7 @@ func (m *MockLogicalRouter) GetLogicalRouter(lrName string, ignoreNotFound bool) } // GetLogicalRouter indicates an expected call of GetLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) GetLogicalRouter(lrName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) GetLogicalRouter(lrName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).GetLogicalRouter), lrName, ignoreNotFound) } @@ -206,7 +211,7 @@ func (m *MockLogicalRouter) ListLogicalRouter(needVendorFilter bool, filter func } // ListLogicalRouter indicates an expected call of ListLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) ListLogicalRouter(needVendorFilter, filter interface{}) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) ListLogicalRouter(needVendorFilter, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).ListLogicalRouter), needVendorFilter, filter) } @@ -221,7 +226,7 @@ func (m *MockLogicalRouter) LogicalRouterExists(name string) (bool, error) { } // LogicalRouterExists indicates an expected call of LogicalRouterExists. -func (mr *MockLogicalRouterMockRecorder) LogicalRouterExists(name interface{}) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) LogicalRouterExists(name any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterExists", reflect.TypeOf((*MockLogicalRouter)(nil).LogicalRouterExists), name) } @@ -229,7 +234,7 @@ func (mr *MockLogicalRouterMockRecorder) LogicalRouterExists(name interface{}) * // LogicalRouterUpdateLoadBalancers mocks base method. func (m *MockLogicalRouter) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lrName, op} + varargs := []any{lrName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -239,9 +244,9 @@ func (m *MockLogicalRouter) LogicalRouterUpdateLoadBalancers(lrName string, op o } // LogicalRouterUpdateLoadBalancers indicates an expected call of LogicalRouterUpdateLoadBalancers. -func (mr *MockLogicalRouterMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op interface{}, lbNames ...interface{}) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op any, lbNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lrName, op}, lbNames...) + varargs := append([]any{lrName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterUpdateLoadBalancers", reflect.TypeOf((*MockLogicalRouter)(nil).LogicalRouterUpdateLoadBalancers), varargs...) } @@ -277,7 +282,7 @@ func (m *MockLogicalRouterPort) CreateLogicalRouterPort(lrName, lrpName, mac str } // CreateLogicalRouterPort indicates an expected call of CreateLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).CreateLogicalRouterPort), lrName, lrpName, mac, networks) } @@ -291,7 +296,7 @@ func (m *MockLogicalRouterPort) CreatePeerRouterPort(localRouter, remoteRouter, } // CreatePeerRouterPort indicates an expected call of CreatePeerRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePeerRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).CreatePeerRouterPort), localRouter, remoteRouter, localRouterPortIP) } @@ -305,7 +310,7 @@ func (m *MockLogicalRouterPort) DeleteLogicalRouterPort(lrpName string) error { } // DeleteLogicalRouterPort indicates an expected call of DeleteLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPort(lrpName interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPort(lrpName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).DeleteLogicalRouterPort), lrpName) } @@ -319,7 +324,7 @@ func (m *MockLogicalRouterPort) DeleteLogicalRouterPorts(externalIDs map[string] } // DeleteLogicalRouterPorts indicates an expected call of DeleteLogicalRouterPorts. -func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPorts", reflect.TypeOf((*MockLogicalRouterPort)(nil).DeleteLogicalRouterPorts), externalIDs, filter) } @@ -334,7 +339,7 @@ func (m *MockLogicalRouterPort) GetLogicalRouterPort(lrpName string, ignoreNotFo } // GetLogicalRouterPort indicates an expected call of GetLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).GetLogicalRouterPort), lrpName, ignoreNotFound) } @@ -349,7 +354,7 @@ func (m *MockLogicalRouterPort) GetLogicalRouterPortByUUID(uuid string) (*ovnnb. } // GetLogicalRouterPortByUUID indicates an expected call of GetLogicalRouterPortByUUID. -func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPortByUUID(uuid interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPortByUUID(uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPortByUUID", reflect.TypeOf((*MockLogicalRouterPort)(nil).GetLogicalRouterPortByUUID), uuid) } @@ -364,7 +369,7 @@ func (m *MockLogicalRouterPort) ListGatewayChassisByLogicalRouterPort(lrpName st } // ListGatewayChassisByLogicalRouterPort indicates an expected call of ListGatewayChassisByLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListGatewayChassisByLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).ListGatewayChassisByLogicalRouterPort), lrpName, ignoreNotFound) } @@ -379,7 +384,7 @@ func (m *MockLogicalRouterPort) ListLogicalRouterPorts(externalIDs map[string]st } // ListLogicalRouterPorts indicates an expected call of ListLogicalRouterPorts. -func (mr *MockLogicalRouterPortMockRecorder) ListLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) ListLogicalRouterPorts(externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPorts", reflect.TypeOf((*MockLogicalRouterPort)(nil).ListLogicalRouterPorts), externalIDs, filter) } @@ -394,7 +399,7 @@ func (m *MockLogicalRouterPort) LogicalRouterPortExists(lrpName string) (bool, e } // LogicalRouterPortExists indicates an expected call of LogicalRouterPortExists. -func (mr *MockLogicalRouterPortMockRecorder) LogicalRouterPortExists(lrpName interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) LogicalRouterPortExists(lrpName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterPortExists", reflect.TypeOf((*MockLogicalRouterPort)(nil).LogicalRouterPortExists), lrpName) } @@ -408,7 +413,7 @@ func (m *MockLogicalRouterPort) UpdateLogicalRouterPortOptions(lrpName string, o } // UpdateLogicalRouterPortOptions indicates an expected call of UpdateLogicalRouterPortOptions. -func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortOptions", reflect.TypeOf((*MockLogicalRouterPort)(nil).UpdateLogicalRouterPortOptions), lrpName, options) } @@ -422,7 +427,7 @@ func (m *MockLogicalRouterPort) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigs } // UpdateLogicalRouterPortRA indicates an expected call of UpdateLogicalRouterPortRA. -func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA interface{}) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortRA", reflect.TypeOf((*MockLogicalRouterPort)(nil).UpdateLogicalRouterPortRA), lrpName, ipv6RAConfigsStr, enableIPv6RA) } @@ -451,9 +456,9 @@ func (m *MockGatewayChassis) EXPECT() *MockGatewayChassisMockRecorder { } // UpdateGatewayChassis mocks base method. -func (m *MockGatewayChassis) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...interface{}) error { +func (m *MockGatewayChassis) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{gwChassis} + varargs := []any{gwChassis} for _, a := range fields { varargs = append(varargs, a) } @@ -463,9 +468,9 @@ func (m *MockGatewayChassis) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassi } // UpdateGatewayChassis indicates an expected call of UpdateGatewayChassis. -func (mr *MockGatewayChassisMockRecorder) UpdateGatewayChassis(gwChassis interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockGatewayChassisMockRecorder) UpdateGatewayChassis(gwChassis any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{gwChassis}, fields...) + varargs := append([]any{gwChassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateGatewayChassis", reflect.TypeOf((*MockGatewayChassis)(nil).UpdateGatewayChassis), varargs...) } @@ -502,7 +507,7 @@ func (m *MockBFD) CreateBFD(lrpName, dstIP string, minRx, minTx, detectMult int) } // CreateBFD indicates an expected call of CreateBFD. -func (mr *MockBFDMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult interface{}) *gomock.Call { +func (mr *MockBFDMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBFD", reflect.TypeOf((*MockBFD)(nil).CreateBFD), lrpName, dstIP, minRx, minTx, detectMult) } @@ -516,7 +521,7 @@ func (m *MockBFD) DeleteBFD(lrpName, dstIP string) error { } // DeleteBFD indicates an expected call of DeleteBFD. -func (mr *MockBFDMockRecorder) DeleteBFD(lrpName, dstIP interface{}) *gomock.Call { +func (mr *MockBFDMockRecorder) DeleteBFD(lrpName, dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBFD", reflect.TypeOf((*MockBFD)(nil).DeleteBFD), lrpName, dstIP) } @@ -531,7 +536,7 @@ func (m *MockBFD) ListBFDs(lrpName, dstIP string) ([]ovnnb.BFD, error) { } // ListBFDs indicates an expected call of ListBFDs. -func (mr *MockBFDMockRecorder) ListBFDs(lrpName, dstIP interface{}) *gomock.Call { +func (mr *MockBFDMockRecorder) ListBFDs(lrpName, dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBFDs", reflect.TypeOf((*MockBFD)(nil).ListBFDs), lrpName, dstIP) } @@ -546,7 +551,7 @@ func (m *MockBFD) ListDownBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListDownBFDs indicates an expected call of ListDownBFDs. -func (mr *MockBFDMockRecorder) ListDownBFDs(dstIP interface{}) *gomock.Call { +func (mr *MockBFDMockRecorder) ListDownBFDs(dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDownBFDs", reflect.TypeOf((*MockBFD)(nil).ListDownBFDs), dstIP) } @@ -561,7 +566,7 @@ func (m *MockBFD) ListUpBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListUpBFDs indicates an expected call of ListUpBFDs. -func (mr *MockBFDMockRecorder) ListUpBFDs(dstIP interface{}) *gomock.Call { +func (mr *MockBFDMockRecorder) ListUpBFDs(dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUpBFDs", reflect.TypeOf((*MockBFD)(nil).ListUpBFDs), dstIP) } @@ -579,9 +584,9 @@ func (mr *MockBFDMockRecorder) MonitorBFD() *gomock.Call { } // UpdateBFD mocks base method. -func (m *MockBFD) UpdateBFD(bfd *ovnnb.BFD, fields ...interface{}) error { +func (m *MockBFD) UpdateBFD(bfd *ovnnb.BFD, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{bfd} + varargs := []any{bfd} for _, a := range fields { varargs = append(varargs, a) } @@ -591,9 +596,9 @@ func (m *MockBFD) UpdateBFD(bfd *ovnnb.BFD, fields ...interface{}) error { } // UpdateBFD indicates an expected call of UpdateBFD. -func (mr *MockBFDMockRecorder) UpdateBFD(bfd interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockBFDMockRecorder) UpdateBFD(bfd any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{bfd}, fields...) + varargs := append([]any{bfd}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBFD", reflect.TypeOf((*MockBFD)(nil).UpdateBFD), varargs...) } @@ -629,7 +634,7 @@ func (m *MockLogicalSwitch) CreateBareLogicalSwitch(lsName string) error { } // CreateBareLogicalSwitch indicates an expected call of CreateBareLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) CreateBareLogicalSwitch(lsName interface{}) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) CreateBareLogicalSwitch(lsName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).CreateBareLogicalSwitch), lsName) } @@ -643,7 +648,7 @@ func (m *MockLogicalSwitch) CreateLogicalSwitch(lsName, lrName, cidrBlock, gatew } // CreateLogicalSwitch indicates an expected call of CreateLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW interface{}) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).CreateLogicalSwitch), lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW) } @@ -657,7 +662,7 @@ func (m *MockLogicalSwitch) DeleteLogicalSwitch(lsName string) error { } // DeleteLogicalSwitch indicates an expected call of DeleteLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) DeleteLogicalSwitch(lsName interface{}) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) DeleteLogicalSwitch(lsName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).DeleteLogicalSwitch), lsName) } @@ -672,7 +677,7 @@ func (m *MockLogicalSwitch) ListLogicalSwitch(needVendorFilter bool, filter func } // ListLogicalSwitch indicates an expected call of ListLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) ListLogicalSwitch(needVendorFilter, filter interface{}) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) ListLogicalSwitch(needVendorFilter, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).ListLogicalSwitch), needVendorFilter, filter) } @@ -687,7 +692,7 @@ func (m *MockLogicalSwitch) LogicalSwitchExists(lsName string) (bool, error) { } // LogicalSwitchExists indicates an expected call of LogicalSwitchExists. -func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchExists(lsName interface{}) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchExists(lsName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchExists", reflect.TypeOf((*MockLogicalSwitch)(nil).LogicalSwitchExists), lsName) } @@ -695,7 +700,7 @@ func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchExists(lsName interface{}) // LogicalSwitchUpdateLoadBalancers mocks base method. func (m *MockLogicalSwitch) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName, op} + varargs := []any{lsName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -705,9 +710,9 @@ func (m *MockLogicalSwitch) LogicalSwitchUpdateLoadBalancers(lsName string, op o } // LogicalSwitchUpdateLoadBalancers indicates an expected call of LogicalSwitchUpdateLoadBalancers. -func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op interface{}, lbNames ...interface{}) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op any, lbNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName, op}, lbNames...) + varargs := append([]any{lsName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateLoadBalancers", reflect.TypeOf((*MockLogicalSwitch)(nil).LogicalSwitchUpdateLoadBalancers), varargs...) } @@ -720,7 +725,7 @@ func (m *MockLogicalSwitch) LogicalSwitchUpdateOtherConfig(lsName string, op ovs } // LogicalSwitchUpdateOtherConfig indicates an expected call of LogicalSwitchUpdateOtherConfig. -func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig interface{}) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateOtherConfig", reflect.TypeOf((*MockLogicalSwitch)(nil).LogicalSwitchUpdateOtherConfig), lsName, op, otherConfig) } @@ -757,7 +762,7 @@ func (m *MockLogicalSwitchPort) CreateBareLogicalSwitchPort(lsName, lspName, ip, } // CreateBareLogicalSwitchPort indicates an expected call of CreateBareLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateBareLogicalSwitchPort), lsName, lspName, ip, mac) } @@ -771,7 +776,7 @@ func (m *MockLogicalSwitchPort) CreateLocalnetLogicalSwitchPort(lsName, lspName, } // CreateLocalnetLogicalSwitchPort indicates an expected call of CreateLocalnetLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, vlanID interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, vlanID any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLocalnetLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateLocalnetLogicalSwitchPort), lsName, lspName, provider, vlanID) } @@ -785,7 +790,7 @@ func (m *MockLogicalSwitchPort) CreateLogicalSwitchPort(lsName, lspName, ip, mac } // CreateLogicalSwitchPort indicates an expected call of CreateLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateLogicalSwitchPort), lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc) } @@ -799,7 +804,7 @@ func (m *MockLogicalSwitchPort) CreateVirtualLogicalSwitchPort(lspName, lsName, } // CreateVirtualLogicalSwitchPort indicates an expected call of CreateVirtualLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateVirtualLogicalSwitchPort), lspName, lsName, ip) } @@ -807,7 +812,7 @@ func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPort(lspN // CreateVirtualLogicalSwitchPorts mocks base method. func (m *MockLogicalSwitchPort) CreateVirtualLogicalSwitchPorts(lsName string, ips ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName} + varargs := []any{lsName} for _, a := range ips { varargs = append(varargs, a) } @@ -817,9 +822,9 @@ func (m *MockLogicalSwitchPort) CreateVirtualLogicalSwitchPorts(lsName string, i } // CreateVirtualLogicalSwitchPorts indicates an expected call of CreateVirtualLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPorts(lsName interface{}, ips ...interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPorts(lsName any, ips ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName}, ips...) + varargs := append([]any{lsName}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateVirtualLogicalSwitchPorts), varargs...) } @@ -832,7 +837,7 @@ func (m *MockLogicalSwitchPort) DeleteLogicalSwitchPort(lspName string) error { } // DeleteLogicalSwitchPort indicates an expected call of DeleteLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPort(lspName interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPort(lspName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).DeleteLogicalSwitchPort), lspName) } @@ -846,7 +851,7 @@ func (m *MockLogicalSwitchPort) DeleteLogicalSwitchPorts(externalIDs map[string] } // DeleteLogicalSwitchPorts indicates an expected call of DeleteLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).DeleteLogicalSwitchPorts), externalIDs, filter) } @@ -860,7 +865,7 @@ func (m *MockLogicalSwitchPort) EnablePortLayer2forward(lspName string) error { } // EnablePortLayer2forward indicates an expected call of EnablePortLayer2forward. -func (mr *MockLogicalSwitchPortMockRecorder) EnablePortLayer2forward(lspName interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) EnablePortLayer2forward(lspName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePortLayer2forward", reflect.TypeOf((*MockLogicalSwitchPort)(nil).EnablePortLayer2forward), lspName) } @@ -875,7 +880,7 @@ func (m *MockLogicalSwitchPort) GetLogicalSwitchPort(lspName string, ignoreNotFo } // GetLogicalSwitchPort indicates an expected call of GetLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).GetLogicalSwitchPort), lspName, ignoreNotFound) } @@ -890,7 +895,7 @@ func (m *MockLogicalSwitchPort) ListLogicalSwitchPorts(needVendorFilter bool, ex } // ListLogicalSwitchPorts indicates an expected call of ListLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).ListLogicalSwitchPorts), needVendorFilter, externalIDs, filter) } @@ -920,7 +925,7 @@ func (m *MockLogicalSwitchPort) ListNormalLogicalSwitchPorts(needVendorFilter bo } // ListNormalLogicalSwitchPorts indicates an expected call of ListNormalLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNormalLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).ListNormalLogicalSwitchPorts), needVendorFilter, externalIDs) } @@ -935,7 +940,7 @@ func (m *MockLogicalSwitchPort) LogicalSwitchPortExists(name string) (bool, erro } // LogicalSwitchPortExists indicates an expected call of LogicalSwitchPortExists. -func (mr *MockLogicalSwitchPortMockRecorder) LogicalSwitchPortExists(name interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) LogicalSwitchPortExists(name any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchPortExists", reflect.TypeOf((*MockLogicalSwitchPort)(nil).LogicalSwitchPortExists), name) } @@ -949,7 +954,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortArpProxy(lspName string, ena } // SetLogicalSwitchPortArpProxy indicates an expected call of SetLogicalSwitchPortArpProxy. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortArpProxy", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortArpProxy), lspName, enableArpProxy) } @@ -963,7 +968,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortExternalIds(lspName string, } // SetLogicalSwitchPortExternalIds indicates an expected call of SetLogicalSwitchPortExternalIds. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortExternalIds(lspName, externalIds interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortExternalIds(lspName, externalIds any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortExternalIds", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortExternalIds), lspName, externalIds) } @@ -977,7 +982,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortSecurity(portSecurity bool, } // SetLogicalSwitchPortSecurity indicates an expected call of SetLogicalSwitchPortSecurity. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortSecurity", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortSecurity), portSecurity, lspName, mac, ips, vips) } @@ -985,7 +990,7 @@ func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity(portSe // SetLogicalSwitchPortVirtualParents mocks base method. func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVirtualParents(lsName, parents string, ips ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName, parents} + varargs := []any{lsName, parents} for _, a := range ips { varargs = append(varargs, a) } @@ -995,9 +1000,9 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVirtualParents(lsName, paren } // SetLogicalSwitchPortVirtualParents indicates an expected call of SetLogicalSwitchPortVirtualParents. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents interface{}, ips ...interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents any, ips ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName, parents}, ips...) + varargs := append([]any{lsName, parents}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortVirtualParents), varargs...) } @@ -1010,7 +1015,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVlanTag(lspName string, vlan } // SetLogicalSwitchPortVlanTag indicates an expected call of SetLogicalSwitchPortVlanTag. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVlanTag", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortVlanTag), lspName, vlanID) } @@ -1024,7 +1029,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortsSecurityGroup(sgName, op st } // SetLogicalSwitchPortsSecurityGroup indicates an expected call of SetLogicalSwitchPortsSecurityGroup. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortsSecurityGroup", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortsSecurityGroup), sgName, op) } @@ -1038,7 +1043,7 @@ func (m *MockLogicalSwitchPort) SetVirtualLogicalSwitchPortVirtualParents(lsName } // SetVirtualLogicalSwitchPortVirtualParents indicates an expected call of SetVirtualLogicalSwitchPortVirtualParents. -func (mr *MockLogicalSwitchPortMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents interface{}) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVirtualLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetVirtualLogicalSwitchPortVirtualParents), lsName, parents) } @@ -1075,7 +1080,7 @@ func (m *MockLoadBalancer) CreateLoadBalancer(lbName, protocol, selectFields str } // CreateLoadBalancer indicates an expected call of CreateLoadBalancer. -func (mr *MockLoadBalancerMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancer", reflect.TypeOf((*MockLoadBalancer)(nil).CreateLoadBalancer), lbName, protocol, selectFields) } @@ -1089,7 +1094,7 @@ func (m *MockLoadBalancer) DeleteLoadBalancers(filter func(*ovnnb.LoadBalancer) } // DeleteLoadBalancers indicates an expected call of DeleteLoadBalancers. -func (mr *MockLoadBalancerMockRecorder) DeleteLoadBalancers(filter interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) DeleteLoadBalancers(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancers", reflect.TypeOf((*MockLoadBalancer)(nil).DeleteLoadBalancers), filter) } @@ -1104,7 +1109,7 @@ func (m *MockLoadBalancer) GetLoadBalancer(lbName string, ignoreNotFound bool) ( } // GetLoadBalancer indicates an expected call of GetLoadBalancer. -func (mr *MockLoadBalancerMockRecorder) GetLoadBalancer(lbName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) GetLoadBalancer(lbName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancer", reflect.TypeOf((*MockLoadBalancer)(nil).GetLoadBalancer), lbName, ignoreNotFound) } @@ -1119,7 +1124,7 @@ func (m *MockLoadBalancer) ListLoadBalancers(filter func(*ovnnb.LoadBalancer) bo } // ListLoadBalancers indicates an expected call of ListLoadBalancers. -func (mr *MockLoadBalancerMockRecorder) ListLoadBalancers(filter interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) ListLoadBalancers(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancers", reflect.TypeOf((*MockLoadBalancer)(nil).ListLoadBalancers), filter) } @@ -1133,7 +1138,7 @@ func (m *MockLoadBalancer) LoadBalancerAddHealthCheck(lbName, vip string, ignore } // LoadBalancerAddHealthCheck indicates an expected call of LoadBalancerAddHealthCheck. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddHealthCheck", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerAddHealthCheck), lbName, vip, ignoreHealthCheck, ipPortMapping, externals) } @@ -1147,7 +1152,7 @@ func (m *MockLoadBalancer) LoadBalancerAddIPPortMapping(lbName, vip string, ipPo } // LoadBalancerAddIPPortMapping indicates an expected call of LoadBalancerAddIPPortMapping. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddIPPortMapping", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerAddIPPortMapping), lbName, vip, ipPortMappings) } @@ -1155,7 +1160,7 @@ func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip // LoadBalancerAddVip mocks base method. func (m *MockLoadBalancer) LoadBalancerAddVip(lbName, vip string, backends ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lbName, vip} + varargs := []any{lbName, vip} for _, a := range backends { varargs = append(varargs, a) } @@ -1165,9 +1170,9 @@ func (m *MockLoadBalancer) LoadBalancerAddVip(lbName, vip string, backends ...st } // LoadBalancerAddVip indicates an expected call of LoadBalancerAddVip. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddVip(lbName, vip interface{}, backends ...interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddVip(lbName, vip any, backends ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lbName, vip}, backends...) + varargs := append([]any{lbName, vip}, backends...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddVip", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerAddVip), varargs...) } @@ -1180,7 +1185,7 @@ func (m *MockLoadBalancer) LoadBalancerDeleteHealthCheck(lbName, uuid string) er } // LoadBalancerDeleteHealthCheck indicates an expected call of LoadBalancerDeleteHealthCheck. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteHealthCheck", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerDeleteHealthCheck), lbName, uuid) } @@ -1194,7 +1199,7 @@ func (m *MockLoadBalancer) LoadBalancerDeleteIPPortMapping(lbName, vip string) e } // LoadBalancerDeleteIPPortMapping indicates an expected call of LoadBalancerDeleteIPPortMapping. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteIPPortMapping", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerDeleteIPPortMapping), lbName, vip) } @@ -1208,7 +1213,7 @@ func (m *MockLoadBalancer) LoadBalancerDeleteVip(lbName, vip string, ignoreHealt } // LoadBalancerDeleteVip indicates an expected call of LoadBalancerDeleteVip. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteVip", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerDeleteVip), lbName, vip, ignoreHealthCheck) } @@ -1223,7 +1228,7 @@ func (m *MockLoadBalancer) LoadBalancerExists(lbName string) (bool, error) { } // LoadBalancerExists indicates an expected call of LoadBalancerExists. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerExists(lbName interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerExists(lbName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerExists", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerExists), lbName) } @@ -1237,7 +1242,7 @@ func (m *MockLoadBalancer) LoadBalancerUpdateIPPortMapping(lbName, vip string, i } // LoadBalancerUpdateIPPortMapping indicates an expected call of LoadBalancerUpdateIPPortMapping. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerUpdateIPPortMapping", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerUpdateIPPortMapping), lbName, vip, ipPortMappings) } @@ -1251,7 +1256,7 @@ func (m *MockLoadBalancer) SetLoadBalancerAffinityTimeout(lbName string, timeout } // SetLoadBalancerAffinityTimeout indicates an expected call of SetLoadBalancerAffinityTimeout. -func (mr *MockLoadBalancerMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout interface{}) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLoadBalancerAffinityTimeout", reflect.TypeOf((*MockLoadBalancer)(nil).SetLoadBalancerAffinityTimeout), lbName, timeout) } @@ -1288,7 +1293,7 @@ func (m *MockLoadBalancerHealthCheck) AddLoadBalancerHealthCheck(lbName, vip str } // AddLoadBalancerHealthCheck indicates an expected call of AddLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals interface{}) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).AddLoadBalancerHealthCheck), lbName, vip, externals) } @@ -1302,7 +1307,7 @@ func (m *MockLoadBalancerHealthCheck) CreateLoadBalancerHealthCheck(lbName, vip } // CreateLoadBalancerHealthCheck indicates an expected call of CreateLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc interface{}) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).CreateLoadBalancerHealthCheck), lbName, vip, lbhc) } @@ -1316,7 +1321,7 @@ func (m *MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthCheck(lbName, vip } // DeleteLoadBalancerHealthCheck indicates an expected call of DeleteLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip interface{}) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).DeleteLoadBalancerHealthCheck), lbName, vip) } @@ -1330,7 +1335,7 @@ func (m *MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthChecks(filter func } // DeleteLoadBalancerHealthChecks indicates an expected call of DeleteLoadBalancerHealthChecks. -func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthChecks(filter interface{}) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthChecks(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthChecks", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).DeleteLoadBalancerHealthChecks), filter) } @@ -1346,7 +1351,7 @@ func (m *MockLoadBalancerHealthCheck) GetLoadBalancerHealthCheck(lbName, vip str } // GetLoadBalancerHealthCheck indicates an expected call of GetLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).GetLoadBalancerHealthCheck), lbName, vip, ignoreNotFound) } @@ -1361,7 +1366,7 @@ func (m *MockLoadBalancerHealthCheck) ListLoadBalancerHealthChecks(filter func(* } // ListLoadBalancerHealthChecks indicates an expected call of ListLoadBalancerHealthChecks. -func (mr *MockLoadBalancerHealthCheckMockRecorder) ListLoadBalancerHealthChecks(filter interface{}) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) ListLoadBalancerHealthChecks(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancerHealthChecks", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).ListLoadBalancerHealthChecks), filter) } @@ -1376,7 +1381,7 @@ func (m *MockLoadBalancerHealthCheck) LoadBalancerHealthCheckExists(lbName, vip } // LoadBalancerHealthCheckExists indicates an expected call of LoadBalancerHealthCheckExists. -func (mr *MockLoadBalancerHealthCheckMockRecorder) LoadBalancerHealthCheckExists(lbName, vip interface{}) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) LoadBalancerHealthCheckExists(lbName, vip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerHealthCheckExists", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).LoadBalancerHealthCheckExists), lbName, vip) } @@ -1413,7 +1418,7 @@ func (m *MockPortGroup) CreatePortGroup(pgName string, externalIDs map[string]st } // CreatePortGroup indicates an expected call of CreatePortGroup. -func (mr *MockPortGroupMockRecorder) CreatePortGroup(pgName, externalIDs interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) CreatePortGroup(pgName, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePortGroup", reflect.TypeOf((*MockPortGroup)(nil).CreatePortGroup), pgName, externalIDs) } @@ -1427,7 +1432,7 @@ func (m *MockPortGroup) DeletePortGroup(pgName string) error { } // DeletePortGroup indicates an expected call of DeletePortGroup. -func (mr *MockPortGroupMockRecorder) DeletePortGroup(pgName interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) DeletePortGroup(pgName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePortGroup", reflect.TypeOf((*MockPortGroup)(nil).DeletePortGroup), pgName) } @@ -1442,7 +1447,7 @@ func (m *MockPortGroup) GetPortGroup(pgName string, ignoreNotFound bool) (*ovnnb } // GetPortGroup indicates an expected call of GetPortGroup. -func (mr *MockPortGroupMockRecorder) GetPortGroup(pgName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) GetPortGroup(pgName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPortGroup", reflect.TypeOf((*MockPortGroup)(nil).GetPortGroup), pgName, ignoreNotFound) } @@ -1457,7 +1462,7 @@ func (m *MockPortGroup) ListPortGroups(externalIDs map[string]string) ([]ovnnb.P } // ListPortGroups indicates an expected call of ListPortGroups. -func (mr *MockPortGroupMockRecorder) ListPortGroups(externalIDs interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) ListPortGroups(externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPortGroups", reflect.TypeOf((*MockPortGroup)(nil).ListPortGroups), externalIDs) } @@ -1465,7 +1470,7 @@ func (mr *MockPortGroupMockRecorder) ListPortGroups(externalIDs interface{}) *go // PortGroupAddPorts mocks base method. func (m *MockPortGroup) PortGroupAddPorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{pgName} + varargs := []any{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -1475,9 +1480,9 @@ func (m *MockPortGroup) PortGroupAddPorts(pgName string, lspNames ...string) err } // PortGroupAddPorts indicates an expected call of PortGroupAddPorts. -func (mr *MockPortGroupMockRecorder) PortGroupAddPorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupAddPorts(pgName any, lspNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{pgName}, lspNames...) + varargs := append([]any{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupAddPorts", reflect.TypeOf((*MockPortGroup)(nil).PortGroupAddPorts), varargs...) } @@ -1491,7 +1496,7 @@ func (m *MockPortGroup) PortGroupExists(pgName string) (bool, error) { } // PortGroupExists indicates an expected call of PortGroupExists. -func (mr *MockPortGroupMockRecorder) PortGroupExists(pgName interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupExists(pgName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupExists", reflect.TypeOf((*MockPortGroup)(nil).PortGroupExists), pgName) } @@ -1499,7 +1504,7 @@ func (mr *MockPortGroupMockRecorder) PortGroupExists(pgName interface{}) *gomock // PortGroupRemovePorts mocks base method. func (m *MockPortGroup) PortGroupRemovePorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{pgName} + varargs := []any{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -1509,9 +1514,9 @@ func (m *MockPortGroup) PortGroupRemovePorts(pgName string, lspNames ...string) } // PortGroupRemovePorts indicates an expected call of PortGroupRemovePorts. -func (mr *MockPortGroupMockRecorder) PortGroupRemovePorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupRemovePorts(pgName any, lspNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{pgName}, lspNames...) + varargs := append([]any{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupRemovePorts", reflect.TypeOf((*MockPortGroup)(nil).PortGroupRemovePorts), varargs...) } @@ -1524,7 +1529,7 @@ func (m *MockPortGroup) PortGroupSetPorts(pgName string, ports []string) error { } // PortGroupSetPorts indicates an expected call of PortGroupSetPorts. -func (mr *MockPortGroupMockRecorder) PortGroupSetPorts(pgName, ports interface{}) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupSetPorts(pgName, ports any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupSetPorts", reflect.TypeOf((*MockPortGroup)(nil).PortGroupSetPorts), pgName, ports) } @@ -1561,7 +1566,7 @@ func (m *MockACL) CreateGatewayACL(lsName, pgName, gateway string) error { } // CreateGatewayACL indicates an expected call of CreateGatewayACL. -func (mr *MockACLMockRecorder) CreateGatewayACL(lsName, pgName, gateway interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) CreateGatewayACL(lsName, pgName, gateway any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGatewayACL", reflect.TypeOf((*MockACL)(nil).CreateGatewayACL), lsName, pgName, gateway) } @@ -1575,7 +1580,7 @@ func (m *MockACL) CreateNodeACL(pgName, nodeIPStr, joinIPStr string) error { } // CreateNodeACL indicates an expected call of CreateNodeACL. -func (mr *MockACLMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNodeACL", reflect.TypeOf((*MockACL)(nil).CreateNodeACL), pgName, nodeIPStr, joinIPStr) } @@ -1589,7 +1594,7 @@ func (m *MockACL) CreateSgBaseACL(sgName, direction string) error { } // CreateSgBaseACL indicates an expected call of CreateSgBaseACL. -func (mr *MockACLMockRecorder) CreateSgBaseACL(sgName, direction interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) CreateSgBaseACL(sgName, direction any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgBaseACL", reflect.TypeOf((*MockACL)(nil).CreateSgBaseACL), sgName, direction) } @@ -1603,7 +1608,7 @@ func (m *MockACL) CreateSgDenyAllACL(sgName string) error { } // CreateSgDenyAllACL indicates an expected call of CreateSgDenyAllACL. -func (mr *MockACLMockRecorder) CreateSgDenyAllACL(sgName interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) CreateSgDenyAllACL(sgName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgDenyAllACL", reflect.TypeOf((*MockACL)(nil).CreateSgDenyAllACL), sgName) } @@ -1617,7 +1622,7 @@ func (m *MockACL) DeleteAcls(parentName, parentType, direction string, externalI } // DeleteAcls indicates an expected call of DeleteAcls. -func (mr *MockACLMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAcls", reflect.TypeOf((*MockACL)(nil).DeleteAcls), parentName, parentType, direction, externalIDs) } @@ -1632,7 +1637,7 @@ func (m *MockACL) DeleteAclsOps(parentName, parentType, direction string, extern } // DeleteAclsOps indicates an expected call of DeleteAclsOps. -func (mr *MockACLMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAclsOps", reflect.TypeOf((*MockACL)(nil).DeleteAclsOps), parentName, parentType, direction, externalIDs) } @@ -1646,7 +1651,7 @@ func (m *MockACL) SetACLLog(pgName, protocol string, logEnable, isIngress bool) } // SetACLLog indicates an expected call of SetACLLog. -func (mr *MockACLMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetACLLog", reflect.TypeOf((*MockACL)(nil).SetACLLog), pgName, protocol, logEnable, isIngress) } @@ -1660,7 +1665,7 @@ func (m *MockACL) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR stri } // SetLogicalSwitchPrivate indicates an expected call of SetLogicalSwitchPrivate. -func (mr *MockACLMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPrivate", reflect.TypeOf((*MockACL)(nil).SetLogicalSwitchPrivate), lsName, cidrBlock, nodeSwitchCIDR, allowSubnets) } @@ -1675,7 +1680,7 @@ func (m *MockACL) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protoco } // UpdateEgressACLOps indicates an expected call of UpdateEgressACLOps. -func (mr *MockACLMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEgressACLOps", reflect.TypeOf((*MockACL)(nil).UpdateEgressACLOps), pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap) } @@ -1690,7 +1695,7 @@ func (m *MockACL) UpdateIngressACLOps(pgName, asIngressName, asExceptName, proto } // UpdateIngressACLOps indicates an expected call of UpdateIngressACLOps. -func (mr *MockACLMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateIngressACLOps", reflect.TypeOf((*MockACL)(nil).UpdateIngressACLOps), pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap) } @@ -1704,7 +1709,7 @@ func (m *MockACL) UpdateLogicalSwitchACL(lsName, cidrBlock string, subnetAcls [] } // UpdateLogicalSwitchACL indicates an expected call of UpdateLogicalSwitchACL. -func (mr *MockACLMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalSwitchACL", reflect.TypeOf((*MockACL)(nil).UpdateLogicalSwitchACL), lsName, cidrBlock, subnetAcls, allowEWTraffic) } @@ -1718,7 +1723,7 @@ func (m *MockACL) UpdateSgACL(sg *v1.SecurityGroup, direction string) error { } // UpdateSgACL indicates an expected call of UpdateSgACL. -func (mr *MockACLMockRecorder) UpdateSgACL(sg, direction interface{}) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateSgACL(sg, direction any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSgACL", reflect.TypeOf((*MockACL)(nil).UpdateSgACL), sg, direction) } @@ -1749,7 +1754,7 @@ func (m *MockAddressSet) EXPECT() *MockAddressSetMockRecorder { // AddressSetUpdateAddress mocks base method. func (m *MockAddressSet) AddressSetUpdateAddress(asName string, addresses ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{asName} + varargs := []any{asName} for _, a := range addresses { varargs = append(varargs, a) } @@ -1759,9 +1764,9 @@ func (m *MockAddressSet) AddressSetUpdateAddress(asName string, addresses ...str } // AddressSetUpdateAddress indicates an expected call of AddressSetUpdateAddress. -func (mr *MockAddressSetMockRecorder) AddressSetUpdateAddress(asName interface{}, addresses ...interface{}) *gomock.Call { +func (mr *MockAddressSetMockRecorder) AddressSetUpdateAddress(asName any, addresses ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{asName}, addresses...) + varargs := append([]any{asName}, addresses...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddressSetUpdateAddress", reflect.TypeOf((*MockAddressSet)(nil).AddressSetUpdateAddress), varargs...) } @@ -1774,7 +1779,7 @@ func (m *MockAddressSet) CreateAddressSet(asName string, externalIDs map[string] } // CreateAddressSet indicates an expected call of CreateAddressSet. -func (mr *MockAddressSetMockRecorder) CreateAddressSet(asName, externalIDs interface{}) *gomock.Call { +func (mr *MockAddressSetMockRecorder) CreateAddressSet(asName, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAddressSet", reflect.TypeOf((*MockAddressSet)(nil).CreateAddressSet), asName, externalIDs) } @@ -1788,7 +1793,7 @@ func (m *MockAddressSet) DeleteAddressSet(asName string) error { } // DeleteAddressSet indicates an expected call of DeleteAddressSet. -func (mr *MockAddressSetMockRecorder) DeleteAddressSet(asName interface{}) *gomock.Call { +func (mr *MockAddressSetMockRecorder) DeleteAddressSet(asName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSet", reflect.TypeOf((*MockAddressSet)(nil).DeleteAddressSet), asName) } @@ -1802,7 +1807,7 @@ func (m *MockAddressSet) DeleteAddressSets(externalIDs map[string]string) error } // DeleteAddressSets indicates an expected call of DeleteAddressSets. -func (mr *MockAddressSetMockRecorder) DeleteAddressSets(externalIDs interface{}) *gomock.Call { +func (mr *MockAddressSetMockRecorder) DeleteAddressSets(externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSets", reflect.TypeOf((*MockAddressSet)(nil).DeleteAddressSets), externalIDs) } @@ -1817,7 +1822,7 @@ func (m *MockAddressSet) ListAddressSets(externalIDs map[string]string) ([]ovnnb } // ListAddressSets indicates an expected call of ListAddressSets. -func (mr *MockAddressSetMockRecorder) ListAddressSets(externalIDs interface{}) *gomock.Call { +func (mr *MockAddressSetMockRecorder) ListAddressSets(externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAddressSets", reflect.TypeOf((*MockAddressSet)(nil).ListAddressSets), externalIDs) } @@ -1848,7 +1853,7 @@ func (m *MockLogicalRouterStaticRoute) EXPECT() *MockLogicalRouterStaticRouteMoc // AddLogicalRouterStaticRoute mocks base method. func (m *MockLogicalRouterStaticRoute) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix string, bfdID *string, nexthops ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lrName, routeTable, policy, ipPrefix, bfdID} + varargs := []any{lrName, routeTable, policy, ipPrefix, bfdID} for _, a := range nexthops { varargs = append(varargs, a) } @@ -1858,9 +1863,9 @@ func (m *MockLogicalRouterStaticRoute) AddLogicalRouterStaticRoute(lrName, route } // AddLogicalRouterStaticRoute indicates an expected call of AddLogicalRouterStaticRoute. -func (mr *MockLogicalRouterStaticRouteMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID interface{}, nexthops ...interface{}) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID any, nexthops ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) + varargs := append([]any{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterStaticRoute", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).AddLogicalRouterStaticRoute), varargs...) } @@ -1873,7 +1878,7 @@ func (m *MockLogicalRouterStaticRoute) ClearLogicalRouterStaticRoute(lrName stri } // ClearLogicalRouterStaticRoute indicates an expected call of ClearLogicalRouterStaticRoute. -func (mr *MockLogicalRouterStaticRouteMockRecorder) ClearLogicalRouterStaticRoute(lrName interface{}) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) ClearLogicalRouterStaticRoute(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterStaticRoute", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).ClearLogicalRouterStaticRoute), lrName) } @@ -1887,7 +1892,7 @@ func (m *MockLogicalRouterStaticRoute) DeleteLogicalRouterStaticRoute(lrName str } // DeleteLogicalRouterStaticRoute indicates an expected call of DeleteLogicalRouterStaticRoute. -func (mr *MockLogicalRouterStaticRouteMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop interface{}) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterStaticRoute", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).DeleteLogicalRouterStaticRoute), lrName, routeTable, policy, ipPrefix, nextHop) } @@ -1902,7 +1907,7 @@ func (m *MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutes(lrName stri } // ListLogicalRouterStaticRoutes indicates an expected call of ListLogicalRouterStaticRoutes. -func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs interface{}) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutes", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).ListLogicalRouterStaticRoutes), lrName, routeTable, policy, ipPrefix, externalIDs) } @@ -1917,7 +1922,7 @@ func (m *MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutesByOption(lrN } // ListLogicalRouterStaticRoutesByOption indicates an expected call of ListLogicalRouterStaticRoutesByOption. -func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value interface{}) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutesByOption", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).ListLogicalRouterStaticRoutesByOption), lrName, routeTable, key, value) } @@ -1932,7 +1937,7 @@ func (m *MockLogicalRouterStaticRoute) LogicalRouterStaticRouteExists(lrName, ro } // LogicalRouterStaticRouteExists indicates an expected call of LogicalRouterStaticRouteExists. -func (mr *MockLogicalRouterStaticRouteMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop interface{}) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterStaticRouteExists", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).LogicalRouterStaticRouteExists), lrName, routeTable, policy, ipPrefix, nexthop) } @@ -1969,7 +1974,7 @@ func (m *MockLogicalRouterPolicy) AddLogicalRouterPolicy(lrName string, priority } // AddLogicalRouterPolicy indicates an expected call of AddLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).AddLogicalRouterPolicy), lrName, priority, match, action, nextHops, externalIDs) } @@ -1983,7 +1988,7 @@ func (m *MockLogicalRouterPolicy) ClearLogicalRouterPolicy(lrName string) error } // ClearLogicalRouterPolicy indicates an expected call of ClearLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) ClearLogicalRouterPolicy(lrName interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) ClearLogicalRouterPolicy(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).ClearLogicalRouterPolicy), lrName) } @@ -1997,7 +2002,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicies(lrName string, pri } // DeleteLogicalRouterPolicies indicates an expected call of DeleteLogicalRouterPolicies. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicies", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicies), lrName, priority, externalIDs) } @@ -2011,7 +2016,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicy(lrName string, prior } // DeleteLogicalRouterPolicy indicates an expected call of DeleteLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicy), lrName, priority, match) } @@ -2025,7 +2030,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByNexthop(lrName stri } // DeleteLogicalRouterPolicyByNexthop indicates an expected call of DeleteLogicalRouterPolicyByNexthop. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByNexthop", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicyByNexthop), lrName, priority, nexthop) } @@ -2039,7 +2044,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByUUID(lrName, uuid s } // DeleteLogicalRouterPolicyByUUID indicates an expected call of DeleteLogicalRouterPolicyByUUID. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByUUID", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicyByUUID), lrName, uuid) } @@ -2054,7 +2059,7 @@ func (m *MockLogicalRouterPolicy) GetLogicalRouterPoliciesByExtID(lrName, key, v } // GetLogicalRouterPoliciesByExtID indicates an expected call of GetLogicalRouterPoliciesByExtID. -func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPoliciesByExtID", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).GetLogicalRouterPoliciesByExtID), lrName, key, value) } @@ -2069,7 +2074,7 @@ func (m *MockLogicalRouterPolicy) GetLogicalRouterPolicy(lrName string, priority } // GetLogicalRouterPolicy indicates an expected call of GetLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).GetLogicalRouterPolicy), lrName, priority, match, ignoreNotFound) } @@ -2084,7 +2089,7 @@ func (m *MockLogicalRouterPolicy) ListLogicalRouterPolicies(lrName string, prior } // ListLogicalRouterPolicies indicates an expected call of ListLogicalRouterPolicies. -func (mr *MockLogicalRouterPolicyMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue interface{}) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPolicies", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).ListLogicalRouterPolicies), lrName, priority, externalIDs, ignoreExtIDEmptyValue) } @@ -2121,7 +2126,7 @@ func (m *MockNAT) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, por } // AddNat indicates an expected call of AddNat. -func (mr *MockNATMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNat", reflect.TypeOf((*MockNAT)(nil).AddNat), lrName, natType, externalIP, logicalIP, logicalMac, port, options) } @@ -2135,7 +2140,7 @@ func (m *MockNAT) DeleteNat(lrName, natType, externalIP, logicalIP string) error } // DeleteNat indicates an expected call of DeleteNat. -func (mr *MockNATMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNat", reflect.TypeOf((*MockNAT)(nil).DeleteNat), lrName, natType, externalIP, logicalIP) } @@ -2149,7 +2154,7 @@ func (m *MockNAT) DeleteNats(lrName, natType, logicalIP string) error { } // DeleteNats indicates an expected call of DeleteNats. -func (mr *MockNATMockRecorder) DeleteNats(lrName, natType, logicalIP interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) DeleteNats(lrName, natType, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNats", reflect.TypeOf((*MockNAT)(nil).DeleteNats), lrName, natType, logicalIP) } @@ -2164,7 +2169,7 @@ func (m *MockNAT) GetNATByUUID(uuid string) (*ovnnb.NAT, error) { } // GetNATByUUID indicates an expected call of GetNATByUUID. -func (mr *MockNATMockRecorder) GetNATByUUID(uuid interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) GetNATByUUID(uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNATByUUID", reflect.TypeOf((*MockNAT)(nil).GetNATByUUID), uuid) } @@ -2179,7 +2184,7 @@ func (m *MockNAT) ListNats(lrName, natType, logicalIP string, externalIDs map[st } // ListNats indicates an expected call of ListNats. -func (mr *MockNATMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNats", reflect.TypeOf((*MockNAT)(nil).ListNats), lrName, natType, logicalIP, externalIDs) } @@ -2194,7 +2199,7 @@ func (m *MockNAT) NatExists(lrName, natType, externalIP, logicalIP string) (bool } // NatExists indicates an expected call of NatExists. -func (mr *MockNATMockRecorder) NatExists(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) NatExists(lrName, natType, externalIP, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NatExists", reflect.TypeOf((*MockNAT)(nil).NatExists), lrName, natType, externalIP, logicalIP) } @@ -2208,7 +2213,7 @@ func (m *MockNAT) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, exte } // UpdateDnatAndSnat indicates an expected call of UpdateDnatAndSnat. -func (mr *MockNATMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDnatAndSnat", reflect.TypeOf((*MockNAT)(nil).UpdateDnatAndSnat), lrName, externalIP, logicalIP, lspName, externalMac, gatewayType) } @@ -2222,7 +2227,7 @@ func (m *MockNAT) UpdateSnat(lrName, externalIP, logicalIP string) error { } // UpdateSnat indicates an expected call of UpdateSnat. -func (mr *MockNATMockRecorder) UpdateSnat(lrName, externalIP, logicalIP interface{}) *gomock.Call { +func (mr *MockNATMockRecorder) UpdateSnat(lrName, externalIP, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSnat", reflect.TypeOf((*MockNAT)(nil).UpdateSnat), lrName, externalIP, logicalIP) } @@ -2259,7 +2264,7 @@ func (m *MockDHCPOptions) DeleteDHCPOptions(lsName, protocol string) error { } // DeleteDHCPOptions indicates an expected call of DeleteDHCPOptions. -func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptions(lsName, protocol interface{}) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptions(lsName, protocol any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptions", reflect.TypeOf((*MockDHCPOptions)(nil).DeleteDHCPOptions), lsName, protocol) } @@ -2267,7 +2272,7 @@ func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptions(lsName, protocol interf // DeleteDHCPOptionsByUUIDs mocks base method. func (m *MockDHCPOptions) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{} + varargs := []any{} for _, a := range uuidList { varargs = append(varargs, a) } @@ -2277,7 +2282,7 @@ func (m *MockDHCPOptions) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { } // DeleteDHCPOptionsByUUIDs indicates an expected call of DeleteDHCPOptionsByUUIDs. -func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...interface{}) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptionsByUUIDs", reflect.TypeOf((*MockDHCPOptions)(nil).DeleteDHCPOptionsByUUIDs), uuidList...) } @@ -2292,7 +2297,7 @@ func (m *MockDHCPOptions) ListDHCPOptions(needVendorFilter bool, externalIDs map } // ListDHCPOptions indicates an expected call of ListDHCPOptions. -func (mr *MockDHCPOptionsMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs interface{}) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDHCPOptions", reflect.TypeOf((*MockDHCPOptions)(nil).ListDHCPOptions), needVendorFilter, externalIDs) } @@ -2307,7 +2312,7 @@ func (m *MockDHCPOptions) UpdateDHCPOptions(subnet *v1.Subnet, mtu int) (*ovs.DH } // UpdateDHCPOptions indicates an expected call of UpdateDHCPOptions. -func (mr *MockDHCPOptionsMockRecorder) UpdateDHCPOptions(subnet, mtu interface{}) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) UpdateDHCPOptions(subnet, mtu any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDHCPOptions", reflect.TypeOf((*MockDHCPOptions)(nil).UpdateDHCPOptions), subnet, mtu) } @@ -2344,7 +2349,7 @@ func (m *MockNbClient) AddLoadBalancerHealthCheck(lbName, vip string, externals } // AddLoadBalancerHealthCheck indicates an expected call of AddLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).AddLoadBalancerHealthCheck), lbName, vip, externals) } @@ -2358,7 +2363,7 @@ func (m *MockNbClient) AddLogicalRouterPolicy(lrName string, priority int, match } // AddLogicalRouterPolicy indicates an expected call of AddLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).AddLogicalRouterPolicy), lrName, priority, match, action, nextHops, externalIDs) } @@ -2366,7 +2371,7 @@ func (mr *MockNbClientMockRecorder) AddLogicalRouterPolicy(lrName, priority, mat // AddLogicalRouterStaticRoute mocks base method. func (m *MockNbClient) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix string, bfdID *string, nexthops ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lrName, routeTable, policy, ipPrefix, bfdID} + varargs := []any{lrName, routeTable, policy, ipPrefix, bfdID} for _, a := range nexthops { varargs = append(varargs, a) } @@ -2376,9 +2381,9 @@ func (m *MockNbClient) AddLogicalRouterStaticRoute(lrName, routeTable, policy, i } // AddLogicalRouterStaticRoute indicates an expected call of AddLogicalRouterStaticRoute. -func (mr *MockNbClientMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID interface{}, nexthops ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID any, nexthops ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) + varargs := append([]any{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterStaticRoute", reflect.TypeOf((*MockNbClient)(nil).AddLogicalRouterStaticRoute), varargs...) } @@ -2391,7 +2396,7 @@ func (m *MockNbClient) AddNat(lrName, natType, externalIP, logicalIP, logicalMac } // AddNat indicates an expected call of AddNat. -func (mr *MockNbClientMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNat", reflect.TypeOf((*MockNbClient)(nil).AddNat), lrName, natType, externalIP, logicalIP, logicalMac, port, options) } @@ -2399,7 +2404,7 @@ func (mr *MockNbClientMockRecorder) AddNat(lrName, natType, externalIP, logicalI // AddressSetUpdateAddress mocks base method. func (m *MockNbClient) AddressSetUpdateAddress(asName string, addresses ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{asName} + varargs := []any{asName} for _, a := range addresses { varargs = append(varargs, a) } @@ -2409,9 +2414,9 @@ func (m *MockNbClient) AddressSetUpdateAddress(asName string, addresses ...strin } // AddressSetUpdateAddress indicates an expected call of AddressSetUpdateAddress. -func (mr *MockNbClientMockRecorder) AddressSetUpdateAddress(asName interface{}, addresses ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddressSetUpdateAddress(asName any, addresses ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{asName}, addresses...) + varargs := append([]any{asName}, addresses...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddressSetUpdateAddress", reflect.TypeOf((*MockNbClient)(nil).AddressSetUpdateAddress), varargs...) } @@ -2424,7 +2429,7 @@ func (m *MockNbClient) ClearLogicalRouterPolicy(lrName string) error { } // ClearLogicalRouterPolicy indicates an expected call of ClearLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) ClearLogicalRouterPolicy(lrName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ClearLogicalRouterPolicy(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).ClearLogicalRouterPolicy), lrName) } @@ -2438,7 +2443,7 @@ func (m *MockNbClient) ClearLogicalRouterStaticRoute(lrName string) error { } // ClearLogicalRouterStaticRoute indicates an expected call of ClearLogicalRouterStaticRoute. -func (mr *MockNbClientMockRecorder) ClearLogicalRouterStaticRoute(lrName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ClearLogicalRouterStaticRoute(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterStaticRoute", reflect.TypeOf((*MockNbClient)(nil).ClearLogicalRouterStaticRoute), lrName) } @@ -2452,7 +2457,7 @@ func (m *MockNbClient) CreateAddressSet(asName string, externalIDs map[string]st } // CreateAddressSet indicates an expected call of CreateAddressSet. -func (mr *MockNbClientMockRecorder) CreateAddressSet(asName, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateAddressSet(asName, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAddressSet", reflect.TypeOf((*MockNbClient)(nil).CreateAddressSet), asName, externalIDs) } @@ -2467,7 +2472,7 @@ func (m *MockNbClient) CreateBFD(lrpName, dstIP string, minRx, minTx, detectMult } // CreateBFD indicates an expected call of CreateBFD. -func (mr *MockNbClientMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBFD", reflect.TypeOf((*MockNbClient)(nil).CreateBFD), lrpName, dstIP, minRx, minTx, detectMult) } @@ -2481,7 +2486,7 @@ func (m *MockNbClient) CreateBareLogicalSwitch(lsName string) error { } // CreateBareLogicalSwitch indicates an expected call of CreateBareLogicalSwitch. -func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitch(lsName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitch(lsName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).CreateBareLogicalSwitch), lsName) } @@ -2495,7 +2500,7 @@ func (m *MockNbClient) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac stri } // CreateBareLogicalSwitchPort indicates an expected call of CreateBareLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateBareLogicalSwitchPort), lsName, lspName, ip, mac) } @@ -2509,7 +2514,7 @@ func (m *MockNbClient) CreateGatewayACL(lsName, pgName, gateway string) error { } // CreateGatewayACL indicates an expected call of CreateGatewayACL. -func (mr *MockNbClientMockRecorder) CreateGatewayACL(lsName, pgName, gateway interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateGatewayACL(lsName, pgName, gateway any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGatewayACL", reflect.TypeOf((*MockNbClient)(nil).CreateGatewayACL), lsName, pgName, gateway) } @@ -2517,7 +2522,7 @@ func (mr *MockNbClientMockRecorder) CreateGatewayACL(lsName, pgName, gateway int // CreateGatewayLogicalSwitch mocks base method. func (m *MockNbClient) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac string, vlanID int, chassises ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName, lrName, provider, ip, mac, vlanID} + varargs := []any{lsName, lrName, provider, ip, mac, vlanID} for _, a := range chassises { varargs = append(varargs, a) } @@ -2527,9 +2532,9 @@ func (m *MockNbClient) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, } // CreateGatewayLogicalSwitch indicates an expected call of CreateGatewayLogicalSwitch. -func (mr *MockNbClientMockRecorder) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac, vlanID interface{}, chassises ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac, vlanID any, chassises ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName, lrName, provider, ip, mac, vlanID}, chassises...) + varargs := append([]any{lsName, lrName, provider, ip, mac, vlanID}, chassises...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGatewayLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).CreateGatewayLogicalSwitch), varargs...) } @@ -2542,7 +2547,7 @@ func (m *MockNbClient) CreateLoadBalancer(lbName, protocol, selectFields string) } // CreateLoadBalancer indicates an expected call of CreateLoadBalancer. -func (mr *MockNbClientMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancer", reflect.TypeOf((*MockNbClient)(nil).CreateLoadBalancer), lbName, protocol, selectFields) } @@ -2556,7 +2561,7 @@ func (m *MockNbClient) CreateLoadBalancerHealthCheck(lbName, vip string, lbhc *o } // CreateLoadBalancerHealthCheck indicates an expected call of CreateLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).CreateLoadBalancerHealthCheck), lbName, vip, lbhc) } @@ -2570,7 +2575,7 @@ func (m *MockNbClient) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider } // CreateLocalnetLogicalSwitchPort indicates an expected call of CreateLocalnetLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, vlanID interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, vlanID any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLocalnetLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateLocalnetLogicalSwitchPort), lsName, lspName, provider, vlanID) } @@ -2578,7 +2583,7 @@ func (mr *MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspN // CreateLogicalPatchPort mocks base method. func (m *MockNbClient) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac string, chassises ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName, lrName, lspName, lrpName, ip, mac} + varargs := []any{lsName, lrName, lspName, lrpName, ip, mac} for _, a := range chassises { varargs = append(varargs, a) } @@ -2588,9 +2593,9 @@ func (m *MockNbClient) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, } // CreateLogicalPatchPort indicates an expected call of CreateLogicalPatchPort. -func (mr *MockNbClientMockRecorder) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac interface{}, chassises ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac any, chassises ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName, lrName, lspName, lrpName, ip, mac}, chassises...) + varargs := append([]any{lsName, lrName, lspName, lrpName, ip, mac}, chassises...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalPatchPort", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalPatchPort), varargs...) } @@ -2603,7 +2608,7 @@ func (m *MockNbClient) CreateLogicalRouter(lrName string) error { } // CreateLogicalRouter indicates an expected call of CreateLogicalRouter. -func (mr *MockNbClientMockRecorder) CreateLogicalRouter(lrName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalRouter(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalRouter), lrName) } @@ -2617,7 +2622,7 @@ func (m *MockNbClient) CreateLogicalRouterPort(lrName, lrpName, mac string, netw } // CreateLogicalRouterPort indicates an expected call of CreateLogicalRouterPort. -func (mr *MockNbClientMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalRouterPort), lrName, lrpName, mac, networks) } @@ -2631,7 +2636,7 @@ func (m *MockNbClient) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway st } // CreateLogicalSwitch indicates an expected call of CreateLogicalSwitch. -func (mr *MockNbClientMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalSwitch), lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW) } @@ -2645,7 +2650,7 @@ func (m *MockNbClient) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName } // CreateLogicalSwitchPort indicates an expected call of CreateLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalSwitchPort), lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc) } @@ -2659,7 +2664,7 @@ func (m *MockNbClient) CreateNodeACL(pgName, nodeIPStr, joinIPStr string) error } // CreateNodeACL indicates an expected call of CreateNodeACL. -func (mr *MockNbClientMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNodeACL", reflect.TypeOf((*MockNbClient)(nil).CreateNodeACL), pgName, nodeIPStr, joinIPStr) } @@ -2673,7 +2678,7 @@ func (m *MockNbClient) CreatePeerRouterPort(localRouter, remoteRouter, localRout } // CreatePeerRouterPort indicates an expected call of CreatePeerRouterPort. -func (mr *MockNbClientMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePeerRouterPort", reflect.TypeOf((*MockNbClient)(nil).CreatePeerRouterPort), localRouter, remoteRouter, localRouterPortIP) } @@ -2687,7 +2692,7 @@ func (m *MockNbClient) CreatePortGroup(pgName string, externalIDs map[string]str } // CreatePortGroup indicates an expected call of CreatePortGroup. -func (mr *MockNbClientMockRecorder) CreatePortGroup(pgName, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreatePortGroup(pgName, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePortGroup", reflect.TypeOf((*MockNbClient)(nil).CreatePortGroup), pgName, externalIDs) } @@ -2701,7 +2706,7 @@ func (m *MockNbClient) CreateSgBaseACL(sgName, direction string) error { } // CreateSgBaseACL indicates an expected call of CreateSgBaseACL. -func (mr *MockNbClientMockRecorder) CreateSgBaseACL(sgName, direction interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateSgBaseACL(sgName, direction any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgBaseACL", reflect.TypeOf((*MockNbClient)(nil).CreateSgBaseACL), sgName, direction) } @@ -2715,7 +2720,7 @@ func (m *MockNbClient) CreateSgDenyAllACL(sgName string) error { } // CreateSgDenyAllACL indicates an expected call of CreateSgDenyAllACL. -func (mr *MockNbClientMockRecorder) CreateSgDenyAllACL(sgName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateSgDenyAllACL(sgName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgDenyAllACL", reflect.TypeOf((*MockNbClient)(nil).CreateSgDenyAllACL), sgName) } @@ -2729,7 +2734,7 @@ func (m *MockNbClient) CreateVirtualLogicalSwitchPort(lspName, lsName, ip string } // CreateVirtualLogicalSwitchPort indicates an expected call of CreateVirtualLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateVirtualLogicalSwitchPort), lspName, lsName, ip) } @@ -2737,7 +2742,7 @@ func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsNa // CreateVirtualLogicalSwitchPorts mocks base method. func (m *MockNbClient) CreateVirtualLogicalSwitchPorts(lsName string, ips ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName} + varargs := []any{lsName} for _, a := range ips { varargs = append(varargs, a) } @@ -2747,9 +2752,9 @@ func (m *MockNbClient) CreateVirtualLogicalSwitchPorts(lsName string, ips ...str } // CreateVirtualLogicalSwitchPorts indicates an expected call of CreateVirtualLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPorts(lsName interface{}, ips ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPorts(lsName any, ips ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName}, ips...) + varargs := append([]any{lsName}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).CreateVirtualLogicalSwitchPorts), varargs...) } @@ -2762,7 +2767,7 @@ func (m *MockNbClient) DeleteAcls(parentName, parentType, direction string, exte } // DeleteAcls indicates an expected call of DeleteAcls. -func (mr *MockNbClientMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAcls", reflect.TypeOf((*MockNbClient)(nil).DeleteAcls), parentName, parentType, direction, externalIDs) } @@ -2777,7 +2782,7 @@ func (m *MockNbClient) DeleteAclsOps(parentName, parentType, direction string, e } // DeleteAclsOps indicates an expected call of DeleteAclsOps. -func (mr *MockNbClientMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAclsOps", reflect.TypeOf((*MockNbClient)(nil).DeleteAclsOps), parentName, parentType, direction, externalIDs) } @@ -2791,7 +2796,7 @@ func (m *MockNbClient) DeleteAddressSet(asName string) error { } // DeleteAddressSet indicates an expected call of DeleteAddressSet. -func (mr *MockNbClientMockRecorder) DeleteAddressSet(asName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAddressSet(asName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSet", reflect.TypeOf((*MockNbClient)(nil).DeleteAddressSet), asName) } @@ -2805,7 +2810,7 @@ func (m *MockNbClient) DeleteAddressSets(externalIDs map[string]string) error { } // DeleteAddressSets indicates an expected call of DeleteAddressSets. -func (mr *MockNbClientMockRecorder) DeleteAddressSets(externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAddressSets(externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSets", reflect.TypeOf((*MockNbClient)(nil).DeleteAddressSets), externalIDs) } @@ -2819,7 +2824,7 @@ func (m *MockNbClient) DeleteBFD(lrpName, dstIP string) error { } // DeleteBFD indicates an expected call of DeleteBFD. -func (mr *MockNbClientMockRecorder) DeleteBFD(lrpName, dstIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteBFD(lrpName, dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBFD", reflect.TypeOf((*MockNbClient)(nil).DeleteBFD), lrpName, dstIP) } @@ -2833,7 +2838,7 @@ func (m *MockNbClient) DeleteDHCPOptions(lsName, protocol string) error { } // DeleteDHCPOptions indicates an expected call of DeleteDHCPOptions. -func (mr *MockNbClientMockRecorder) DeleteDHCPOptions(lsName, protocol interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteDHCPOptions(lsName, protocol any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptions", reflect.TypeOf((*MockNbClient)(nil).DeleteDHCPOptions), lsName, protocol) } @@ -2841,7 +2846,7 @@ func (mr *MockNbClientMockRecorder) DeleteDHCPOptions(lsName, protocol interface // DeleteDHCPOptionsByUUIDs mocks base method. func (m *MockNbClient) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{} + varargs := []any{} for _, a := range uuidList { varargs = append(varargs, a) } @@ -2851,7 +2856,7 @@ func (m *MockNbClient) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { } // DeleteDHCPOptionsByUUIDs indicates an expected call of DeleteDHCPOptionsByUUIDs. -func (mr *MockNbClientMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptionsByUUIDs", reflect.TypeOf((*MockNbClient)(nil).DeleteDHCPOptionsByUUIDs), uuidList...) } @@ -2865,7 +2870,7 @@ func (m *MockNbClient) DeleteLoadBalancerHealthCheck(lbName, vip string) error { } // DeleteLoadBalancerHealthCheck indicates an expected call of DeleteLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).DeleteLoadBalancerHealthCheck), lbName, vip) } @@ -2879,7 +2884,7 @@ func (m *MockNbClient) DeleteLoadBalancerHealthChecks(filter func(*ovnnb.LoadBal } // DeleteLoadBalancerHealthChecks indicates an expected call of DeleteLoadBalancerHealthChecks. -func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthChecks(filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthChecks(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthChecks", reflect.TypeOf((*MockNbClient)(nil).DeleteLoadBalancerHealthChecks), filter) } @@ -2893,7 +2898,7 @@ func (m *MockNbClient) DeleteLoadBalancers(filter func(*ovnnb.LoadBalancer) bool } // DeleteLoadBalancers indicates an expected call of DeleteLoadBalancers. -func (mr *MockNbClientMockRecorder) DeleteLoadBalancers(filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLoadBalancers(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).DeleteLoadBalancers), filter) } @@ -2907,7 +2912,7 @@ func (m *MockNbClient) DeleteLogicalGatewaySwitch(lsName, lrName string) error { } // DeleteLogicalGatewaySwitch indicates an expected call of DeleteLogicalGatewaySwitch. -func (mr *MockNbClientMockRecorder) DeleteLogicalGatewaySwitch(lsName, lrName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalGatewaySwitch(lsName, lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalGatewaySwitch", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalGatewaySwitch), lsName, lrName) } @@ -2921,7 +2926,7 @@ func (m *MockNbClient) DeleteLogicalRouter(lrName string) error { } // DeleteLogicalRouter indicates an expected call of DeleteLogicalRouter. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouter(lrName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouter(lrName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouter), lrName) } @@ -2935,7 +2940,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicies(lrName string, priority int, } // DeleteLogicalRouterPolicies indicates an expected call of DeleteLogicalRouterPolicies. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicies", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicies), lrName, priority, externalIDs) } @@ -2949,7 +2954,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicy(lrName string, priority int, ma } // DeleteLogicalRouterPolicy indicates an expected call of DeleteLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicy), lrName, priority, match) } @@ -2963,7 +2968,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicyByNexthop(lrName string, priorit } // DeleteLogicalRouterPolicyByNexthop indicates an expected call of DeleteLogicalRouterPolicyByNexthop. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByNexthop", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicyByNexthop), lrName, priority, nexthop) } @@ -2977,7 +2982,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicyByUUID(lrName, uuid string) erro } // DeleteLogicalRouterPolicyByUUID indicates an expected call of DeleteLogicalRouterPolicyByUUID. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByUUID", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicyByUUID), lrName, uuid) } @@ -2991,7 +2996,7 @@ func (m *MockNbClient) DeleteLogicalRouterPort(lrpName string) error { } // DeleteLogicalRouterPort indicates an expected call of DeleteLogicalRouterPort. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPort(lrpName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPort(lrpName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPort), lrpName) } @@ -3005,7 +3010,7 @@ func (m *MockNbClient) DeleteLogicalRouterPorts(externalIDs map[string]string, f } // DeleteLogicalRouterPorts indicates an expected call of DeleteLogicalRouterPorts. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPorts", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPorts), externalIDs, filter) } @@ -3019,7 +3024,7 @@ func (m *MockNbClient) DeleteLogicalRouterStaticRoute(lrName string, routeTable, } // DeleteLogicalRouterStaticRoute indicates an expected call of DeleteLogicalRouterStaticRoute. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterStaticRoute", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterStaticRoute), lrName, routeTable, policy, ipPrefix, nextHop) } @@ -3033,7 +3038,7 @@ func (m *MockNbClient) DeleteLogicalSwitch(lsName string) error { } // DeleteLogicalSwitch indicates an expected call of DeleteLogicalSwitch. -func (mr *MockNbClientMockRecorder) DeleteLogicalSwitch(lsName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalSwitch(lsName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalSwitch), lsName) } @@ -3047,7 +3052,7 @@ func (m *MockNbClient) DeleteLogicalSwitchPort(lspName string) error { } // DeleteLogicalSwitchPort indicates an expected call of DeleteLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPort(lspName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPort(lspName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalSwitchPort), lspName) } @@ -3061,7 +3066,7 @@ func (m *MockNbClient) DeleteLogicalSwitchPorts(externalIDs map[string]string, f } // DeleteLogicalSwitchPorts indicates an expected call of DeleteLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalSwitchPorts), externalIDs, filter) } @@ -3075,7 +3080,7 @@ func (m *MockNbClient) DeleteNat(lrName, natType, externalIP, logicalIP string) } // DeleteNat indicates an expected call of DeleteNat. -func (mr *MockNbClientMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNat", reflect.TypeOf((*MockNbClient)(nil).DeleteNat), lrName, natType, externalIP, logicalIP) } @@ -3089,7 +3094,7 @@ func (m *MockNbClient) DeleteNats(lrName, natType, logicalIP string) error { } // DeleteNats indicates an expected call of DeleteNats. -func (mr *MockNbClientMockRecorder) DeleteNats(lrName, natType, logicalIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteNats(lrName, natType, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNats", reflect.TypeOf((*MockNbClient)(nil).DeleteNats), lrName, natType, logicalIP) } @@ -3103,7 +3108,7 @@ func (m *MockNbClient) DeletePortGroup(pgName string) error { } // DeletePortGroup indicates an expected call of DeletePortGroup. -func (mr *MockNbClientMockRecorder) DeletePortGroup(pgName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeletePortGroup(pgName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePortGroup", reflect.TypeOf((*MockNbClient)(nil).DeletePortGroup), pgName) } @@ -3117,7 +3122,7 @@ func (m *MockNbClient) DeleteSecurityGroup(sgName string) error { } // DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup. -func (mr *MockNbClientMockRecorder) DeleteSecurityGroup(sgName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteSecurityGroup(sgName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecurityGroup", reflect.TypeOf((*MockNbClient)(nil).DeleteSecurityGroup), sgName) } @@ -3131,13 +3136,13 @@ func (m *MockNbClient) EnablePortLayer2forward(lspName string) error { } // EnablePortLayer2forward indicates an expected call of EnablePortLayer2forward. -func (mr *MockNbClientMockRecorder) EnablePortLayer2forward(lspName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) EnablePortLayer2forward(lspName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePortLayer2forward", reflect.TypeOf((*MockNbClient)(nil).EnablePortLayer2forward), lspName) } // GetEntityInfo mocks base method. -func (m *MockNbClient) GetEntityInfo(entity interface{}) error { +func (m *MockNbClient) GetEntityInfo(entity any) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEntityInfo", entity) ret0, _ := ret[0].(error) @@ -3145,7 +3150,7 @@ func (m *MockNbClient) GetEntityInfo(entity interface{}) error { } // GetEntityInfo indicates an expected call of GetEntityInfo. -func (mr *MockNbClientMockRecorder) GetEntityInfo(entity interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetEntityInfo(entity any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntityInfo", reflect.TypeOf((*MockNbClient)(nil).GetEntityInfo), entity) } @@ -3160,7 +3165,7 @@ func (m *MockNbClient) GetLoadBalancer(lbName string, ignoreNotFound bool) (*ovn } // GetLoadBalancer indicates an expected call of GetLoadBalancer. -func (mr *MockNbClientMockRecorder) GetLoadBalancer(lbName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLoadBalancer(lbName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancer", reflect.TypeOf((*MockNbClient)(nil).GetLoadBalancer), lbName, ignoreNotFound) } @@ -3176,7 +3181,7 @@ func (m *MockNbClient) GetLoadBalancerHealthCheck(lbName, vip string, ignoreNotF } // GetLoadBalancerHealthCheck indicates an expected call of GetLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).GetLoadBalancerHealthCheck), lbName, vip, ignoreNotFound) } @@ -3191,7 +3196,7 @@ func (m *MockNbClient) GetLogicalRouter(lrName string, ignoreNotFound bool) (*ov } // GetLogicalRouter indicates an expected call of GetLogicalRouter. -func (mr *MockNbClientMockRecorder) GetLogicalRouter(lrName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouter(lrName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouter), lrName, ignoreNotFound) } @@ -3206,7 +3211,7 @@ func (m *MockNbClient) GetLogicalRouterPoliciesByExtID(lrName, key, value string } // GetLogicalRouterPoliciesByExtID indicates an expected call of GetLogicalRouterPoliciesByExtID. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPoliciesByExtID", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPoliciesByExtID), lrName, key, value) } @@ -3221,7 +3226,7 @@ func (m *MockNbClient) GetLogicalRouterPolicy(lrName string, priority int, match } // GetLogicalRouterPolicy indicates an expected call of GetLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPolicy), lrName, priority, match, ignoreNotFound) } @@ -3236,7 +3241,7 @@ func (m *MockNbClient) GetLogicalRouterPort(lrpName string, ignoreNotFound bool) } // GetLogicalRouterPort indicates an expected call of GetLogicalRouterPort. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPort), lrpName, ignoreNotFound) } @@ -3251,7 +3256,7 @@ func (m *MockNbClient) GetLogicalRouterPortByUUID(uuid string) (*ovnnb.LogicalRo } // GetLogicalRouterPortByUUID indicates an expected call of GetLogicalRouterPortByUUID. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPortByUUID(uuid interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPortByUUID(uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPortByUUID", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPortByUUID), uuid) } @@ -3266,7 +3271,7 @@ func (m *MockNbClient) GetLogicalSwitchPort(lspName string, ignoreNotFound bool) } // GetLogicalSwitchPort indicates an expected call of GetLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).GetLogicalSwitchPort), lspName, ignoreNotFound) } @@ -3281,7 +3286,7 @@ func (m *MockNbClient) GetNATByUUID(uuid string) (*ovnnb.NAT, error) { } // GetNATByUUID indicates an expected call of GetNATByUUID. -func (mr *MockNbClientMockRecorder) GetNATByUUID(uuid interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetNATByUUID(uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNATByUUID", reflect.TypeOf((*MockNbClient)(nil).GetNATByUUID), uuid) } @@ -3311,7 +3316,7 @@ func (m *MockNbClient) GetPortGroup(pgName string, ignoreNotFound bool) (*ovnnb. } // GetPortGroup indicates an expected call of GetPortGroup. -func (mr *MockNbClientMockRecorder) GetPortGroup(pgName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetPortGroup(pgName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPortGroup", reflect.TypeOf((*MockNbClient)(nil).GetPortGroup), pgName, ignoreNotFound) } @@ -3326,7 +3331,7 @@ func (m *MockNbClient) ListAddressSets(externalIDs map[string]string) ([]ovnnb.A } // ListAddressSets indicates an expected call of ListAddressSets. -func (mr *MockNbClientMockRecorder) ListAddressSets(externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListAddressSets(externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAddressSets", reflect.TypeOf((*MockNbClient)(nil).ListAddressSets), externalIDs) } @@ -3341,7 +3346,7 @@ func (m *MockNbClient) ListBFDs(lrpName, dstIP string) ([]ovnnb.BFD, error) { } // ListBFDs indicates an expected call of ListBFDs. -func (mr *MockNbClientMockRecorder) ListBFDs(lrpName, dstIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListBFDs(lrpName, dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBFDs", reflect.TypeOf((*MockNbClient)(nil).ListBFDs), lrpName, dstIP) } @@ -3356,7 +3361,7 @@ func (m *MockNbClient) ListDHCPOptions(needVendorFilter bool, externalIDs map[st } // ListDHCPOptions indicates an expected call of ListDHCPOptions. -func (mr *MockNbClientMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDHCPOptions", reflect.TypeOf((*MockNbClient)(nil).ListDHCPOptions), needVendorFilter, externalIDs) } @@ -3371,7 +3376,7 @@ func (m *MockNbClient) ListDownBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListDownBFDs indicates an expected call of ListDownBFDs. -func (mr *MockNbClientMockRecorder) ListDownBFDs(dstIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListDownBFDs(dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDownBFDs", reflect.TypeOf((*MockNbClient)(nil).ListDownBFDs), dstIP) } @@ -3386,7 +3391,7 @@ func (m *MockNbClient) ListGatewayChassisByLogicalRouterPort(lrpName string, ign } // ListGatewayChassisByLogicalRouterPort indicates an expected call of ListGatewayChassisByLogicalRouterPort. -func (mr *MockNbClientMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListGatewayChassisByLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).ListGatewayChassisByLogicalRouterPort), lrpName, ignoreNotFound) } @@ -3401,7 +3406,7 @@ func (m *MockNbClient) ListLoadBalancerHealthChecks(filter func(*ovnnb.LoadBalan } // ListLoadBalancerHealthChecks indicates an expected call of ListLoadBalancerHealthChecks. -func (mr *MockNbClientMockRecorder) ListLoadBalancerHealthChecks(filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLoadBalancerHealthChecks(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancerHealthChecks", reflect.TypeOf((*MockNbClient)(nil).ListLoadBalancerHealthChecks), filter) } @@ -3416,7 +3421,7 @@ func (m *MockNbClient) ListLoadBalancers(filter func(*ovnnb.LoadBalancer) bool) } // ListLoadBalancers indicates an expected call of ListLoadBalancers. -func (mr *MockNbClientMockRecorder) ListLoadBalancers(filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLoadBalancers(filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).ListLoadBalancers), filter) } @@ -3431,7 +3436,7 @@ func (m *MockNbClient) ListLogicalRouter(needVendorFilter bool, filter func(*ovn } // ListLogicalRouter indicates an expected call of ListLogicalRouter. -func (mr *MockNbClientMockRecorder) ListLogicalRouter(needVendorFilter, filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouter(needVendorFilter, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouter), needVendorFilter, filter) } @@ -3446,7 +3451,7 @@ func (m *MockNbClient) ListLogicalRouterPolicies(lrName string, priority int, ex } // ListLogicalRouterPolicies indicates an expected call of ListLogicalRouterPolicies. -func (mr *MockNbClientMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPolicies", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterPolicies), lrName, priority, externalIDs, ignoreExtIDEmptyValue) } @@ -3461,7 +3466,7 @@ func (m *MockNbClient) ListLogicalRouterPorts(externalIDs map[string]string, fil } // ListLogicalRouterPorts indicates an expected call of ListLogicalRouterPorts. -func (mr *MockNbClientMockRecorder) ListLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterPorts(externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPorts", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterPorts), externalIDs, filter) } @@ -3476,7 +3481,7 @@ func (m *MockNbClient) ListLogicalRouterStaticRoutes(lrName string, routeTable, } // ListLogicalRouterStaticRoutes indicates an expected call of ListLogicalRouterStaticRoutes. -func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutes", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterStaticRoutes), lrName, routeTable, policy, ipPrefix, externalIDs) } @@ -3491,7 +3496,7 @@ func (m *MockNbClient) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, } // ListLogicalRouterStaticRoutesByOption indicates an expected call of ListLogicalRouterStaticRoutesByOption. -func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutesByOption", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterStaticRoutesByOption), lrName, routeTable, key, value) } @@ -3506,7 +3511,7 @@ func (m *MockNbClient) ListLogicalSwitch(needVendorFilter bool, filter func(*ovn } // ListLogicalSwitch indicates an expected call of ListLogicalSwitch. -func (mr *MockNbClientMockRecorder) ListLogicalSwitch(needVendorFilter, filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalSwitch(needVendorFilter, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).ListLogicalSwitch), needVendorFilter, filter) } @@ -3521,7 +3526,7 @@ func (m *MockNbClient) ListLogicalSwitchPorts(needVendorFilter bool, externalIDs } // ListLogicalSwitchPorts indicates an expected call of ListLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).ListLogicalSwitchPorts), needVendorFilter, externalIDs, filter) } @@ -3551,7 +3556,7 @@ func (m *MockNbClient) ListNats(lrName, natType, logicalIP string, externalIDs m } // ListNats indicates an expected call of ListNats. -func (mr *MockNbClientMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNats", reflect.TypeOf((*MockNbClient)(nil).ListNats), lrName, natType, logicalIP, externalIDs) } @@ -3566,7 +3571,7 @@ func (m *MockNbClient) ListNormalLogicalSwitchPorts(needVendorFilter bool, exter } // ListNormalLogicalSwitchPorts indicates an expected call of ListNormalLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNormalLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).ListNormalLogicalSwitchPorts), needVendorFilter, externalIDs) } @@ -3581,7 +3586,7 @@ func (m *MockNbClient) ListPortGroups(externalIDs map[string]string) ([]ovnnb.Po } // ListPortGroups indicates an expected call of ListPortGroups. -func (mr *MockNbClientMockRecorder) ListPortGroups(externalIDs interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListPortGroups(externalIDs any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPortGroups", reflect.TypeOf((*MockNbClient)(nil).ListPortGroups), externalIDs) } @@ -3596,7 +3601,7 @@ func (m *MockNbClient) ListUpBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListUpBFDs indicates an expected call of ListUpBFDs. -func (mr *MockNbClientMockRecorder) ListUpBFDs(dstIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListUpBFDs(dstIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUpBFDs", reflect.TypeOf((*MockNbClient)(nil).ListUpBFDs), dstIP) } @@ -3610,7 +3615,7 @@ func (m *MockNbClient) LoadBalancerAddHealthCheck(lbName, vip string, ignoreHeal } // LoadBalancerAddHealthCheck indicates an expected call of LoadBalancerAddHealthCheck. -func (mr *MockNbClientMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddHealthCheck", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerAddHealthCheck), lbName, vip, ignoreHealthCheck, ipPortMapping, externals) } @@ -3624,7 +3629,7 @@ func (m *MockNbClient) LoadBalancerAddIPPortMapping(lbName, vip string, ipPortMa } // LoadBalancerAddIPPortMapping indicates an expected call of LoadBalancerAddIPPortMapping. -func (mr *MockNbClientMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddIPPortMapping", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerAddIPPortMapping), lbName, vip, ipPortMappings) } @@ -3632,7 +3637,7 @@ func (mr *MockNbClientMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ip // LoadBalancerAddVip mocks base method. func (m *MockNbClient) LoadBalancerAddVip(lbName, vip string, backends ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lbName, vip} + varargs := []any{lbName, vip} for _, a := range backends { varargs = append(varargs, a) } @@ -3642,9 +3647,9 @@ func (m *MockNbClient) LoadBalancerAddVip(lbName, vip string, backends ...string } // LoadBalancerAddVip indicates an expected call of LoadBalancerAddVip. -func (mr *MockNbClientMockRecorder) LoadBalancerAddVip(lbName, vip interface{}, backends ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerAddVip(lbName, vip any, backends ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lbName, vip}, backends...) + varargs := append([]any{lbName, vip}, backends...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddVip", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerAddVip), varargs...) } @@ -3657,7 +3662,7 @@ func (m *MockNbClient) LoadBalancerDeleteHealthCheck(lbName, uuid string) error } // LoadBalancerDeleteHealthCheck indicates an expected call of LoadBalancerDeleteHealthCheck. -func (mr *MockNbClientMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteHealthCheck", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerDeleteHealthCheck), lbName, uuid) } @@ -3671,7 +3676,7 @@ func (m *MockNbClient) LoadBalancerDeleteIPPortMapping(lbName, vip string) error } // LoadBalancerDeleteIPPortMapping indicates an expected call of LoadBalancerDeleteIPPortMapping. -func (mr *MockNbClientMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteIPPortMapping", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerDeleteIPPortMapping), lbName, vip) } @@ -3685,7 +3690,7 @@ func (m *MockNbClient) LoadBalancerDeleteVip(lbName, vip string, ignoreHealthChe } // LoadBalancerDeleteVip indicates an expected call of LoadBalancerDeleteVip. -func (mr *MockNbClientMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteVip", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerDeleteVip), lbName, vip, ignoreHealthCheck) } @@ -3700,7 +3705,7 @@ func (m *MockNbClient) LoadBalancerExists(lbName string) (bool, error) { } // LoadBalancerExists indicates an expected call of LoadBalancerExists. -func (mr *MockNbClientMockRecorder) LoadBalancerExists(lbName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerExists(lbName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerExists", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerExists), lbName) } @@ -3715,7 +3720,7 @@ func (m *MockNbClient) LoadBalancerHealthCheckExists(lbName, vip string) (bool, } // LoadBalancerHealthCheckExists indicates an expected call of LoadBalancerHealthCheckExists. -func (mr *MockNbClientMockRecorder) LoadBalancerHealthCheckExists(lbName, vip interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerHealthCheckExists(lbName, vip any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerHealthCheckExists", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerHealthCheckExists), lbName, vip) } @@ -3729,7 +3734,7 @@ func (m *MockNbClient) LoadBalancerUpdateIPPortMapping(lbName, vip string, ipPor } // LoadBalancerUpdateIPPortMapping indicates an expected call of LoadBalancerUpdateIPPortMapping. -func (mr *MockNbClientMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerUpdateIPPortMapping", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerUpdateIPPortMapping), lbName, vip, ipPortMappings) } @@ -3744,7 +3749,7 @@ func (m *MockNbClient) LogicalRouterExists(name string) (bool, error) { } // LogicalRouterExists indicates an expected call of LogicalRouterExists. -func (mr *MockNbClientMockRecorder) LogicalRouterExists(name interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterExists(name any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterExists", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterExists), name) } @@ -3759,7 +3764,7 @@ func (m *MockNbClient) LogicalRouterPortExists(lrpName string) (bool, error) { } // LogicalRouterPortExists indicates an expected call of LogicalRouterPortExists. -func (mr *MockNbClientMockRecorder) LogicalRouterPortExists(lrpName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterPortExists(lrpName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterPortExists", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterPortExists), lrpName) } @@ -3774,7 +3779,7 @@ func (m *MockNbClient) LogicalRouterStaticRouteExists(lrName, routeTable, policy } // LogicalRouterStaticRouteExists indicates an expected call of LogicalRouterStaticRouteExists. -func (mr *MockNbClientMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterStaticRouteExists", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterStaticRouteExists), lrName, routeTable, policy, ipPrefix, nexthop) } @@ -3782,7 +3787,7 @@ func (mr *MockNbClientMockRecorder) LogicalRouterStaticRouteExists(lrName, route // LogicalRouterUpdateLoadBalancers mocks base method. func (m *MockNbClient) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lrName, op} + varargs := []any{lrName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -3792,9 +3797,9 @@ func (m *MockNbClient) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb. } // LogicalRouterUpdateLoadBalancers indicates an expected call of LogicalRouterUpdateLoadBalancers. -func (mr *MockNbClientMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op interface{}, lbNames ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op any, lbNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lrName, op}, lbNames...) + varargs := append([]any{lrName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterUpdateLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterUpdateLoadBalancers), varargs...) } @@ -3808,7 +3813,7 @@ func (m *MockNbClient) LogicalSwitchExists(lsName string) (bool, error) { } // LogicalSwitchExists indicates an expected call of LogicalSwitchExists. -func (mr *MockNbClientMockRecorder) LogicalSwitchExists(lsName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchExists(lsName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchExists", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchExists), lsName) } @@ -3823,7 +3828,7 @@ func (m *MockNbClient) LogicalSwitchPortExists(name string) (bool, error) { } // LogicalSwitchPortExists indicates an expected call of LogicalSwitchPortExists. -func (mr *MockNbClientMockRecorder) LogicalSwitchPortExists(name interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchPortExists(name any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchPortExists", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchPortExists), name) } @@ -3831,7 +3836,7 @@ func (mr *MockNbClientMockRecorder) LogicalSwitchPortExists(name interface{}) *g // LogicalSwitchUpdateLoadBalancers mocks base method. func (m *MockNbClient) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName, op} + varargs := []any{lsName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -3841,9 +3846,9 @@ func (m *MockNbClient) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb. } // LogicalSwitchUpdateLoadBalancers indicates an expected call of LogicalSwitchUpdateLoadBalancers. -func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op interface{}, lbNames ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op any, lbNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName, op}, lbNames...) + varargs := append([]any{lsName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchUpdateLoadBalancers), varargs...) } @@ -3856,7 +3861,7 @@ func (m *MockNbClient) LogicalSwitchUpdateOtherConfig(lsName string, op ovsdb.Mu } // LogicalSwitchUpdateOtherConfig indicates an expected call of LogicalSwitchUpdateOtherConfig. -func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateOtherConfig", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchUpdateOtherConfig), lsName, op, otherConfig) } @@ -3883,7 +3888,7 @@ func (m *MockNbClient) NatExists(lrName, natType, externalIP, logicalIP string) } // NatExists indicates an expected call of NatExists. -func (mr *MockNbClientMockRecorder) NatExists(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) NatExists(lrName, natType, externalIP, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NatExists", reflect.TypeOf((*MockNbClient)(nil).NatExists), lrName, natType, externalIP, logicalIP) } @@ -3891,7 +3896,7 @@ func (mr *MockNbClientMockRecorder) NatExists(lrName, natType, externalIP, logic // PortGroupAddPorts mocks base method. func (m *MockNbClient) PortGroupAddPorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{pgName} + varargs := []any{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -3901,9 +3906,9 @@ func (m *MockNbClient) PortGroupAddPorts(pgName string, lspNames ...string) erro } // PortGroupAddPorts indicates an expected call of PortGroupAddPorts. -func (mr *MockNbClientMockRecorder) PortGroupAddPorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupAddPorts(pgName any, lspNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{pgName}, lspNames...) + varargs := append([]any{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupAddPorts", reflect.TypeOf((*MockNbClient)(nil).PortGroupAddPorts), varargs...) } @@ -3917,7 +3922,7 @@ func (m *MockNbClient) PortGroupExists(pgName string) (bool, error) { } // PortGroupExists indicates an expected call of PortGroupExists. -func (mr *MockNbClientMockRecorder) PortGroupExists(pgName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupExists(pgName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupExists", reflect.TypeOf((*MockNbClient)(nil).PortGroupExists), pgName) } @@ -3925,7 +3930,7 @@ func (mr *MockNbClientMockRecorder) PortGroupExists(pgName interface{}) *gomock. // PortGroupRemovePorts mocks base method. func (m *MockNbClient) PortGroupRemovePorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{pgName} + varargs := []any{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -3935,9 +3940,9 @@ func (m *MockNbClient) PortGroupRemovePorts(pgName string, lspNames ...string) e } // PortGroupRemovePorts indicates an expected call of PortGroupRemovePorts. -func (mr *MockNbClientMockRecorder) PortGroupRemovePorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupRemovePorts(pgName any, lspNames ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{pgName}, lspNames...) + varargs := append([]any{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupRemovePorts", reflect.TypeOf((*MockNbClient)(nil).PortGroupRemovePorts), varargs...) } @@ -3950,7 +3955,7 @@ func (m *MockNbClient) PortGroupSetPorts(pgName string, ports []string) error { } // PortGroupSetPorts indicates an expected call of PortGroupSetPorts. -func (mr *MockNbClientMockRecorder) PortGroupSetPorts(pgName, ports interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupSetPorts(pgName, ports any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupSetPorts", reflect.TypeOf((*MockNbClient)(nil).PortGroupSetPorts), pgName, ports) } @@ -3964,7 +3969,7 @@ func (m *MockNbClient) RemoveLogicalPatchPort(lspName, lrpName string) error { } // RemoveLogicalPatchPort indicates an expected call of RemoveLogicalPatchPort. -func (mr *MockNbClientMockRecorder) RemoveLogicalPatchPort(lspName, lrpName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) RemoveLogicalPatchPort(lspName, lrpName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveLogicalPatchPort", reflect.TypeOf((*MockNbClient)(nil).RemoveLogicalPatchPort), lspName, lrpName) } @@ -3978,7 +3983,7 @@ func (m *MockNbClient) SetACLLog(pgName, protocol string, logEnable, isIngress b } // SetACLLog indicates an expected call of SetACLLog. -func (mr *MockNbClientMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetACLLog", reflect.TypeOf((*MockNbClient)(nil).SetACLLog), pgName, protocol, logEnable, isIngress) } @@ -3992,7 +3997,7 @@ func (m *MockNbClient) SetAzName(azName string) error { } // SetAzName indicates an expected call of SetAzName. -func (mr *MockNbClientMockRecorder) SetAzName(azName interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetAzName(azName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAzName", reflect.TypeOf((*MockNbClient)(nil).SetAzName), azName) } @@ -4006,7 +4011,7 @@ func (m *MockNbClient) SetICAutoRoute(enable bool, blackList []string) error { } // SetICAutoRoute indicates an expected call of SetICAutoRoute. -func (mr *MockNbClientMockRecorder) SetICAutoRoute(enable, blackList interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetICAutoRoute(enable, blackList any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetICAutoRoute", reflect.TypeOf((*MockNbClient)(nil).SetICAutoRoute), enable, blackList) } @@ -4020,7 +4025,7 @@ func (m *MockNbClient) SetLoadBalancerAffinityTimeout(lbName string, timeout int } // SetLoadBalancerAffinityTimeout indicates an expected call of SetLoadBalancerAffinityTimeout. -func (mr *MockNbClientMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLoadBalancerAffinityTimeout", reflect.TypeOf((*MockNbClient)(nil).SetLoadBalancerAffinityTimeout), lbName, timeout) } @@ -4034,7 +4039,7 @@ func (m *MockNbClient) SetLogicalSwitchPortArpProxy(lspName string, enableArpPro } // SetLogicalSwitchPortArpProxy indicates an expected call of SetLogicalSwitchPortArpProxy. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortArpProxy", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortArpProxy), lspName, enableArpProxy) } @@ -4048,7 +4053,7 @@ func (m *MockNbClient) SetLogicalSwitchPortExternalIds(lspName string, externalI } // SetLogicalSwitchPortExternalIds indicates an expected call of SetLogicalSwitchPortExternalIds. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortExternalIds(lspName, externalIds interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortExternalIds(lspName, externalIds any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortExternalIds", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortExternalIds), lspName, externalIds) } @@ -4062,7 +4067,7 @@ func (m *MockNbClient) SetLogicalSwitchPortSecurity(portSecurity bool, lspName, } // SetLogicalSwitchPortSecurity indicates an expected call of SetLogicalSwitchPortSecurity. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortSecurity", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortSecurity), portSecurity, lspName, mac, ips, vips) } @@ -4070,7 +4075,7 @@ func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, l // SetLogicalSwitchPortVirtualParents mocks base method. func (m *MockNbClient) SetLogicalSwitchPortVirtualParents(lsName, parents string, ips ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{lsName, parents} + varargs := []any{lsName, parents} for _, a := range ips { varargs = append(varargs, a) } @@ -4080,9 +4085,9 @@ func (m *MockNbClient) SetLogicalSwitchPortVirtualParents(lsName, parents string } // SetLogicalSwitchPortVirtualParents indicates an expected call of SetLogicalSwitchPortVirtualParents. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents interface{}, ips ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents any, ips ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{lsName, parents}, ips...) + varargs := append([]any{lsName, parents}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortVirtualParents), varargs...) } @@ -4095,7 +4100,7 @@ func (m *MockNbClient) SetLogicalSwitchPortVlanTag(lspName string, vlanID int) e } // SetLogicalSwitchPortVlanTag indicates an expected call of SetLogicalSwitchPortVlanTag. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVlanTag", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortVlanTag), lspName, vlanID) } @@ -4109,7 +4114,7 @@ func (m *MockNbClient) SetLogicalSwitchPortsSecurityGroup(sgName, op string) err } // SetLogicalSwitchPortsSecurityGroup indicates an expected call of SetLogicalSwitchPortsSecurityGroup. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortsSecurityGroup", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortsSecurityGroup), sgName, op) } @@ -4123,7 +4128,7 @@ func (m *MockNbClient) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR } // SetLogicalSwitchPrivate indicates an expected call of SetLogicalSwitchPrivate. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPrivate", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPrivate), lsName, cidrBlock, nodeSwitchCIDR, allowSubnets) } @@ -4137,7 +4142,7 @@ func (m *MockNbClient) SetLsDnatModDlDst(enabled bool) error { } // SetLsDnatModDlDst indicates an expected call of SetLsDnatModDlDst. -func (mr *MockNbClientMockRecorder) SetLsDnatModDlDst(enabled interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLsDnatModDlDst(enabled any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLsDnatModDlDst", reflect.TypeOf((*MockNbClient)(nil).SetLsDnatModDlDst), enabled) } @@ -4165,7 +4170,7 @@ func (m *MockNbClient) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents } // SetVirtualLogicalSwitchPortVirtualParents indicates an expected call of SetVirtualLogicalSwitchPortVirtualParents. -func (mr *MockNbClientMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVirtualLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockNbClient)(nil).SetVirtualLogicalSwitchPortVirtualParents), lsName, parents) } @@ -4179,15 +4184,15 @@ func (m *MockNbClient) Transact(method string, operations []ovsdb.Operation) err } // Transact indicates an expected call of Transact. -func (mr *MockNbClientMockRecorder) Transact(method, operations interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) Transact(method, operations any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Transact", reflect.TypeOf((*MockNbClient)(nil).Transact), method, operations) } // UpdateBFD mocks base method. -func (m *MockNbClient) UpdateBFD(bfd *ovnnb.BFD, fields ...interface{}) error { +func (m *MockNbClient) UpdateBFD(bfd *ovnnb.BFD, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{bfd} + varargs := []any{bfd} for _, a := range fields { varargs = append(varargs, a) } @@ -4197,9 +4202,9 @@ func (m *MockNbClient) UpdateBFD(bfd *ovnnb.BFD, fields ...interface{}) error { } // UpdateBFD indicates an expected call of UpdateBFD. -func (mr *MockNbClientMockRecorder) UpdateBFD(bfd interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateBFD(bfd any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{bfd}, fields...) + varargs := append([]any{bfd}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBFD", reflect.TypeOf((*MockNbClient)(nil).UpdateBFD), varargs...) } @@ -4213,7 +4218,7 @@ func (m *MockNbClient) UpdateDHCPOptions(subnet *v1.Subnet, mtu int) (*ovs.DHCPO } // UpdateDHCPOptions indicates an expected call of UpdateDHCPOptions. -func (mr *MockNbClientMockRecorder) UpdateDHCPOptions(subnet, mtu interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateDHCPOptions(subnet, mtu any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDHCPOptions", reflect.TypeOf((*MockNbClient)(nil).UpdateDHCPOptions), subnet, mtu) } @@ -4227,7 +4232,7 @@ func (m *MockNbClient) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, } // UpdateDnatAndSnat indicates an expected call of UpdateDnatAndSnat. -func (mr *MockNbClientMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDnatAndSnat", reflect.TypeOf((*MockNbClient)(nil).UpdateDnatAndSnat), lrName, externalIP, logicalIP, lspName, externalMac, gatewayType) } @@ -4242,15 +4247,15 @@ func (m *MockNbClient) UpdateEgressACLOps(pgName, asEgressName, asExceptName, pr } // UpdateEgressACLOps indicates an expected call of UpdateEgressACLOps. -func (mr *MockNbClientMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEgressACLOps", reflect.TypeOf((*MockNbClient)(nil).UpdateEgressACLOps), pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap) } // UpdateGatewayChassis mocks base method. -func (m *MockNbClient) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...interface{}) error { +func (m *MockNbClient) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{gwChassis} + varargs := []any{gwChassis} for _, a := range fields { varargs = append(varargs, a) } @@ -4260,9 +4265,9 @@ func (m *MockNbClient) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fie } // UpdateGatewayChassis indicates an expected call of UpdateGatewayChassis. -func (mr *MockNbClientMockRecorder) UpdateGatewayChassis(gwChassis interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateGatewayChassis(gwChassis any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{gwChassis}, fields...) + varargs := append([]any{gwChassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateGatewayChassis", reflect.TypeOf((*MockNbClient)(nil).UpdateGatewayChassis), varargs...) } @@ -4276,7 +4281,7 @@ func (m *MockNbClient) UpdateIngressACLOps(pgName, asIngressName, asExceptName, } // UpdateIngressACLOps indicates an expected call of UpdateIngressACLOps. -func (mr *MockNbClientMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateIngressACLOps", reflect.TypeOf((*MockNbClient)(nil).UpdateIngressACLOps), pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap) } @@ -4290,7 +4295,7 @@ func (m *MockNbClient) UpdateLogicalRouterPortOptions(lrpName string, options ma } // UpdateLogicalRouterPortOptions indicates an expected call of UpdateLogicalRouterPortOptions. -func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortOptions", reflect.TypeOf((*MockNbClient)(nil).UpdateLogicalRouterPortOptions), lrpName, options) } @@ -4304,7 +4309,7 @@ func (m *MockNbClient) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr strin } // UpdateLogicalRouterPortRA indicates an expected call of UpdateLogicalRouterPortRA. -func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortRA", reflect.TypeOf((*MockNbClient)(nil).UpdateLogicalRouterPortRA), lrpName, ipv6RAConfigsStr, enableIPv6RA) } @@ -4318,15 +4323,15 @@ func (m *MockNbClient) UpdateLogicalSwitchACL(lsName, cidrBlock string, subnetAc } // UpdateLogicalSwitchACL indicates an expected call of UpdateLogicalSwitchACL. -func (mr *MockNbClientMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalSwitchACL", reflect.TypeOf((*MockNbClient)(nil).UpdateLogicalSwitchACL), lsName, cidrBlock, subnetAcls, allowEWTraffic) } // UpdateNbGlobal mocks base method. -func (m *MockNbClient) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...interface{}) error { +func (m *MockNbClient) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{nbGlobal} + varargs := []any{nbGlobal} for _, a := range fields { varargs = append(varargs, a) } @@ -4336,9 +4341,9 @@ func (m *MockNbClient) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...interf } // UpdateNbGlobal indicates an expected call of UpdateNbGlobal. -func (mr *MockNbClientMockRecorder) UpdateNbGlobal(nbGlobal interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateNbGlobal(nbGlobal any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{nbGlobal}, fields...) + varargs := append([]any{nbGlobal}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNbGlobal", reflect.TypeOf((*MockNbClient)(nil).UpdateNbGlobal), varargs...) } @@ -4351,7 +4356,7 @@ func (m *MockNbClient) UpdateSgACL(sg *v1.SecurityGroup, direction string) error } // UpdateSgACL indicates an expected call of UpdateSgACL. -func (mr *MockNbClientMockRecorder) UpdateSgACL(sg, direction interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateSgACL(sg, direction any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSgACL", reflect.TypeOf((*MockNbClient)(nil).UpdateSgACL), sg, direction) } @@ -4365,7 +4370,7 @@ func (m *MockNbClient) UpdateSnat(lrName, externalIP, logicalIP string) error { } // UpdateSnat indicates an expected call of UpdateSnat. -func (mr *MockNbClientMockRecorder) UpdateSnat(lrName, externalIP, logicalIP interface{}) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateSnat(lrName, externalIP, logicalIP any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSnat", reflect.TypeOf((*MockNbClient)(nil).UpdateSnat), lrName, externalIP, logicalIP) } @@ -4402,7 +4407,7 @@ func (m *MockSbClient) DeleteChassis(chassisName string) error { } // DeleteChassis indicates an expected call of DeleteChassis. -func (mr *MockSbClientMockRecorder) DeleteChassis(chassisName interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) DeleteChassis(chassisName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassis", reflect.TypeOf((*MockSbClient)(nil).DeleteChassis), chassisName) } @@ -4416,7 +4421,7 @@ func (m *MockSbClient) DeleteChassisByHost(node string) error { } // DeleteChassisByHost indicates an expected call of DeleteChassisByHost. -func (mr *MockSbClientMockRecorder) DeleteChassisByHost(node interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) DeleteChassisByHost(node any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassisByHost", reflect.TypeOf((*MockSbClient)(nil).DeleteChassisByHost), node) } @@ -4431,7 +4436,7 @@ func (m *MockSbClient) GetAllChassisByHost(nodeName string) (*[]ovnsb.Chassis, e } // GetAllChassisByHost indicates an expected call of GetAllChassisByHost. -func (mr *MockSbClientMockRecorder) GetAllChassisByHost(nodeName interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetAllChassisByHost(nodeName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllChassisByHost", reflect.TypeOf((*MockSbClient)(nil).GetAllChassisByHost), nodeName) } @@ -4446,7 +4451,7 @@ func (m *MockSbClient) GetChassis(chassisName string, ignoreNotFound bool) (*ovn } // GetChassis indicates an expected call of GetChassis. -func (mr *MockSbClientMockRecorder) GetChassis(chassisName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetChassis(chassisName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassis", reflect.TypeOf((*MockSbClient)(nil).GetChassis), chassisName, ignoreNotFound) } @@ -4461,13 +4466,13 @@ func (m *MockSbClient) GetChassisByHost(nodeName string) (*ovnsb.Chassis, error) } // GetChassisByHost indicates an expected call of GetChassisByHost. -func (mr *MockSbClientMockRecorder) GetChassisByHost(nodeName interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetChassisByHost(nodeName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassisByHost", reflect.TypeOf((*MockSbClient)(nil).GetChassisByHost), nodeName) } // GetEntityInfo mocks base method. -func (m *MockSbClient) GetEntityInfo(entity interface{}) error { +func (m *MockSbClient) GetEntityInfo(entity any) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEntityInfo", entity) ret0, _ := ret[0].(error) @@ -4475,7 +4480,7 @@ func (m *MockSbClient) GetEntityInfo(entity interface{}) error { } // GetEntityInfo indicates an expected call of GetEntityInfo. -func (mr *MockSbClientMockRecorder) GetEntityInfo(entity interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetEntityInfo(entity any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntityInfo", reflect.TypeOf((*MockSbClient)(nil).GetEntityInfo), entity) } @@ -4519,15 +4524,15 @@ func (m *MockSbClient) Transact(method string, operations []ovsdb.Operation) err } // Transact indicates an expected call of Transact. -func (mr *MockSbClientMockRecorder) Transact(method, operations interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) Transact(method, operations any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Transact", reflect.TypeOf((*MockSbClient)(nil).Transact), method, operations) } // UpdateChassis mocks base method. -func (m *MockSbClient) UpdateChassis(chassis *ovnsb.Chassis, fields ...interface{}) error { +func (m *MockSbClient) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{chassis} + varargs := []any{chassis} for _, a := range fields { varargs = append(varargs, a) } @@ -4537,9 +4542,9 @@ func (m *MockSbClient) UpdateChassis(chassis *ovnsb.Chassis, fields ...interface } // UpdateChassis indicates an expected call of UpdateChassis. -func (mr *MockSbClientMockRecorder) UpdateChassis(chassis interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) UpdateChassis(chassis any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{chassis}, fields...) + varargs := append([]any{chassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassis", reflect.TypeOf((*MockSbClient)(nil).UpdateChassis), varargs...) } @@ -4552,7 +4557,7 @@ func (m *MockSbClient) UpdateChassisTag(chassisName, nodeName string) error { } // UpdateChassisTag indicates an expected call of UpdateChassisTag. -func (mr *MockSbClientMockRecorder) UpdateChassisTag(chassisName, nodeName interface{}) *gomock.Call { +func (mr *MockSbClientMockRecorder) UpdateChassisTag(chassisName, nodeName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassisTag", reflect.TypeOf((*MockSbClient)(nil).UpdateChassisTag), chassisName, nodeName) } @@ -4581,7 +4586,7 @@ func (m *MockCommon) EXPECT() *MockCommonMockRecorder { } // GetEntityInfo mocks base method. -func (m *MockCommon) GetEntityInfo(entity interface{}) error { +func (m *MockCommon) GetEntityInfo(entity any) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEntityInfo", entity) ret0, _ := ret[0].(error) @@ -4589,7 +4594,7 @@ func (m *MockCommon) GetEntityInfo(entity interface{}) error { } // GetEntityInfo indicates an expected call of GetEntityInfo. -func (mr *MockCommonMockRecorder) GetEntityInfo(entity interface{}) *gomock.Call { +func (mr *MockCommonMockRecorder) GetEntityInfo(entity any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntityInfo", reflect.TypeOf((*MockCommon)(nil).GetEntityInfo), entity) } @@ -4603,7 +4608,7 @@ func (m *MockCommon) Transact(method string, operations []ovsdb.Operation) error } // Transact indicates an expected call of Transact. -func (mr *MockCommonMockRecorder) Transact(method, operations interface{}) *gomock.Call { +func (mr *MockCommonMockRecorder) Transact(method, operations any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Transact", reflect.TypeOf((*MockCommon)(nil).Transact), method, operations) } @@ -4640,7 +4645,7 @@ func (m *MockChassis) DeleteChassis(chassisName string) error { } // DeleteChassis indicates an expected call of DeleteChassis. -func (mr *MockChassisMockRecorder) DeleteChassis(chassisName interface{}) *gomock.Call { +func (mr *MockChassisMockRecorder) DeleteChassis(chassisName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassis", reflect.TypeOf((*MockChassis)(nil).DeleteChassis), chassisName) } @@ -4654,7 +4659,7 @@ func (m *MockChassis) DeleteChassisByHost(node string) error { } // DeleteChassisByHost indicates an expected call of DeleteChassisByHost. -func (mr *MockChassisMockRecorder) DeleteChassisByHost(node interface{}) *gomock.Call { +func (mr *MockChassisMockRecorder) DeleteChassisByHost(node any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassisByHost", reflect.TypeOf((*MockChassis)(nil).DeleteChassisByHost), node) } @@ -4669,7 +4674,7 @@ func (m *MockChassis) GetAllChassisByHost(nodeName string) (*[]ovnsb.Chassis, er } // GetAllChassisByHost indicates an expected call of GetAllChassisByHost. -func (mr *MockChassisMockRecorder) GetAllChassisByHost(nodeName interface{}) *gomock.Call { +func (mr *MockChassisMockRecorder) GetAllChassisByHost(nodeName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllChassisByHost", reflect.TypeOf((*MockChassis)(nil).GetAllChassisByHost), nodeName) } @@ -4684,7 +4689,7 @@ func (m *MockChassis) GetChassis(chassisName string, ignoreNotFound bool) (*ovns } // GetChassis indicates an expected call of GetChassis. -func (mr *MockChassisMockRecorder) GetChassis(chassisName, ignoreNotFound interface{}) *gomock.Call { +func (mr *MockChassisMockRecorder) GetChassis(chassisName, ignoreNotFound any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassis", reflect.TypeOf((*MockChassis)(nil).GetChassis), chassisName, ignoreNotFound) } @@ -4699,7 +4704,7 @@ func (m *MockChassis) GetChassisByHost(nodeName string) (*ovnsb.Chassis, error) } // GetChassisByHost indicates an expected call of GetChassisByHost. -func (mr *MockChassisMockRecorder) GetChassisByHost(nodeName interface{}) *gomock.Call { +func (mr *MockChassisMockRecorder) GetChassisByHost(nodeName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassisByHost", reflect.TypeOf((*MockChassis)(nil).GetChassisByHost), nodeName) } @@ -4735,9 +4740,9 @@ func (mr *MockChassisMockRecorder) ListChassis() *gomock.Call { } // UpdateChassis mocks base method. -func (m *MockChassis) UpdateChassis(chassis *ovnsb.Chassis, fields ...interface{}) error { +func (m *MockChassis) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) error { m.ctrl.T.Helper() - varargs := []interface{}{chassis} + varargs := []any{chassis} for _, a := range fields { varargs = append(varargs, a) } @@ -4747,9 +4752,9 @@ func (m *MockChassis) UpdateChassis(chassis *ovnsb.Chassis, fields ...interface{ } // UpdateChassis indicates an expected call of UpdateChassis. -func (mr *MockChassisMockRecorder) UpdateChassis(chassis interface{}, fields ...interface{}) *gomock.Call { +func (mr *MockChassisMockRecorder) UpdateChassis(chassis any, fields ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{chassis}, fields...) + varargs := append([]any{chassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassis", reflect.TypeOf((*MockChassis)(nil).UpdateChassis), varargs...) } @@ -4762,7 +4767,7 @@ func (m *MockChassis) UpdateChassisTag(chassisName, nodeName string) error { } // UpdateChassisTag indicates an expected call of UpdateChassisTag. -func (mr *MockChassisMockRecorder) UpdateChassisTag(chassisName, nodeName interface{}) *gomock.Call { +func (mr *MockChassisMockRecorder) UpdateChassisTag(chassisName, nodeName any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassisTag", reflect.TypeOf((*MockChassis)(nil).UpdateChassisTag), chassisName, nodeName) } diff --git a/pkg/controller/controller_test.go b/pkg/controller/controller_test.go index f5e62425469..c012e0ffcd9 100644 --- a/pkg/controller/controller_test.go +++ b/pkg/controller/controller_test.go @@ -3,8 +3,8 @@ package controller import ( "testing" - "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" + "go.uber.org/mock/gomock" "k8s.io/client-go/informers" coreinformers "k8s.io/client-go/informers/core/v1" diff --git a/pkg/controller/ovn_ic_test.go b/pkg/controller/ovn_ic_test.go index 5d9db014c94..f3d1d615af8 100644 --- a/pkg/controller/ovn_ic_test.go +++ b/pkg/controller/ovn_ic_test.go @@ -3,9 +3,9 @@ package controller import ( "testing" - "github.com/golang/mock/gomock" "github.com/scylladb/go-set/strset" "github.com/stretchr/testify/require" + "go.uber.org/mock/gomock" "github.com/kubeovn/kube-ovn/pkg/ovsdb/ovnnb" ) diff --git a/pkg/controller/security_group_test.go b/pkg/controller/security_group_test.go index a4516c238cd..dbd6fecb5c7 100644 --- a/pkg/controller/security_group_test.go +++ b/pkg/controller/security_group_test.go @@ -3,8 +3,8 @@ package controller import ( "testing" - "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" + "go.uber.org/mock/gomock" "github.com/kubeovn/kube-ovn/pkg/ovs" "github.com/kubeovn/kube-ovn/pkg/ovsdb/ovnnb" diff --git a/pkg/controller/subnet_test.go b/pkg/controller/subnet_test.go index f328ddf1ea8..f6e2eefa1de 100644 --- a/pkg/controller/subnet_test.go +++ b/pkg/controller/subnet_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" + "go.uber.org/mock/gomock" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/yamls/ovn-dpdk.yaml b/yamls/ovn-dpdk.yaml index 2e869770bdc..4622fd2690c 100644 --- a/yamls/ovn-dpdk.yaml +++ b/yamls/ovn-dpdk.yaml @@ -204,7 +204,7 @@ spec: hostNetwork: true containers: - name: ovn-central - image: "kubeovn/kube-ovn:v1.12.0" + image: "kubeovn/kube-ovn:v1.13.0" imagePullPolicy: IfNotPresent command: - /kube-ovn/start-db.sh diff --git a/yamls/rh-mod-job.yaml b/yamls/rh-mod-job.yaml index 7e5e3718645..a5bbaa73b30 100644 --- a/yamls/rh-mod-job.yaml +++ b/yamls/rh-mod-job.yaml @@ -29,7 +29,7 @@ spec: - job containers: - name: centos7-module - image: kubeovn/centos7-compile:v1.10.0 + image: kubeovn/centos7-compile:v1.13.0 imagePullPolicy: IfNotPresent command: - /fastpath/entrypoint.sh