diff --git a/go.mod b/go.mod index de8dd04559..b1e57f7063 100644 --- a/go.mod +++ b/go.mod @@ -53,7 +53,7 @@ require ( github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/mailru/easyjson v0.7.7 // indirect - github.com/maxbrunsfeld/counterfeiter/v6 v6.11.2 // indirect + github.com/maxbrunsfeld/counterfeiter/v6 v6.11.3 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect @@ -70,14 +70,14 @@ require ( go.opentelemetry.io/proto/otlp v1.7.0 // indirect go.uber.org/automaxprocs v1.6.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/mod v0.25.0 // indirect - golang.org/x/net v0.41.0 // indirect + golang.org/x/mod v0.26.0 // indirect + golang.org/x/net v0.42.0 // indirect golang.org/x/oauth2 v0.30.0 // indirect golang.org/x/sync v0.16.0 // indirect - golang.org/x/sys v0.33.0 // indirect - golang.org/x/term v0.32.0 // indirect + golang.org/x/sys v0.34.0 // indirect + golang.org/x/term v0.33.0 // indirect golang.org/x/time v0.9.0 // indirect - golang.org/x/tools v0.34.0 // indirect + golang.org/x/tools v0.35.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect diff --git a/go.sum b/go.sum index 2c8a824945..9e34827a02 100644 --- a/go.sum +++ b/go.sum @@ -112,8 +112,8 @@ github.com/magiconair/properties v1.8.9 h1:nWcCbLq1N2v/cpNsy5WvQ37Fb+YElfq20WJ/a github.com/magiconair/properties v1.8.9/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/maxbrunsfeld/counterfeiter/v6 v6.11.2 h1:yVCLo4+ACVroOEr4iFU1iH46Ldlzz2rTuu18Ra7M8sU= -github.com/maxbrunsfeld/counterfeiter/v6 v6.11.2/go.mod h1:VzB2VoMh1Y32/QqDfg9ZJYHj99oM4LiGtqPZydTiQSQ= +github.com/maxbrunsfeld/counterfeiter/v6 v6.11.3 h1:Eaq36EIyJNp7b3qDhjV7jmDVq/yPeW2v4pTqzGbOGB4= +github.com/maxbrunsfeld/counterfeiter/v6 v6.11.3/go.mod h1:6KKUoQBZBW6PDXJtNfqeEjPXMj/ITTk+cWK9t9uS5+E= github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c h1:cqn374mizHuIWj+OSJCajGr/phAmuMug9qIX3l9CflE= github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0= @@ -246,20 +246,20 @@ go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM= -golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U= +golang.org/x/crypto v0.40.0 h1:r4x+VvoG5Fm+eJcxMaY8CQM7Lb0l1lsmjGBQ6s8BfKM= +golang.org/x/crypto v0.40.0/go.mod h1:Qr1vMER5WyS2dfPHAlsOj01wgLbsyWtFn/aY+5+ZdxY= golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac h1:l5+whBCLH3iH2ZNHYLbAe58bo7yrN4mVcnkHDYz5vvs= golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac/go.mod h1:hH+7mtFmImwwcMvScyxUhjuVHR3HGaDPMn9rMSUUbxo= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.25.0 h1:n7a+ZbQKQA/Ysbyb0/6IbB1H/X41mKgbhfv7AfG/44w= -golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= +golang.org/x/mod v0.26.0 h1:EGMPT//Ezu+ylkCijjPc+f4Aih7sZvaAr+O3EHBxvZg= +golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.41.0 h1:vBTly1HeNPEn3wtREYfy4GZ/NECgw2Cnl+nK6Nz3uvw= -golang.org/x/net v0.41.0/go.mod h1:B/K4NNqkfmg07DQYrbwvSluqCJOOXwUjeb/5lOisjbA= +golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs= +golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8= golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI= golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -270,10 +270,10 @@ golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw= -golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg= -golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ= +golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA= +golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/term v0.33.0 h1:NuFncQrRcaRvVmgRkvM3j/F00gWIAlcmlB8ACEKmGIg= +golang.org/x/term v0.33.0/go.mod h1:s18+ql9tYWp1IfpV9DmCtQDDSRBUjKaw9M1eAv5UeF0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4= @@ -284,8 +284,8 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.34.0 h1:qIpSLOxeCYGg9TrcJokLBG4KFA6d795g0xkBkiESGlo= -golang.org/x/tools v0.34.0/go.mod h1:pAP9OwEaY1CAW3HOmg3hLZC5Z0CCmzjAF2UQMSqNARg= +golang.org/x/tools v0.35.0 h1:mBffYraMEf7aa0sB+NuKnuCy8qI/9Bughn8dC2Gu5r0= +golang.org/x/tools v0.35.0/go.mod h1:NKdj5HkL/73byiZSJjqJgKn3ep7KjFkBOkR/Hps3VPw= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/internal/controller/controllerfakes/fake_log_level_setter.go b/internal/controller/controllerfakes/fake_log_level_setter.go index e607fa4773..8a55abf1e2 100644 --- a/internal/controller/controllerfakes/fake_log_level_setter.go +++ b/internal/controller/controllerfakes/fake_log_level_setter.go @@ -85,8 +85,6 @@ func (fake *FakeLogLevelSetter) SetLevelReturnsOnCall(i int, result1 error) { func (fake *FakeLogLevelSetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.setLevelMutex.RLock() - defer fake.setLevelMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/licensing/licensingfakes/fake_collector.go b/internal/controller/licensing/licensingfakes/fake_collector.go index cadd444c1f..b0ea9d426b 100644 --- a/internal/controller/licensing/licensingfakes/fake_collector.go +++ b/internal/controller/licensing/licensingfakes/fake_collector.go @@ -94,8 +94,6 @@ func (fake *FakeCollector) CollectReturnsOnCall(i int, result1 dataplane.Deploym func (fake *FakeCollector) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.collectMutex.RLock() - defer fake.collectMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/agent/agentfakes/fake_deployment_storer.go b/internal/controller/nginx/agent/agentfakes/fake_deployment_storer.go index 19d4f434a5..cacaf715ed 100644 --- a/internal/controller/nginx/agent/agentfakes/fake_deployment_storer.go +++ b/internal/controller/nginx/agent/agentfakes/fake_deployment_storer.go @@ -202,12 +202,6 @@ func (fake *FakeDeploymentStorer) RemoveArgsForCall(i int) types.NamespacedName func (fake *FakeDeploymentStorer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getMutex.RLock() - defer fake.getMutex.RUnlock() - fake.getOrStoreMutex.RLock() - defer fake.getOrStoreMutex.RUnlock() - fake.removeMutex.RLock() - defer fake.removeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/agent/agentfakes/fake_nginx_updater.go b/internal/controller/nginx/agent/agentfakes/fake_nginx_updater.go index c1afc0ba96..466360d740 100644 --- a/internal/controller/nginx/agent/agentfakes/fake_nginx_updater.go +++ b/internal/controller/nginx/agent/agentfakes/fake_nginx_updater.go @@ -99,10 +99,6 @@ func (fake *FakeNginxUpdater) UpdateUpstreamServersArgsForCall(i int) (*agent.De func (fake *FakeNginxUpdater) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.updateConfigMutex.RLock() - defer fake.updateConfigMutex.RUnlock() - fake.updateUpstreamServersMutex.RLock() - defer fake.updateUpstreamServersMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/agent/broadcast/broadcastfakes/fake_broadcaster.go b/internal/controller/nginx/agent/broadcast/broadcastfakes/fake_broadcaster.go index e82946a2d3..ba8f6aaf8e 100644 --- a/internal/controller/nginx/agent/broadcast/broadcastfakes/fake_broadcaster.go +++ b/internal/controller/nginx/agent/broadcast/broadcastfakes/fake_broadcaster.go @@ -187,12 +187,6 @@ func (fake *FakeBroadcaster) SubscribeReturnsOnCall(i int, result1 broadcast.Sub func (fake *FakeBroadcaster) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.cancelSubscriptionMutex.RLock() - defer fake.cancelSubscriptionMutex.RUnlock() - fake.sendMutex.RLock() - defer fake.sendMutex.RUnlock() - fake.subscribeMutex.RLock() - defer fake.subscribeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/agent/grpc/grpcfakes/fake_connections_tracker.go b/internal/controller/nginx/agent/grpc/grpcfakes/fake_connections_tracker.go index cdebb13b5d..b7f242f22f 100644 --- a/internal/controller/nginx/agent/grpc/grpcfakes/fake_connections_tracker.go +++ b/internal/controller/nginx/agent/grpc/grpcfakes/fake_connections_tracker.go @@ -202,14 +202,6 @@ func (fake *FakeConnectionsTracker) TrackArgsForCall(i int) (string, grpc.Connec func (fake *FakeConnectionsTracker) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getConnectionMutex.RLock() - defer fake.getConnectionMutex.RUnlock() - fake.removeConnectionMutex.RLock() - defer fake.removeConnectionMutex.RUnlock() - fake.setInstanceIDMutex.RLock() - defer fake.setInstanceIDMutex.RUnlock() - fake.trackMutex.RLock() - defer fake.trackMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/agent/grpc/messenger/messengerfakes/fake_messenger.go b/internal/controller/nginx/agent/grpc/messenger/messengerfakes/fake_messenger.go index 66384c83d8..183ab792ae 100644 --- a/internal/controller/nginx/agent/grpc/messenger/messengerfakes/fake_messenger.go +++ b/internal/controller/nginx/agent/grpc/messenger/messengerfakes/fake_messenger.go @@ -254,14 +254,6 @@ func (fake *FakeMessenger) SendReturnsOnCall(i int, result1 error) { func (fake *FakeMessenger) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.errorsMutex.RLock() - defer fake.errorsMutex.RUnlock() - fake.messagesMutex.RLock() - defer fake.messagesMutex.RUnlock() - fake.runMutex.RLock() - defer fake.runMutex.RUnlock() - fake.sendMutex.RLock() - defer fake.sendMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/config/configfakes/fake_generator.go b/internal/controller/nginx/config/configfakes/fake_generator.go index f8a3bd4467..7dbd771284 100644 --- a/internal/controller/nginx/config/configfakes/fake_generator.go +++ b/internal/controller/nginx/config/configfakes/fake_generator.go @@ -166,10 +166,6 @@ func (fake *FakeGenerator) GenerateDeploymentContextReturnsOnCall(i int, result1 func (fake *FakeGenerator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.generateMutex.RLock() - defer fake.generateMutex.RUnlock() - fake.generateDeploymentContextMutex.RLock() - defer fake.generateDeploymentContextMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/config/policies/policiesfakes/fake_generator.go b/internal/controller/nginx/config/policies/policiesfakes/fake_generator.go index 2cf4bedae5..12dd9f5ac3 100644 --- a/internal/controller/nginx/config/policies/policiesfakes/fake_generator.go +++ b/internal/controller/nginx/config/policies/policiesfakes/fake_generator.go @@ -251,12 +251,6 @@ func (fake *FakeGenerator) GenerateForServerReturnsOnCall(i int, result1 policie func (fake *FakeGenerator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.generateForInternalLocationMutex.RLock() - defer fake.generateForInternalLocationMutex.RUnlock() - fake.generateForLocationMutex.RLock() - defer fake.generateForLocationMutex.RUnlock() - fake.generateForServerMutex.RLock() - defer fake.generateForServerMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/config/policies/policiesfakes/fake_object_kind.go b/internal/controller/nginx/config/policies/policiesfakes/fake_object_kind.go index 02f55e091b..90952745db 100644 --- a/internal/controller/nginx/config/policies/policiesfakes/fake_object_kind.go +++ b/internal/controller/nginx/config/policies/policiesfakes/fake_object_kind.go @@ -115,10 +115,6 @@ func (fake *FakeObjectKind) SetGroupVersionKindArgsForCall(i int) schema.GroupVe func (fake *FakeObjectKind) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.groupVersionKindMutex.RLock() - defer fake.groupVersionKindMutex.RUnlock() - fake.setGroupVersionKindMutex.RLock() - defer fake.setGroupVersionKindMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/config/policies/policiesfakes/fake_policy.go b/internal/controller/nginx/config/policies/policiesfakes/fake_policy.go index 582cd8b19b..c02aa764b3 100644 --- a/internal/controller/nginx/config/policies/policiesfakes/fake_policy.go +++ b/internal/controller/nginx/config/policies/policiesfakes/fake_policy.go @@ -1824,76 +1824,6 @@ func (fake *FakePolicy) SetUIDArgsForCall(i int) types.UID { func (fake *FakePolicy) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.deepCopyObjectMutex.RLock() - defer fake.deepCopyObjectMutex.RUnlock() - fake.getAnnotationsMutex.RLock() - defer fake.getAnnotationsMutex.RUnlock() - fake.getCreationTimestampMutex.RLock() - defer fake.getCreationTimestampMutex.RUnlock() - fake.getDeletionGracePeriodSecondsMutex.RLock() - defer fake.getDeletionGracePeriodSecondsMutex.RUnlock() - fake.getDeletionTimestampMutex.RLock() - defer fake.getDeletionTimestampMutex.RUnlock() - fake.getFinalizersMutex.RLock() - defer fake.getFinalizersMutex.RUnlock() - fake.getGenerateNameMutex.RLock() - defer fake.getGenerateNameMutex.RUnlock() - fake.getGenerationMutex.RLock() - defer fake.getGenerationMutex.RUnlock() - fake.getLabelsMutex.RLock() - defer fake.getLabelsMutex.RUnlock() - fake.getManagedFieldsMutex.RLock() - defer fake.getManagedFieldsMutex.RUnlock() - fake.getNameMutex.RLock() - defer fake.getNameMutex.RUnlock() - fake.getNamespaceMutex.RLock() - defer fake.getNamespaceMutex.RUnlock() - fake.getObjectKindMutex.RLock() - defer fake.getObjectKindMutex.RUnlock() - fake.getOwnerReferencesMutex.RLock() - defer fake.getOwnerReferencesMutex.RUnlock() - fake.getPolicyStatusMutex.RLock() - defer fake.getPolicyStatusMutex.RUnlock() - fake.getResourceVersionMutex.RLock() - defer fake.getResourceVersionMutex.RUnlock() - fake.getSelfLinkMutex.RLock() - defer fake.getSelfLinkMutex.RUnlock() - fake.getTargetRefsMutex.RLock() - defer fake.getTargetRefsMutex.RUnlock() - fake.getUIDMutex.RLock() - defer fake.getUIDMutex.RUnlock() - fake.setAnnotationsMutex.RLock() - defer fake.setAnnotationsMutex.RUnlock() - fake.setCreationTimestampMutex.RLock() - defer fake.setCreationTimestampMutex.RUnlock() - fake.setDeletionGracePeriodSecondsMutex.RLock() - defer fake.setDeletionGracePeriodSecondsMutex.RUnlock() - fake.setDeletionTimestampMutex.RLock() - defer fake.setDeletionTimestampMutex.RUnlock() - fake.setFinalizersMutex.RLock() - defer fake.setFinalizersMutex.RUnlock() - fake.setGenerateNameMutex.RLock() - defer fake.setGenerateNameMutex.RUnlock() - fake.setGenerationMutex.RLock() - defer fake.setGenerationMutex.RUnlock() - fake.setLabelsMutex.RLock() - defer fake.setLabelsMutex.RUnlock() - fake.setManagedFieldsMutex.RLock() - defer fake.setManagedFieldsMutex.RUnlock() - fake.setNameMutex.RLock() - defer fake.setNameMutex.RUnlock() - fake.setNamespaceMutex.RLock() - defer fake.setNamespaceMutex.RUnlock() - fake.setOwnerReferencesMutex.RLock() - defer fake.setOwnerReferencesMutex.RUnlock() - fake.setPolicyStatusMutex.RLock() - defer fake.setPolicyStatusMutex.RUnlock() - fake.setResourceVersionMutex.RLock() - defer fake.setResourceVersionMutex.RUnlock() - fake.setSelfLinkMutex.RLock() - defer fake.setSelfLinkMutex.RUnlock() - fake.setUIDMutex.RLock() - defer fake.setUIDMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/nginx/config/policies/policiesfakes/fake_validator.go b/internal/controller/nginx/config/policies/policiesfakes/fake_validator.go index d228a7e44c..165c94474e 100644 --- a/internal/controller/nginx/config/policies/policiesfakes/fake_validator.go +++ b/internal/controller/nginx/config/policies/policiesfakes/fake_validator.go @@ -236,12 +236,6 @@ func (fake *FakeValidator) ValidateGlobalSettingsReturnsOnCall(i int, result1 [] func (fake *FakeValidator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.conflictsMutex.RLock() - defer fake.conflictsMutex.RUnlock() - fake.validateMutex.RLock() - defer fake.validateMutex.RUnlock() - fake.validateGlobalSettingsMutex.RLock() - defer fake.validateGlobalSettingsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/provisioner/openshift/openshiftfakes/fake_apichecker.go b/internal/controller/provisioner/openshift/openshiftfakes/fake_apichecker.go index 6954af4a23..84f73ed3b9 100644 --- a/internal/controller/provisioner/openshift/openshiftfakes/fake_apichecker.go +++ b/internal/controller/provisioner/openshift/openshiftfakes/fake_apichecker.go @@ -93,8 +93,6 @@ func (fake *FakeAPIChecker) IsOpenshiftReturnsOnCall(i int, result1 bool, result func (fake *FakeAPIChecker) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.isOpenshiftMutex.RLock() - defer fake.isOpenshiftMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/provisioner/provisionerfakes/fake_provisioner.go b/internal/controller/provisioner/provisionerfakes/fake_provisioner.go index 55c19c8717..a02dfb04c2 100644 --- a/internal/controller/provisioner/provisionerfakes/fake_provisioner.go +++ b/internal/controller/provisioner/provisionerfakes/fake_provisioner.go @@ -93,8 +93,6 @@ func (fake *FakeProvisioner) RegisterGatewayReturnsOnCall(i int, result1 error) func (fake *FakeProvisioner) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.registerGatewayMutex.RLock() - defer fake.registerGatewayMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/state/resolver/resolverfakes/fake_service_resolver.go b/internal/controller/state/resolver/resolverfakes/fake_service_resolver.go index 6997103288..d4feb1bd9c 100644 --- a/internal/controller/state/resolver/resolverfakes/fake_service_resolver.go +++ b/internal/controller/state/resolver/resolverfakes/fake_service_resolver.go @@ -107,8 +107,6 @@ func (fake *FakeServiceResolver) ResolveReturnsOnCall(i int, result1 []resolver. func (fake *FakeServiceResolver) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.resolveMutex.RLock() - defer fake.resolveMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/state/statefakes/fake_change_processor.go b/internal/controller/state/statefakes/fake_change_processor.go index 1b63180ad3..c4f2049c31 100644 --- a/internal/controller/state/statefakes/fake_change_processor.go +++ b/internal/controller/state/statefakes/fake_change_processor.go @@ -221,14 +221,6 @@ func (fake *FakeChangeProcessor) ProcessReturnsOnCall(i int, result1 *graph.Grap func (fake *FakeChangeProcessor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.captureDeleteChangeMutex.RLock() - defer fake.captureDeleteChangeMutex.RUnlock() - fake.captureUpsertChangeMutex.RLock() - defer fake.captureUpsertChangeMutex.RUnlock() - fake.getLatestGraphMutex.RLock() - defer fake.getLatestGraphMutex.RUnlock() - fake.processMutex.RLock() - defer fake.processMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/state/validation/validationfakes/fake_generic_validator.go b/internal/controller/state/validation/validationfakes/fake_generic_validator.go index 930bb48e2a..a9facdc1ed 100644 --- a/internal/controller/state/validation/validationfakes/fake_generic_validator.go +++ b/internal/controller/state/validation/validationfakes/fake_generic_validator.go @@ -375,16 +375,6 @@ func (fake *FakeGenericValidator) ValidateServiceNameReturnsOnCall(i int, result func (fake *FakeGenericValidator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.validateEndpointMutex.RLock() - defer fake.validateEndpointMutex.RUnlock() - fake.validateEscapedStringNoVarExpansionMutex.RLock() - defer fake.validateEscapedStringNoVarExpansionMutex.RUnlock() - fake.validateNginxDurationMutex.RLock() - defer fake.validateNginxDurationMutex.RUnlock() - fake.validateNginxSizeMutex.RLock() - defer fake.validateNginxSizeMutex.RUnlock() - fake.validateServiceNameMutex.RLock() - defer fake.validateServiceNameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/state/validation/validationfakes/fake_httpfields_validator.go b/internal/controller/state/validation/validationfakes/fake_httpfields_validator.go index 9889ec7582..6b8e94ad9c 100644 --- a/internal/controller/state/validation/validationfakes/fake_httpfields_validator.go +++ b/internal/controller/state/validation/validationfakes/fake_httpfields_validator.go @@ -1029,34 +1029,6 @@ func (fake *FakeHTTPFieldsValidator) ValidateRedirectStatusCodeReturnsOnCall(i i func (fake *FakeHTTPFieldsValidator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.skipValidationMutex.RLock() - defer fake.skipValidationMutex.RUnlock() - fake.validateFilterHeaderNameMutex.RLock() - defer fake.validateFilterHeaderNameMutex.RUnlock() - fake.validateFilterHeaderValueMutex.RLock() - defer fake.validateFilterHeaderValueMutex.RUnlock() - fake.validateHeaderNameInMatchMutex.RLock() - defer fake.validateHeaderNameInMatchMutex.RUnlock() - fake.validateHeaderValueInMatchMutex.RLock() - defer fake.validateHeaderValueInMatchMutex.RUnlock() - fake.validateHostnameMutex.RLock() - defer fake.validateHostnameMutex.RUnlock() - fake.validateMethodInMatchMutex.RLock() - defer fake.validateMethodInMatchMutex.RUnlock() - fake.validatePathMutex.RLock() - defer fake.validatePathMutex.RUnlock() - fake.validatePathInMatchMutex.RLock() - defer fake.validatePathInMatchMutex.RUnlock() - fake.validateQueryParamNameInMatchMutex.RLock() - defer fake.validateQueryParamNameInMatchMutex.RUnlock() - fake.validateQueryParamValueInMatchMutex.RLock() - defer fake.validateQueryParamValueInMatchMutex.RUnlock() - fake.validateRedirectPortMutex.RLock() - defer fake.validateRedirectPortMutex.RUnlock() - fake.validateRedirectSchemeMutex.RLock() - defer fake.validateRedirectSchemeMutex.RUnlock() - fake.validateRedirectStatusCodeMutex.RLock() - defer fake.validateRedirectStatusCodeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/state/validation/validationfakes/fake_policy_validator.go b/internal/controller/state/validation/validationfakes/fake_policy_validator.go index ff7cba94b3..a4a422293b 100644 --- a/internal/controller/state/validation/validationfakes/fake_policy_validator.go +++ b/internal/controller/state/validation/validationfakes/fake_policy_validator.go @@ -237,12 +237,6 @@ func (fake *FakePolicyValidator) ValidateGlobalSettingsReturnsOnCall(i int, resu func (fake *FakePolicyValidator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.conflictsMutex.RLock() - defer fake.conflictsMutex.RUnlock() - fake.validateMutex.RLock() - defer fake.validateMutex.RUnlock() - fake.validateGlobalSettingsMutex.RLock() - defer fake.validateGlobalSettingsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/status/statusfakes/fake_group_updater.go b/internal/controller/status/statusfakes/fake_group_updater.go index 2e3097dfbd..482abfd8e3 100644 --- a/internal/controller/status/statusfakes/fake_group_updater.go +++ b/internal/controller/status/statusfakes/fake_group_updater.go @@ -57,8 +57,6 @@ func (fake *FakeGroupUpdater) UpdateGroupArgsForCall(i int) (context.Context, st func (fake *FakeGroupUpdater) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.updateGroupMutex.RLock() - defer fake.updateGroupMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/status/statusfakes/fake_k8s_updater.go b/internal/controller/status/statusfakes/fake_k8s_updater.go index 031b24addd..f68c3ea768 100644 --- a/internal/controller/status/statusfakes/fake_k8s_updater.go +++ b/internal/controller/status/statusfakes/fake_k8s_updater.go @@ -93,8 +93,6 @@ func (fake *FakeK8sUpdater) UpdateReturnsOnCall(i int, result1 error) { func (fake *FakeK8sUpdater) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.updateMutex.RLock() - defer fake.updateMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/telemetry/telemetryfakes/fake_configuration_getter.go b/internal/controller/telemetry/telemetryfakes/fake_configuration_getter.go index d5c44676b1..2a9213e8ed 100644 --- a/internal/controller/telemetry/telemetryfakes/fake_configuration_getter.go +++ b/internal/controller/telemetry/telemetryfakes/fake_configuration_getter.go @@ -79,8 +79,6 @@ func (fake *FakeConfigurationGetter) GetLatestConfigurationReturnsOnCall(i int, func (fake *FakeConfigurationGetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getLatestConfigurationMutex.RLock() - defer fake.getLatestConfigurationMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/telemetry/telemetryfakes/fake_data_collector.go b/internal/controller/telemetry/telemetryfakes/fake_data_collector.go index 6d83361827..ae3bfb4753 100644 --- a/internal/controller/telemetry/telemetryfakes/fake_data_collector.go +++ b/internal/controller/telemetry/telemetryfakes/fake_data_collector.go @@ -93,8 +93,6 @@ func (fake *FakeDataCollector) CollectReturnsOnCall(i int, result1 telemetry.Dat func (fake *FakeDataCollector) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.collectMutex.RLock() - defer fake.collectMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/telemetry/telemetryfakes/fake_exporter.go b/internal/controller/telemetry/telemetryfakes/fake_exporter.go index d78ddc2f4f..27360594f6 100644 --- a/internal/controller/telemetry/telemetryfakes/fake_exporter.go +++ b/internal/controller/telemetry/telemetryfakes/fake_exporter.go @@ -91,8 +91,6 @@ func (fake *FakeExporter) ExportReturnsOnCall(i int, result1 error) { func (fake *FakeExporter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.exportMutex.RLock() - defer fake.exportMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/controller/telemetry/telemetryfakes/fake_graph_getter.go b/internal/controller/telemetry/telemetryfakes/fake_graph_getter.go index 32735acb60..045f60447f 100644 --- a/internal/controller/telemetry/telemetryfakes/fake_graph_getter.go +++ b/internal/controller/telemetry/telemetryfakes/fake_graph_getter.go @@ -79,8 +79,6 @@ func (fake *FakeGraphGetter) GetLatestGraphReturnsOnCall(i int, result1 *graph.G func (fake *FakeGraphGetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getLatestGraphMutex.RLock() - defer fake.getLatestGraphMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/framework/controller/controllerfakes/fake_field_indexer.go b/internal/framework/controller/controllerfakes/fake_field_indexer.go index 825ae5e02e..1208ae7097 100644 --- a/internal/framework/controller/controllerfakes/fake_field_indexer.go +++ b/internal/framework/controller/controllerfakes/fake_field_indexer.go @@ -94,8 +94,6 @@ func (fake *FakeFieldIndexer) IndexFieldReturnsOnCall(i int, result1 error) { func (fake *FakeFieldIndexer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.indexFieldMutex.RLock() - defer fake.indexFieldMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/framework/controller/controllerfakes/fake_getter.go b/internal/framework/controller/controllerfakes/fake_getter.go index 54027354fa..429397e5a0 100644 --- a/internal/framework/controller/controllerfakes/fake_getter.go +++ b/internal/framework/controller/controllerfakes/fake_getter.go @@ -95,8 +95,6 @@ func (fake *FakeGetter) GetReturnsOnCall(i int, result1 error) { func (fake *FakeGetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getMutex.RLock() - defer fake.getMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/framework/controller/controllerfakes/fake_manager.go b/internal/framework/controller/controllerfakes/fake_manager.go index 5c54421b7e..4aa987040d 100644 --- a/internal/framework/controller/controllerfakes/fake_manager.go +++ b/internal/framework/controller/controllerfakes/fake_manager.go @@ -1221,42 +1221,6 @@ func (fake *FakeManager) StartReturnsOnCall(i int, result1 error) { func (fake *FakeManager) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.addMutex.RLock() - defer fake.addMutex.RUnlock() - fake.addHealthzCheckMutex.RLock() - defer fake.addHealthzCheckMutex.RUnlock() - fake.addMetricsServerExtraHandlerMutex.RLock() - defer fake.addMetricsServerExtraHandlerMutex.RUnlock() - fake.addReadyzCheckMutex.RLock() - defer fake.addReadyzCheckMutex.RUnlock() - fake.electedMutex.RLock() - defer fake.electedMutex.RUnlock() - fake.getAPIReaderMutex.RLock() - defer fake.getAPIReaderMutex.RUnlock() - fake.getCacheMutex.RLock() - defer fake.getCacheMutex.RUnlock() - fake.getClientMutex.RLock() - defer fake.getClientMutex.RUnlock() - fake.getConfigMutex.RLock() - defer fake.getConfigMutex.RUnlock() - fake.getControllerOptionsMutex.RLock() - defer fake.getControllerOptionsMutex.RUnlock() - fake.getEventRecorderForMutex.RLock() - defer fake.getEventRecorderForMutex.RUnlock() - fake.getFieldIndexerMutex.RLock() - defer fake.getFieldIndexerMutex.RUnlock() - fake.getHTTPClientMutex.RLock() - defer fake.getHTTPClientMutex.RUnlock() - fake.getLoggerMutex.RLock() - defer fake.getLoggerMutex.RUnlock() - fake.getRESTMapperMutex.RLock() - defer fake.getRESTMapperMutex.RUnlock() - fake.getSchemeMutex.RLock() - defer fake.getSchemeMutex.RUnlock() - fake.getWebhookServerMutex.RLock() - defer fake.getWebhookServerMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/framework/events/eventsfakes/fake_event_handler.go b/internal/framework/events/eventsfakes/fake_event_handler.go index bf2db98f25..b3dcadf8e6 100644 --- a/internal/framework/events/eventsfakes/fake_event_handler.go +++ b/internal/framework/events/eventsfakes/fake_event_handler.go @@ -58,8 +58,6 @@ func (fake *FakeEventHandler) HandleEventBatchArgsForCall(i int) (context.Contex func (fake *FakeEventHandler) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.handleEventBatchMutex.RLock() - defer fake.handleEventBatchMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/framework/events/eventsfakes/fake_first_event_batch_preparer.go b/internal/framework/events/eventsfakes/fake_first_event_batch_preparer.go index a4e19a72f5..47a69e5a08 100644 --- a/internal/framework/events/eventsfakes/fake_first_event_batch_preparer.go +++ b/internal/framework/events/eventsfakes/fake_first_event_batch_preparer.go @@ -93,8 +93,6 @@ func (fake *FakeFirstEventBatchPreparer) PrepareReturnsOnCall(i int, result1 eve func (fake *FakeFirstEventBatchPreparer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.prepareMutex.RLock() - defer fake.prepareMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/framework/file/filefakes/fake_osfile_manager.go b/internal/framework/file/filefakes/fake_osfile_manager.go index 52bf2fb1ad..d66888ac44 100644 --- a/internal/framework/file/filefakes/fake_osfile_manager.go +++ b/internal/framework/file/filefakes/fake_osfile_manager.go @@ -398,16 +398,6 @@ func (fake *FakeOSFileManager) WriteReturnsOnCall(i int, result1 error) { func (fake *FakeOSFileManager) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.chmodMutex.RLock() - defer fake.chmodMutex.RUnlock() - fake.copyMutex.RLock() - defer fake.copyMutex.RUnlock() - fake.createMutex.RLock() - defer fake.createMutex.RUnlock() - fake.openMutex.RLock() - defer fake.openMutex.RUnlock() - fake.writeMutex.RLock() - defer fake.writeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/internal/framework/kubernetes/kubernetesfakes/fake_reader.go b/internal/framework/kubernetes/kubernetesfakes/fake_reader.go index 997bb91a19..618dd0cab5 100644 --- a/internal/framework/kubernetes/kubernetesfakes/fake_reader.go +++ b/internal/framework/kubernetes/kubernetesfakes/fake_reader.go @@ -171,10 +171,6 @@ func (fake *FakeReader) ListReturnsOnCall(i int, result1 error) { func (fake *FakeReader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getMutex.RLock() - defer fake.getMutex.RUnlock() - fake.listMutex.RLock() - defer fake.listMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/tests/go.mod b/tests/go.mod index b080d4d6e9..90647b84ca 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -60,15 +60,15 @@ require ( github.com/x448/float16 v0.8.4 // indirect go.uber.org/automaxprocs v1.6.0 // indirect go.yaml.in/yaml/v2 v2.4.2 // indirect - golang.org/x/mod v0.25.0 // indirect - golang.org/x/net v0.41.0 // indirect + golang.org/x/mod v0.26.0 // indirect + golang.org/x/net v0.42.0 // indirect golang.org/x/oauth2 v0.30.0 // indirect golang.org/x/sync v0.16.0 // indirect - golang.org/x/sys v0.33.0 // indirect - golang.org/x/term v0.32.0 // indirect + golang.org/x/sys v0.34.0 // indirect + golang.org/x/term v0.33.0 // indirect golang.org/x/text v0.27.0 // indirect golang.org/x/time v0.9.0 // indirect - golang.org/x/tools v0.34.0 // indirect + golang.org/x/tools v0.35.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect google.golang.org/grpc v1.74.0 // indirect diff --git a/tests/go.sum b/tests/go.sum index 9b484e4558..67a60c2736 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -165,14 +165,14 @@ golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0 golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.25.0 h1:n7a+ZbQKQA/Ysbyb0/6IbB1H/X41mKgbhfv7AfG/44w= -golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= +golang.org/x/mod v0.26.0 h1:EGMPT//Ezu+ylkCijjPc+f4Aih7sZvaAr+O3EHBxvZg= +golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.41.0 h1:vBTly1HeNPEn3wtREYfy4GZ/NECgw2Cnl+nK6Nz3uvw= -golang.org/x/net v0.41.0/go.mod h1:B/K4NNqkfmg07DQYrbwvSluqCJOOXwUjeb/5lOisjbA= +golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs= +golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8= golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI= golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -183,10 +183,10 @@ golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw= -golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg= -golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ= +golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA= +golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/term v0.33.0 h1:NuFncQrRcaRvVmgRkvM3j/F00gWIAlcmlB8ACEKmGIg= +golang.org/x/term v0.33.0/go.mod h1:s18+ql9tYWp1IfpV9DmCtQDDSRBUjKaw9M1eAv5UeF0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4= @@ -198,8 +198,8 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.34.0 h1:qIpSLOxeCYGg9TrcJokLBG4KFA6d795g0xkBkiESGlo= -golang.org/x/tools v0.34.0/go.mod h1:pAP9OwEaY1CAW3HOmg3hLZC5Z0CCmzjAF2UQMSqNARg= +golang.org/x/tools v0.35.0 h1:mBffYraMEf7aa0sB+NuKnuCy8qI/9Bughn8dC2Gu5r0= +golang.org/x/tools v0.35.0/go.mod h1:NKdj5HkL/73byiZSJjqJgKn3ep7KjFkBOkR/Hps3VPw= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=