From 26c21d0fa56b596d9d2f093b1d5f08dc3f617638 Mon Sep 17 00:00:00 2001 From: Erik F <16261515+erikfuller@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:45:10 -0700 Subject: [PATCH] adding missed mocks --- pkg/aws/cloud_mocks.go | 22 +- pkg/aws/services/vpclattice_mocks.go | 226 ++++++++---------- pkg/deploy/lattice/service_manager_mock.go | 18 +- .../lattice/service_network_manager_mock.go | 26 +- 4 files changed, 127 insertions(+), 165 deletions(-) diff --git a/pkg/aws/cloud_mocks.go b/pkg/aws/cloud_mocks.go index dfa5f816..7e8fd8c5 100644 --- a/pkg/aws/cloud_mocks.go +++ b/pkg/aws/cloud_mocks.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: ./pkg/aws/cloud.go +// Source: github.com/aws/aws-application-networking-k8s/pkg/aws (interfaces: Cloud) // Package aws is a generated GoMock package. package aws @@ -49,24 +49,24 @@ func (mr *MockCloudMockRecorder) Config() *gomock.Call { } // ContainsManagedBy mocks base method. -func (m *MockCloud) ContainsManagedBy(tags services.Tags) bool { +func (m *MockCloud) ContainsManagedBy(arg0 map[string]*string) bool { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ContainsManagedBy", tags) + ret := m.ctrl.Call(m, "ContainsManagedBy", arg0) ret0, _ := ret[0].(bool) return ret0 } // ContainsManagedBy indicates an expected call of ContainsManagedBy. -func (mr *MockCloudMockRecorder) ContainsManagedBy(tags interface{}) *gomock.Call { +func (mr *MockCloudMockRecorder) ContainsManagedBy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainsManagedBy", reflect.TypeOf((*MockCloud)(nil).ContainsManagedBy), tags) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ContainsManagedBy", reflect.TypeOf((*MockCloud)(nil).ContainsManagedBy), arg0) } // DefaultTags mocks base method. -func (m *MockCloud) DefaultTags() services.Tags { +func (m *MockCloud) DefaultTags() map[string]*string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DefaultTags") - ret0, _ := ret[0].(services.Tags) + ret0, _ := ret[0].(map[string]*string) return ret0 } @@ -77,18 +77,18 @@ func (mr *MockCloudMockRecorder) DefaultTags() *gomock.Call { } // IsArnManaged mocks base method. -func (m *MockCloud) IsArnManaged(arn string) (bool, error) { +func (m *MockCloud) IsArnManaged(arg0 string) (bool, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "IsArnManaged", arn) + ret := m.ctrl.Call(m, "IsArnManaged", arg0) ret0, _ := ret[0].(bool) ret1, _ := ret[1].(error) return ret0, ret1 } // IsArnManaged indicates an expected call of IsArnManaged. -func (mr *MockCloudMockRecorder) IsArnManaged(arn interface{}) *gomock.Call { +func (mr *MockCloudMockRecorder) IsArnManaged(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsArnManaged", reflect.TypeOf((*MockCloud)(nil).IsArnManaged), arn) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsArnManaged", reflect.TypeOf((*MockCloud)(nil).IsArnManaged), arg0) } // Lattice mocks base method. diff --git a/pkg/aws/services/vpclattice_mocks.go b/pkg/aws/services/vpclattice_mocks.go index ae8e6194..573771e4 100644 --- a/pkg/aws/services/vpclattice_mocks.go +++ b/pkg/aws/services/vpclattice_mocks.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: ./pkg/aws/services/vpclattice.go +// Source: github.com/aws/aws-application-networking-k8s/pkg/aws/services (interfaces: Lattice) // Package services is a generated GoMock package. package services @@ -8,49 +8,11 @@ import ( context "context" reflect "reflect" - aws "github.com/aws/aws-sdk-go/aws" request "github.com/aws/aws-sdk-go/aws/request" vpclattice "github.com/aws/aws-sdk-go/service/vpclattice" gomock "github.com/golang/mock/gomock" ) -// MockLatticeServiceNameProvider is a mock of LatticeServiceNameProvider interface. -type MockLatticeServiceNameProvider struct { - ctrl *gomock.Controller - recorder *MockLatticeServiceNameProviderMockRecorder -} - -// MockLatticeServiceNameProviderMockRecorder is the mock recorder for MockLatticeServiceNameProvider. -type MockLatticeServiceNameProviderMockRecorder struct { - mock *MockLatticeServiceNameProvider -} - -// NewMockLatticeServiceNameProvider creates a new mock instance. -func NewMockLatticeServiceNameProvider(ctrl *gomock.Controller) *MockLatticeServiceNameProvider { - mock := &MockLatticeServiceNameProvider{ctrl: ctrl} - mock.recorder = &MockLatticeServiceNameProviderMockRecorder{mock} - return mock -} - -// EXPECT returns an object that allows the caller to indicate expected use. -func (m *MockLatticeServiceNameProvider) EXPECT() *MockLatticeServiceNameProviderMockRecorder { - return m.recorder -} - -// LatticeServiceName mocks base method. -func (m *MockLatticeServiceNameProvider) LatticeServiceName() string { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "LatticeServiceName") - ret0, _ := ret[0].(string) - return ret0 -} - -// LatticeServiceName indicates an expected call of LatticeServiceName. -func (mr *MockLatticeServiceNameProviderMockRecorder) LatticeServiceName() *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LatticeServiceName", reflect.TypeOf((*MockLatticeServiceNameProvider)(nil).LatticeServiceName)) -} - // MockLattice is a mock of Lattice interface. type MockLattice struct { ctrl *gomock.Controller @@ -105,7 +67,7 @@ func (mr *MockLatticeMockRecorder) BatchUpdateRuleRequest(arg0 interface{}) *gom } // BatchUpdateRuleWithContext mocks base method. -func (m *MockLattice) BatchUpdateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.BatchUpdateRuleInput, arg2 ...request.Option) (*vpclattice.BatchUpdateRuleOutput, error) { +func (m *MockLattice) BatchUpdateRuleWithContext(arg0 context.Context, arg1 *vpclattice.BatchUpdateRuleInput, arg2 ...request.Option) (*vpclattice.BatchUpdateRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -155,7 +117,7 @@ func (mr *MockLatticeMockRecorder) CreateAccessLogSubscriptionRequest(arg0 inter } // CreateAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) CreateAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.CreateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.CreateAccessLogSubscriptionOutput, error) { +func (m *MockLattice) CreateAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.CreateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.CreateAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -205,7 +167,7 @@ func (mr *MockLatticeMockRecorder) CreateListenerRequest(arg0 interface{}) *gomo } // CreateListenerWithContext mocks base method. -func (m *MockLattice) CreateListenerWithContext(arg0 aws.Context, arg1 *vpclattice.CreateListenerInput, arg2 ...request.Option) (*vpclattice.CreateListenerOutput, error) { +func (m *MockLattice) CreateListenerWithContext(arg0 context.Context, arg1 *vpclattice.CreateListenerInput, arg2 ...request.Option) (*vpclattice.CreateListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -255,7 +217,7 @@ func (mr *MockLatticeMockRecorder) CreateRuleRequest(arg0 interface{}) *gomock.C } // CreateRuleWithContext mocks base method. -func (m *MockLattice) CreateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.CreateRuleInput, arg2 ...request.Option) (*vpclattice.CreateRuleOutput, error) { +func (m *MockLattice) CreateRuleWithContext(arg0 context.Context, arg1 *vpclattice.CreateRuleInput, arg2 ...request.Option) (*vpclattice.CreateRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -350,7 +312,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceNetworkServiceAssociationRequest } // CreateServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockLattice) CreateServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkServiceAssociationOutput, error) { +func (m *MockLattice) CreateServiceNetworkServiceAssociationWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkServiceAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -400,7 +362,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceNetworkVpcAssociationRequest(arg } // CreateServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) CreateServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) CreateServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -420,7 +382,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceNetworkVpcAssociationWithContext } // CreateServiceNetworkWithContext mocks base method. -func (m *MockLattice) CreateServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkOutput, error) { +func (m *MockLattice) CreateServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -455,7 +417,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceRequest(arg0 interface{}) *gomoc } // CreateServiceWithContext mocks base method. -func (m *MockLattice) CreateServiceWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceInput, arg2 ...request.Option) (*vpclattice.CreateServiceOutput, error) { +func (m *MockLattice) CreateServiceWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceInput, arg2 ...request.Option) (*vpclattice.CreateServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -505,7 +467,7 @@ func (mr *MockLatticeMockRecorder) CreateTargetGroupRequest(arg0 interface{}) *g } // CreateTargetGroupWithContext mocks base method. -func (m *MockLattice) CreateTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.CreateTargetGroupInput, arg2 ...request.Option) (*vpclattice.CreateTargetGroupOutput, error) { +func (m *MockLattice) CreateTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.CreateTargetGroupInput, arg2 ...request.Option) (*vpclattice.CreateTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -555,7 +517,7 @@ func (mr *MockLatticeMockRecorder) DeleteAccessLogSubscriptionRequest(arg0 inter } // DeleteAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) DeleteAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.DeleteAccessLogSubscriptionOutput, error) { +func (m *MockLattice) DeleteAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.DeleteAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.DeleteAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -605,7 +567,7 @@ func (mr *MockLatticeMockRecorder) DeleteAuthPolicyRequest(arg0 interface{}) *go } // DeleteAuthPolicyWithContext mocks base method. -func (m *MockLattice) DeleteAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteAuthPolicyInput, arg2 ...request.Option) (*vpclattice.DeleteAuthPolicyOutput, error) { +func (m *MockLattice) DeleteAuthPolicyWithContext(arg0 context.Context, arg1 *vpclattice.DeleteAuthPolicyInput, arg2 ...request.Option) (*vpclattice.DeleteAuthPolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -655,7 +617,7 @@ func (mr *MockLatticeMockRecorder) DeleteListenerRequest(arg0 interface{}) *gomo } // DeleteListenerWithContext mocks base method. -func (m *MockLattice) DeleteListenerWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteListenerInput, arg2 ...request.Option) (*vpclattice.DeleteListenerOutput, error) { +func (m *MockLattice) DeleteListenerWithContext(arg0 context.Context, arg1 *vpclattice.DeleteListenerInput, arg2 ...request.Option) (*vpclattice.DeleteListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -705,7 +667,7 @@ func (mr *MockLatticeMockRecorder) DeleteResourcePolicyRequest(arg0 interface{}) } // DeleteResourcePolicyWithContext mocks base method. -func (m *MockLattice) DeleteResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteResourcePolicyInput, arg2 ...request.Option) (*vpclattice.DeleteResourcePolicyOutput, error) { +func (m *MockLattice) DeleteResourcePolicyWithContext(arg0 context.Context, arg1 *vpclattice.DeleteResourcePolicyInput, arg2 ...request.Option) (*vpclattice.DeleteResourcePolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -755,7 +717,7 @@ func (mr *MockLatticeMockRecorder) DeleteRuleRequest(arg0 interface{}) *gomock.C } // DeleteRuleWithContext mocks base method. -func (m *MockLattice) DeleteRuleWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteRuleInput, arg2 ...request.Option) (*vpclattice.DeleteRuleOutput, error) { +func (m *MockLattice) DeleteRuleWithContext(arg0 context.Context, arg1 *vpclattice.DeleteRuleInput, arg2 ...request.Option) (*vpclattice.DeleteRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -850,7 +812,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceNetworkServiceAssociationRequest } // DeleteServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockLattice) DeleteServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error) { +func (m *MockLattice) DeleteServiceNetworkServiceAssociationWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -900,7 +862,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceNetworkVpcAssociationRequest(arg } // DeleteServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) DeleteServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) DeleteServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -920,7 +882,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceNetworkVpcAssociationWithContext } // DeleteServiceNetworkWithContext mocks base method. -func (m *MockLattice) DeleteServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkOutput, error) { +func (m *MockLattice) DeleteServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceNetworkInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -955,7 +917,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceRequest(arg0 interface{}) *gomoc } // DeleteServiceWithContext mocks base method. -func (m *MockLattice) DeleteServiceWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceInput, arg2 ...request.Option) (*vpclattice.DeleteServiceOutput, error) { +func (m *MockLattice) DeleteServiceWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceInput, arg2 ...request.Option) (*vpclattice.DeleteServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1005,7 +967,7 @@ func (mr *MockLatticeMockRecorder) DeleteTargetGroupRequest(arg0 interface{}) *g } // DeleteTargetGroupWithContext mocks base method. -func (m *MockLattice) DeleteTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteTargetGroupInput, arg2 ...request.Option) (*vpclattice.DeleteTargetGroupOutput, error) { +func (m *MockLattice) DeleteTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.DeleteTargetGroupInput, arg2 ...request.Option) (*vpclattice.DeleteTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1055,7 +1017,7 @@ func (mr *MockLatticeMockRecorder) DeregisterTargetsRequest(arg0 interface{}) *g } // DeregisterTargetsWithContext mocks base method. -func (m *MockLattice) DeregisterTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.DeregisterTargetsInput, arg2 ...request.Option) (*vpclattice.DeregisterTargetsOutput, error) { +func (m *MockLattice) DeregisterTargetsWithContext(arg0 context.Context, arg1 *vpclattice.DeregisterTargetsInput, arg2 ...request.Option) (*vpclattice.DeregisterTargetsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1075,33 +1037,33 @@ func (mr *MockLatticeMockRecorder) DeregisterTargetsWithContext(arg0, arg1 inter } // FindService mocks base method. -func (m *MockLattice) FindService(ctx context.Context, nameProvider LatticeServiceNameProvider) (*vpclattice.ServiceSummary, error) { +func (m *MockLattice) FindService(arg0 context.Context, arg1 LatticeServiceNameProvider) (*vpclattice.ServiceSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "FindService", ctx, nameProvider) + ret := m.ctrl.Call(m, "FindService", arg0, arg1) ret0, _ := ret[0].(*vpclattice.ServiceSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // FindService indicates an expected call of FindService. -func (mr *MockLatticeMockRecorder) FindService(ctx, nameProvider interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) FindService(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindService", reflect.TypeOf((*MockLattice)(nil).FindService), ctx, nameProvider) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindService", reflect.TypeOf((*MockLattice)(nil).FindService), arg0, arg1) } // FindServiceNetwork mocks base method. -func (m *MockLattice) FindServiceNetwork(ctx context.Context, name, accountId string) (*ServiceNetworkInfo, error) { +func (m *MockLattice) FindServiceNetwork(arg0 context.Context, arg1, arg2 string) (*ServiceNetworkInfo, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "FindServiceNetwork", ctx, name, accountId) + ret := m.ctrl.Call(m, "FindServiceNetwork", arg0, arg1, arg2) ret0, _ := ret[0].(*ServiceNetworkInfo) ret1, _ := ret[1].(error) return ret0, ret1 } // FindServiceNetwork indicates an expected call of FindServiceNetwork. -func (mr *MockLatticeMockRecorder) FindServiceNetwork(ctx, name, accountId interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) FindServiceNetwork(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindServiceNetwork", reflect.TypeOf((*MockLattice)(nil).FindServiceNetwork), ctx, name, accountId) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindServiceNetwork", reflect.TypeOf((*MockLattice)(nil).FindServiceNetwork), arg0, arg1, arg2) } // GetAccessLogSubscription mocks base method. @@ -1135,7 +1097,7 @@ func (mr *MockLatticeMockRecorder) GetAccessLogSubscriptionRequest(arg0 interfac } // GetAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) GetAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.GetAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.GetAccessLogSubscriptionOutput, error) { +func (m *MockLattice) GetAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.GetAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.GetAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1185,7 +1147,7 @@ func (mr *MockLatticeMockRecorder) GetAuthPolicyRequest(arg0 interface{}) *gomoc } // GetAuthPolicyWithContext mocks base method. -func (m *MockLattice) GetAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.GetAuthPolicyInput, arg2 ...request.Option) (*vpclattice.GetAuthPolicyOutput, error) { +func (m *MockLattice) GetAuthPolicyWithContext(arg0 context.Context, arg1 *vpclattice.GetAuthPolicyInput, arg2 ...request.Option) (*vpclattice.GetAuthPolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1235,7 +1197,7 @@ func (mr *MockLatticeMockRecorder) GetListenerRequest(arg0 interface{}) *gomock. } // GetListenerWithContext mocks base method. -func (m *MockLattice) GetListenerWithContext(arg0 aws.Context, arg1 *vpclattice.GetListenerInput, arg2 ...request.Option) (*vpclattice.GetListenerOutput, error) { +func (m *MockLattice) GetListenerWithContext(arg0 context.Context, arg1 *vpclattice.GetListenerInput, arg2 ...request.Option) (*vpclattice.GetListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1285,7 +1247,7 @@ func (mr *MockLatticeMockRecorder) GetResourcePolicyRequest(arg0 interface{}) *g } // GetResourcePolicyWithContext mocks base method. -func (m *MockLattice) GetResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.GetResourcePolicyInput, arg2 ...request.Option) (*vpclattice.GetResourcePolicyOutput, error) { +func (m *MockLattice) GetResourcePolicyWithContext(arg0 context.Context, arg1 *vpclattice.GetResourcePolicyInput, arg2 ...request.Option) (*vpclattice.GetResourcePolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1335,7 +1297,7 @@ func (mr *MockLatticeMockRecorder) GetRuleRequest(arg0 interface{}) *gomock.Call } // GetRuleWithContext mocks base method. -func (m *MockLattice) GetRuleWithContext(arg0 aws.Context, arg1 *vpclattice.GetRuleInput, arg2 ...request.Option) (*vpclattice.GetRuleOutput, error) { +func (m *MockLattice) GetRuleWithContext(arg0 context.Context, arg1 *vpclattice.GetRuleInput, arg2 ...request.Option) (*vpclattice.GetRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1430,7 +1392,7 @@ func (mr *MockLatticeMockRecorder) GetServiceNetworkServiceAssociationRequest(ar } // GetServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockLattice) GetServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkServiceAssociationOutput, error) { +func (m *MockLattice) GetServiceNetworkServiceAssociationWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkServiceAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1480,7 +1442,7 @@ func (mr *MockLatticeMockRecorder) GetServiceNetworkVpcAssociationRequest(arg0 i } // GetServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) GetServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) GetServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1500,7 +1462,7 @@ func (mr *MockLatticeMockRecorder) GetServiceNetworkVpcAssociationWithContext(ar } // GetServiceNetworkWithContext mocks base method. -func (m *MockLattice) GetServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkOutput, error) { +func (m *MockLattice) GetServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceNetworkInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1535,7 +1497,7 @@ func (mr *MockLatticeMockRecorder) GetServiceRequest(arg0 interface{}) *gomock.C } // GetServiceWithContext mocks base method. -func (m *MockLattice) GetServiceWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceInput, arg2 ...request.Option) (*vpclattice.GetServiceOutput, error) { +func (m *MockLattice) GetServiceWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceInput, arg2 ...request.Option) (*vpclattice.GetServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1585,7 +1547,7 @@ func (mr *MockLatticeMockRecorder) GetTargetGroupRequest(arg0 interface{}) *gomo } // GetTargetGroupWithContext mocks base method. -func (m *MockLattice) GetTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.GetTargetGroupInput, arg2 ...request.Option) (*vpclattice.GetTargetGroupOutput, error) { +func (m *MockLattice) GetTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.GetTargetGroupInput, arg2 ...request.Option) (*vpclattice.GetTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1634,7 +1596,7 @@ func (mr *MockLatticeMockRecorder) ListAccessLogSubscriptionsPages(arg0, arg1 in } // ListAccessLogSubscriptionsPagesWithContext mocks base method. -func (m *MockLattice) ListAccessLogSubscriptionsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 func(*vpclattice.ListAccessLogSubscriptionsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListAccessLogSubscriptionsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 func(*vpclattice.ListAccessLogSubscriptionsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1668,7 +1630,7 @@ func (mr *MockLatticeMockRecorder) ListAccessLogSubscriptionsRequest(arg0 interf } // ListAccessLogSubscriptionsWithContext mocks base method. -func (m *MockLattice) ListAccessLogSubscriptionsWithContext(arg0 aws.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 ...request.Option) (*vpclattice.ListAccessLogSubscriptionsOutput, error) { +func (m *MockLattice) ListAccessLogSubscriptionsWithContext(arg0 context.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 ...request.Option) (*vpclattice.ListAccessLogSubscriptionsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1717,7 +1679,7 @@ func (mr *MockLatticeMockRecorder) ListListenersPages(arg0, arg1 interface{}) *g } // ListListenersPagesWithContext mocks base method. -func (m *MockLattice) ListListenersPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListListenersInput, arg2 func(*vpclattice.ListListenersOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListListenersPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListListenersInput, arg2 func(*vpclattice.ListListenersOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1751,7 +1713,7 @@ func (mr *MockLatticeMockRecorder) ListListenersRequest(arg0 interface{}) *gomoc } // ListListenersWithContext mocks base method. -func (m *MockLattice) ListListenersWithContext(arg0 aws.Context, arg1 *vpclattice.ListListenersInput, arg2 ...request.Option) (*vpclattice.ListListenersOutput, error) { +func (m *MockLattice) ListListenersWithContext(arg0 context.Context, arg1 *vpclattice.ListListenersInput, arg2 ...request.Option) (*vpclattice.ListListenersOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1800,7 +1762,7 @@ func (mr *MockLatticeMockRecorder) ListRulesPages(arg0, arg1 interface{}) *gomoc } // ListRulesPagesWithContext mocks base method. -func (m *MockLattice) ListRulesPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListRulesInput, arg2 func(*vpclattice.ListRulesOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListRulesPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListRulesInput, arg2 func(*vpclattice.ListRulesOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1834,7 +1796,7 @@ func (mr *MockLatticeMockRecorder) ListRulesRequest(arg0 interface{}) *gomock.Ca } // ListRulesWithContext mocks base method. -func (m *MockLattice) ListRulesWithContext(arg0 aws.Context, arg1 *vpclattice.ListRulesInput, arg2 ...request.Option) (*vpclattice.ListRulesOutput, error) { +func (m *MockLattice) ListRulesWithContext(arg0 context.Context, arg1 *vpclattice.ListRulesInput, arg2 ...request.Option) (*vpclattice.ListRulesOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1869,18 +1831,18 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociations(arg0 in } // ListServiceNetworkServiceAssociationsAsList mocks base method. -func (m *MockLattice) ListServiceNetworkServiceAssociationsAsList(ctx context.Context, input *vpclattice.ListServiceNetworkServiceAssociationsInput) ([]*vpclattice.ServiceNetworkServiceAssociationSummary, error) { +func (m *MockLattice) ListServiceNetworkServiceAssociationsAsList(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput) ([]*vpclattice.ServiceNetworkServiceAssociationSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceNetworkServiceAssociationSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServiceNetworkServiceAssociationsAsList indicates an expected call of ListServiceNetworkServiceAssociationsAsList. -func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkServiceAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkServiceAssociationsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkServiceAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkServiceAssociationsAsList), arg0, arg1) } // ListServiceNetworkServiceAssociationsPages mocks base method. @@ -1898,7 +1860,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsPages(ar } // ListServiceNetworkServiceAssociationsPagesWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkServiceAssociationsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkServiceAssociationsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServiceNetworkServiceAssociationsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkServiceAssociationsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1932,7 +1894,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsRequest( } // ListServiceNetworkServiceAssociationsWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkServiceAssociationsWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error) { +func (m *MockLattice) ListServiceNetworkServiceAssociationsWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1967,18 +1929,18 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociations(arg0 interf } // ListServiceNetworkVpcAssociationsAsList mocks base method. -func (m *MockLattice) ListServiceNetworkVpcAssociationsAsList(ctx context.Context, input *vpclattice.ListServiceNetworkVpcAssociationsInput) ([]*vpclattice.ServiceNetworkVpcAssociationSummary, error) { +func (m *MockLattice) ListServiceNetworkVpcAssociationsAsList(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput) ([]*vpclattice.ServiceNetworkVpcAssociationSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceNetworkVpcAssociationSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServiceNetworkVpcAssociationsAsList indicates an expected call of ListServiceNetworkVpcAssociationsAsList. -func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkVpcAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkVpcAssociationsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkVpcAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkVpcAssociationsAsList), arg0, arg1) } // ListServiceNetworkVpcAssociationsPages mocks base method. @@ -1996,7 +1958,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsPages(arg0, } // ListServiceNetworkVpcAssociationsPagesWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkVpcAssociationsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkVpcAssociationsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServiceNetworkVpcAssociationsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkVpcAssociationsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2030,7 +1992,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsRequest(arg0 } // ListServiceNetworkVpcAssociationsWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkVpcAssociationsWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkVpcAssociationsOutput, error) { +func (m *MockLattice) ListServiceNetworkVpcAssociationsWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkVpcAssociationsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2065,18 +2027,18 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworks(arg0 interface{}) *gomock } // ListServiceNetworksAsList mocks base method. -func (m *MockLattice) ListServiceNetworksAsList(ctx context.Context, input *vpclattice.ListServiceNetworksInput) ([]*vpclattice.ServiceNetworkSummary, error) { +func (m *MockLattice) ListServiceNetworksAsList(arg0 context.Context, arg1 *vpclattice.ListServiceNetworksInput) ([]*vpclattice.ServiceNetworkSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworksAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServiceNetworksAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceNetworkSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServiceNetworksAsList indicates an expected call of ListServiceNetworksAsList. -func (mr *MockLatticeMockRecorder) ListServiceNetworksAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServiceNetworksAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworksAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworksAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworksAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworksAsList), arg0, arg1) } // ListServiceNetworksPages mocks base method. @@ -2094,7 +2056,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworksPages(arg0, arg1 interface } // ListServiceNetworksPagesWithContext mocks base method. -func (m *MockLattice) ListServiceNetworksPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 func(*vpclattice.ListServiceNetworksOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServiceNetworksPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 func(*vpclattice.ListServiceNetworksOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2128,7 +2090,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworksRequest(arg0 interface{}) } // ListServiceNetworksWithContext mocks base method. -func (m *MockLattice) ListServiceNetworksWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworksOutput, error) { +func (m *MockLattice) ListServiceNetworksWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworksOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2163,18 +2125,18 @@ func (mr *MockLatticeMockRecorder) ListServices(arg0 interface{}) *gomock.Call { } // ListServicesAsList mocks base method. -func (m *MockLattice) ListServicesAsList(ctx context.Context, input *vpclattice.ListServicesInput) ([]*vpclattice.ServiceSummary, error) { +func (m *MockLattice) ListServicesAsList(arg0 context.Context, arg1 *vpclattice.ListServicesInput) ([]*vpclattice.ServiceSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServicesAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServicesAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServicesAsList indicates an expected call of ListServicesAsList. -func (mr *MockLatticeMockRecorder) ListServicesAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServicesAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServicesAsList", reflect.TypeOf((*MockLattice)(nil).ListServicesAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServicesAsList", reflect.TypeOf((*MockLattice)(nil).ListServicesAsList), arg0, arg1) } // ListServicesPages mocks base method. @@ -2192,7 +2154,7 @@ func (mr *MockLatticeMockRecorder) ListServicesPages(arg0, arg1 interface{}) *go } // ListServicesPagesWithContext mocks base method. -func (m *MockLattice) ListServicesPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServicesInput, arg2 func(*vpclattice.ListServicesOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServicesPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServicesInput, arg2 func(*vpclattice.ListServicesOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2226,7 +2188,7 @@ func (mr *MockLatticeMockRecorder) ListServicesRequest(arg0 interface{}) *gomock } // ListServicesWithContext mocks base method. -func (m *MockLattice) ListServicesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServicesInput, arg2 ...request.Option) (*vpclattice.ListServicesOutput, error) { +func (m *MockLattice) ListServicesWithContext(arg0 context.Context, arg1 *vpclattice.ListServicesInput, arg2 ...request.Option) (*vpclattice.ListServicesOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2276,7 +2238,7 @@ func (mr *MockLatticeMockRecorder) ListTagsForResourceRequest(arg0 interface{}) } // ListTagsForResourceWithContext mocks base method. -func (m *MockLattice) ListTagsForResourceWithContext(arg0 aws.Context, arg1 *vpclattice.ListTagsForResourceInput, arg2 ...request.Option) (*vpclattice.ListTagsForResourceOutput, error) { +func (m *MockLattice) ListTagsForResourceWithContext(arg0 context.Context, arg1 *vpclattice.ListTagsForResourceInput, arg2 ...request.Option) (*vpclattice.ListTagsForResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2311,18 +2273,18 @@ func (mr *MockLatticeMockRecorder) ListTargetGroups(arg0 interface{}) *gomock.Ca } // ListTargetGroupsAsList mocks base method. -func (m *MockLattice) ListTargetGroupsAsList(ctx context.Context, input *vpclattice.ListTargetGroupsInput) ([]*vpclattice.TargetGroupSummary, error) { +func (m *MockLattice) ListTargetGroupsAsList(arg0 context.Context, arg1 *vpclattice.ListTargetGroupsInput) ([]*vpclattice.TargetGroupSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetGroupsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListTargetGroupsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.TargetGroupSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListTargetGroupsAsList indicates an expected call of ListTargetGroupsAsList. -func (mr *MockLatticeMockRecorder) ListTargetGroupsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListTargetGroupsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetGroupsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetGroupsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetGroupsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetGroupsAsList), arg0, arg1) } // ListTargetGroupsPages mocks base method. @@ -2340,7 +2302,7 @@ func (mr *MockLatticeMockRecorder) ListTargetGroupsPages(arg0, arg1 interface{}) } // ListTargetGroupsPagesWithContext mocks base method. -func (m *MockLattice) ListTargetGroupsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 func(*vpclattice.ListTargetGroupsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListTargetGroupsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 func(*vpclattice.ListTargetGroupsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2374,7 +2336,7 @@ func (mr *MockLatticeMockRecorder) ListTargetGroupsRequest(arg0 interface{}) *go } // ListTargetGroupsWithContext mocks base method. -func (m *MockLattice) ListTargetGroupsWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 ...request.Option) (*vpclattice.ListTargetGroupsOutput, error) { +func (m *MockLattice) ListTargetGroupsWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 ...request.Option) (*vpclattice.ListTargetGroupsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2409,18 +2371,18 @@ func (mr *MockLatticeMockRecorder) ListTargets(arg0 interface{}) *gomock.Call { } // ListTargetsAsList mocks base method. -func (m *MockLattice) ListTargetsAsList(ctx context.Context, input *vpclattice.ListTargetsInput) ([]*vpclattice.TargetSummary, error) { +func (m *MockLattice) ListTargetsAsList(arg0 context.Context, arg1 *vpclattice.ListTargetsInput) ([]*vpclattice.TargetSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListTargetsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.TargetSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListTargetsAsList indicates an expected call of ListTargetsAsList. -func (mr *MockLatticeMockRecorder) ListTargetsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListTargetsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetsAsList), arg0, arg1) } // ListTargetsPages mocks base method. @@ -2438,7 +2400,7 @@ func (mr *MockLatticeMockRecorder) ListTargetsPages(arg0, arg1 interface{}) *gom } // ListTargetsPagesWithContext mocks base method. -func (m *MockLattice) ListTargetsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetsInput, arg2 func(*vpclattice.ListTargetsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListTargetsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetsInput, arg2 func(*vpclattice.ListTargetsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2472,7 +2434,7 @@ func (mr *MockLatticeMockRecorder) ListTargetsRequest(arg0 interface{}) *gomock. } // ListTargetsWithContext mocks base method. -func (m *MockLattice) ListTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetsInput, arg2 ...request.Option) (*vpclattice.ListTargetsOutput, error) { +func (m *MockLattice) ListTargetsWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetsInput, arg2 ...request.Option) (*vpclattice.ListTargetsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2522,7 +2484,7 @@ func (mr *MockLatticeMockRecorder) PutAuthPolicyRequest(arg0 interface{}) *gomoc } // PutAuthPolicyWithContext mocks base method. -func (m *MockLattice) PutAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.PutAuthPolicyInput, arg2 ...request.Option) (*vpclattice.PutAuthPolicyOutput, error) { +func (m *MockLattice) PutAuthPolicyWithContext(arg0 context.Context, arg1 *vpclattice.PutAuthPolicyInput, arg2 ...request.Option) (*vpclattice.PutAuthPolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2572,7 +2534,7 @@ func (mr *MockLatticeMockRecorder) PutResourcePolicyRequest(arg0 interface{}) *g } // PutResourcePolicyWithContext mocks base method. -func (m *MockLattice) PutResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.PutResourcePolicyInput, arg2 ...request.Option) (*vpclattice.PutResourcePolicyOutput, error) { +func (m *MockLattice) PutResourcePolicyWithContext(arg0 context.Context, arg1 *vpclattice.PutResourcePolicyInput, arg2 ...request.Option) (*vpclattice.PutResourcePolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2622,7 +2584,7 @@ func (mr *MockLatticeMockRecorder) RegisterTargetsRequest(arg0 interface{}) *gom } // RegisterTargetsWithContext mocks base method. -func (m *MockLattice) RegisterTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.RegisterTargetsInput, arg2 ...request.Option) (*vpclattice.RegisterTargetsOutput, error) { +func (m *MockLattice) RegisterTargetsWithContext(arg0 context.Context, arg1 *vpclattice.RegisterTargetsInput, arg2 ...request.Option) (*vpclattice.RegisterTargetsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2672,7 +2634,7 @@ func (mr *MockLatticeMockRecorder) TagResourceRequest(arg0 interface{}) *gomock. } // TagResourceWithContext mocks base method. -func (m *MockLattice) TagResourceWithContext(arg0 aws.Context, arg1 *vpclattice.TagResourceInput, arg2 ...request.Option) (*vpclattice.TagResourceOutput, error) { +func (m *MockLattice) TagResourceWithContext(arg0 context.Context, arg1 *vpclattice.TagResourceInput, arg2 ...request.Option) (*vpclattice.TagResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2722,7 +2684,7 @@ func (mr *MockLatticeMockRecorder) UntagResourceRequest(arg0 interface{}) *gomoc } // UntagResourceWithContext mocks base method. -func (m *MockLattice) UntagResourceWithContext(arg0 aws.Context, arg1 *vpclattice.UntagResourceInput, arg2 ...request.Option) (*vpclattice.UntagResourceOutput, error) { +func (m *MockLattice) UntagResourceWithContext(arg0 context.Context, arg1 *vpclattice.UntagResourceInput, arg2 ...request.Option) (*vpclattice.UntagResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2772,7 +2734,7 @@ func (mr *MockLatticeMockRecorder) UpdateAccessLogSubscriptionRequest(arg0 inter } // UpdateAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) UpdateAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.UpdateAccessLogSubscriptionOutput, error) { +func (m *MockLattice) UpdateAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.UpdateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.UpdateAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2822,7 +2784,7 @@ func (mr *MockLatticeMockRecorder) UpdateListenerRequest(arg0 interface{}) *gomo } // UpdateListenerWithContext mocks base method. -func (m *MockLattice) UpdateListenerWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateListenerInput, arg2 ...request.Option) (*vpclattice.UpdateListenerOutput, error) { +func (m *MockLattice) UpdateListenerWithContext(arg0 context.Context, arg1 *vpclattice.UpdateListenerInput, arg2 ...request.Option) (*vpclattice.UpdateListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2872,7 +2834,7 @@ func (mr *MockLatticeMockRecorder) UpdateRuleRequest(arg0 interface{}) *gomock.C } // UpdateRuleWithContext mocks base method. -func (m *MockLattice) UpdateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateRuleInput, arg2 ...request.Option) (*vpclattice.UpdateRuleOutput, error) { +func (m *MockLattice) UpdateRuleWithContext(arg0 context.Context, arg1 *vpclattice.UpdateRuleInput, arg2 ...request.Option) (*vpclattice.UpdateRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2967,7 +2929,7 @@ func (mr *MockLatticeMockRecorder) UpdateServiceNetworkVpcAssociationRequest(arg } // UpdateServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) UpdateServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) UpdateServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.UpdateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2987,7 +2949,7 @@ func (mr *MockLatticeMockRecorder) UpdateServiceNetworkVpcAssociationWithContext } // UpdateServiceNetworkWithContext mocks base method. -func (m *MockLattice) UpdateServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkOutput, error) { +func (m *MockLattice) UpdateServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.UpdateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -3022,7 +2984,7 @@ func (mr *MockLatticeMockRecorder) UpdateServiceRequest(arg0 interface{}) *gomoc } // UpdateServiceWithContext mocks base method. -func (m *MockLattice) UpdateServiceWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceInput, arg2 ...request.Option) (*vpclattice.UpdateServiceOutput, error) { +func (m *MockLattice) UpdateServiceWithContext(arg0 context.Context, arg1 *vpclattice.UpdateServiceInput, arg2 ...request.Option) (*vpclattice.UpdateServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -3072,7 +3034,7 @@ func (mr *MockLatticeMockRecorder) UpdateTargetGroupRequest(arg0 interface{}) *g } // UpdateTargetGroupWithContext mocks base method. -func (m *MockLattice) UpdateTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateTargetGroupInput, arg2 ...request.Option) (*vpclattice.UpdateTargetGroupOutput, error) { +func (m *MockLattice) UpdateTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.UpdateTargetGroupInput, arg2 ...request.Option) (*vpclattice.UpdateTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { diff --git a/pkg/deploy/lattice/service_manager_mock.go b/pkg/deploy/lattice/service_manager_mock.go index cddf3b6d..ca4788ba 100644 --- a/pkg/deploy/lattice/service_manager_mock.go +++ b/pkg/deploy/lattice/service_manager_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: ./pkg/deploy/lattice/service_manager.go +// Source: github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice (interfaces: ServiceManager) // Package lattice is a generated GoMock package. package lattice @@ -36,30 +36,30 @@ func (m *MockServiceManager) EXPECT() *MockServiceManagerMockRecorder { } // Create mocks base method. -func (m *MockServiceManager) Create(ctx context.Context, service *lattice.Service) (lattice.ServiceStatus, error) { +func (m *MockServiceManager) Create(arg0 context.Context, arg1 *lattice.Service) (lattice.ServiceStatus, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "Create", ctx, service) + ret := m.ctrl.Call(m, "Create", arg0, arg1) ret0, _ := ret[0].(lattice.ServiceStatus) ret1, _ := ret[1].(error) return ret0, ret1 } // Create indicates an expected call of Create. -func (mr *MockServiceManagerMockRecorder) Create(ctx, service interface{}) *gomock.Call { +func (mr *MockServiceManagerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockServiceManager)(nil).Create), ctx, service) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockServiceManager)(nil).Create), arg0, arg1) } // Delete mocks base method. -func (m *MockServiceManager) Delete(ctx context.Context, service *lattice.Service) error { +func (m *MockServiceManager) Delete(arg0 context.Context, arg1 *lattice.Service) error { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "Delete", ctx, service) + ret := m.ctrl.Call(m, "Delete", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // Delete indicates an expected call of Delete. -func (mr *MockServiceManagerMockRecorder) Delete(ctx, service interface{}) *gomock.Call { +func (mr *MockServiceManagerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockServiceManager)(nil).Delete), ctx, service) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockServiceManager)(nil).Delete), arg0, arg1) } diff --git a/pkg/deploy/lattice/service_network_manager_mock.go b/pkg/deploy/lattice/service_network_manager_mock.go index a80ba968..f5b1bb24 100644 --- a/pkg/deploy/lattice/service_network_manager_mock.go +++ b/pkg/deploy/lattice/service_network_manager_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: ./pkg/deploy/lattice/service_network_manager.go +// Source: github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice (interfaces: ServiceNetworkManager) // Package lattice is a generated GoMock package. package lattice @@ -36,45 +36,45 @@ func (m *MockServiceNetworkManager) EXPECT() *MockServiceNetworkManagerMockRecor } // CreateOrUpdate mocks base method. -func (m *MockServiceNetworkManager) CreateOrUpdate(ctx context.Context, serviceNetwork *lattice.ServiceNetwork) (lattice.ServiceNetworkStatus, error) { +func (m *MockServiceNetworkManager) CreateOrUpdate(arg0 context.Context, arg1 *lattice.ServiceNetwork) (lattice.ServiceNetworkStatus, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateOrUpdate", ctx, serviceNetwork) + ret := m.ctrl.Call(m, "CreateOrUpdate", arg0, arg1) ret0, _ := ret[0].(lattice.ServiceNetworkStatus) ret1, _ := ret[1].(error) return ret0, ret1 } // CreateOrUpdate indicates an expected call of CreateOrUpdate. -func (mr *MockServiceNetworkManagerMockRecorder) CreateOrUpdate(ctx, serviceNetwork interface{}) *gomock.Call { +func (mr *MockServiceNetworkManagerMockRecorder) CreateOrUpdate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdate", reflect.TypeOf((*MockServiceNetworkManager)(nil).CreateOrUpdate), ctx, serviceNetwork) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdate", reflect.TypeOf((*MockServiceNetworkManager)(nil).CreateOrUpdate), arg0, arg1) } // Delete mocks base method. -func (m *MockServiceNetworkManager) Delete(ctx context.Context, serviceNetwork string) error { +func (m *MockServiceNetworkManager) Delete(arg0 context.Context, arg1 string) error { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "Delete", ctx, serviceNetwork) + ret := m.ctrl.Call(m, "Delete", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // Delete indicates an expected call of Delete. -func (mr *MockServiceNetworkManagerMockRecorder) Delete(ctx, serviceNetwork interface{}) *gomock.Call { +func (mr *MockServiceNetworkManagerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockServiceNetworkManager)(nil).Delete), ctx, serviceNetwork) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockServiceNetworkManager)(nil).Delete), arg0, arg1) } // List mocks base method. -func (m *MockServiceNetworkManager) List(ctx context.Context) ([]string, error) { +func (m *MockServiceNetworkManager) List(arg0 context.Context) ([]string, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "List", ctx) + ret := m.ctrl.Call(m, "List", arg0) ret0, _ := ret[0].([]string) ret1, _ := ret[1].(error) return ret0, ret1 } // List indicates an expected call of List. -func (mr *MockServiceNetworkManagerMockRecorder) List(ctx interface{}) *gomock.Call { +func (mr *MockServiceNetworkManagerMockRecorder) List(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockServiceNetworkManager)(nil).List), ctx) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockServiceNetworkManager)(nil).List), arg0) }