diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index fcdfadb538d..63ef24f5bd0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -139,7 +139,22 @@ below. The CLI uses [`counterfeiter`](https://github.com/maxbrunsfeld/counterfeiter) to generate fakes from interfaces for the unit tests. If any changes are made to an -interface, the fakes be should regenerated using counterfeiter: +interface, the fakes be should regenerated using counterfeiter. + +### Regenerating all non-legacy fakes + +To regenerate fakes for all non-legacy packages (recommended for most cases): + +```bash +make generate-fakes +``` + +This will safely regenerate fakes in the `util`, `plugin`, `command`, `api`, and +`actor` packages without touching the legacy `cf/` codebase. + +### Regenerating fakes for a specific package + +If you only need to regenerate fakes for a specific package: ```bash go generate .//... diff --git a/Makefile b/Makefile index b40603231d8..62cdfa3ec7d 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,11 @@ fly-windows-units: format: ## Run go fmt go fmt ./... +generate-fakes: ## Regenerate counterfeiter fakes for non-legacy packages + @echo "Generating fakes for non-legacy packages..." + go generate ./util/... ./plugin/... ./command/... ./api/... ./actor/... + @echo "Fakes generated successfully!" + install-test-deps: ## Install "global" dependencies needed to run tests # Running `go install ` without a version specifier will use version specified in go.mod # See https://go.dev/ref/mod#go-install @@ -221,7 +226,7 @@ units-full: build units-plugin units-non-plugin version: ## Print the version number of what would be built @echo $(CF_BUILD_VERSION)+$(CF_BUILD_SHA).$(CF_BUILD_DATE) -.PHONY: all build clean format version lint +.PHONY: all build clean format generate-fakes version lint .PHONY: test units units-full install-test-deps integration integration-tests-full integration-cleanup integration-experimental integration-plugin integration-isolated integration-push .PHONY: check-target-env fly-windows-experimental fly-windows-isolated fly-windows-plugin fly-windows-push .PHONY: help diff --git a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go index a9dad99d647..421eda694e6 100644 --- a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go +++ b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go @@ -352,14 +352,6 @@ func (fake *FakeCloudControllerClient) GetSpacesReturnsOnCall(i int, result1 []r func (fake *FakeCloudControllerClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getApplicationsMutex.RLock() - defer fake.getApplicationsMutex.RUnlock() - fake.getOrganizationsMutex.RLock() - defer fake.getOrganizationsMutex.RUnlock() - fake.getSpacesMutex.RLock() - defer fake.getSpacesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go index 4f8bacb661b..a3c226e3513 100644 --- a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go +++ b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go @@ -247,12 +247,6 @@ func (fake *FakeNetworkingClient) RemovePoliciesReturnsOnCall(i int, result1 err func (fake *FakeNetworkingClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.createPoliciesMutex.RLock() - defer fake.createPoliciesMutex.RUnlock() - fake.listPoliciesMutex.RLock() - defer fake.listPoliciesMutex.RUnlock() - fake.removePoliciesMutex.RLock() - defer fake.removePoliciesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_command_list.go b/actor/pluginaction/pluginactionfakes/fake_command_list.go index 2efd0621f1d..8e5dc4f07ff 100644 --- a/actor/pluginaction/pluginactionfakes/fake_command_list.go +++ b/actor/pluginaction/pluginactionfakes/fake_command_list.go @@ -159,10 +159,6 @@ func (fake *FakeCommandList) HasCommandReturnsOnCall(i int, result1 bool) { func (fake *FakeCommandList) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.hasAliasMutex.RLock() - defer fake.hasAliasMutex.RUnlock() - fake.hasCommandMutex.RLock() - defer fake.hasCommandMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_config.go b/actor/pluginaction/pluginactionfakes/fake_config.go index 576280e1bce..0010f0c2a2f 100644 --- a/actor/pluginaction/pluginactionfakes/fake_config.go +++ b/actor/pluginaction/pluginactionfakes/fake_config.go @@ -521,24 +521,6 @@ func (fake *FakeConfig) WritePluginConfigReturnsOnCall(i int, result1 error) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.addPluginMutex.RLock() - defer fake.addPluginMutex.RUnlock() - fake.addPluginRepositoryMutex.RLock() - defer fake.addPluginRepositoryMutex.RUnlock() - fake.binaryVersionMutex.RLock() - defer fake.binaryVersionMutex.RUnlock() - fake.getPluginMutex.RLock() - defer fake.getPluginMutex.RUnlock() - fake.pluginHomeMutex.RLock() - defer fake.pluginHomeMutex.RUnlock() - fake.pluginRepositoriesMutex.RLock() - defer fake.pluginRepositoriesMutex.RUnlock() - fake.pluginsMutex.RLock() - defer fake.pluginsMutex.RUnlock() - fake.removePluginMutex.RLock() - defer fake.removePluginMutex.RUnlock() - fake.writePluginConfigMutex.RLock() - defer fake.writePluginConfigMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_plugin_client.go b/actor/pluginaction/pluginactionfakes/fake_plugin_client.go index c65f369e821..2c5146e5a8a 100644 --- a/actor/pluginaction/pluginactionfakes/fake_plugin_client.go +++ b/actor/pluginaction/pluginactionfakes/fake_plugin_client.go @@ -169,10 +169,6 @@ func (fake *FakePluginClient) GetPluginRepositoryReturnsOnCall(i int, result1 pl func (fake *FakePluginClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.downloadPluginMutex.RLock() - defer fake.downloadPluginMutex.RUnlock() - fake.getPluginRepositoryMutex.RLock() - defer fake.getPluginRepositoryMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go b/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go index 353202c19ec..aa2edd819b3 100644 --- a/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go +++ b/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go @@ -93,8 +93,6 @@ func (fake *FakePluginMetadata) GetMetadataReturnsOnCall(i int, result1 configv3 func (fake *FakePluginMetadata) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getMetadataMutex.RLock() - defer fake.getMetadataMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go b/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go index 8a7c70e5740..bc22f3bfb6f 100644 --- a/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go +++ b/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go @@ -89,8 +89,6 @@ func (fake *FakePluginUninstaller) RunReturnsOnCall(i int, result1 error) { func (fake *FakePluginUninstaller) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.runMutex.RLock() - defer fake.runMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/sharedaction/sharedactionfakes/fake_config.go b/actor/sharedaction/sharedactionfakes/fake_config.go index 300c0a8cf4b..feef635ae45 100644 --- a/actor/sharedaction/sharedactionfakes/fake_config.go +++ b/actor/sharedaction/sharedactionfakes/fake_config.go @@ -592,24 +592,6 @@ func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []stri func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.binaryNameMutex.RLock() - defer fake.binaryNameMutex.RUnlock() - fake.currentUserNameMutex.RLock() - defer fake.currentUserNameMutex.RUnlock() - fake.hasTargetedOrganizationMutex.RLock() - defer fake.hasTargetedOrganizationMutex.RUnlock() - fake.hasTargetedSpaceMutex.RLock() - defer fake.hasTargetedSpaceMutex.RUnlock() - fake.isCFOnK8sMutex.RLock() - defer fake.isCFOnK8sMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.targetedOrganizationNameMutex.RLock() - defer fake.targetedOrganizationNameMutex.RUnlock() - fake.verboseMutex.RLock() - defer fake.verboseMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go b/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go index c12f5871676..eae872a0305 100644 --- a/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go +++ b/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go @@ -102,8 +102,6 @@ func (fake *FakeLogCacheClient) ReadReturnsOnCall(i int, result1 []*loggregator_ func (fake *FakeLogCacheClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go b/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go index a409307b2e0..d63cf674985 100644 --- a/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go +++ b/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go @@ -378,16 +378,6 @@ func (fake *FakeSecureShellClient) WaitReturnsOnCall(i int, result1 error) { func (fake *FakeSecureShellClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.connectMutex.RLock() - defer fake.connectMutex.RUnlock() - fake.interactiveSessionMutex.RLock() - defer fake.interactiveSessionMutex.RUnlock() - fake.localPortForwardMutex.RLock() - defer fake.localPortForwardMutex.RUnlock() - fake.waitMutex.RLock() - defer fake.waitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_cloud_controller_client.go b/actor/v7action/v7actionfakes/fake_cloud_controller_client.go index 0add7dcd938..8cdb5e86254 100644 --- a/actor/v7action/v7actionfakes/fake_cloud_controller_client.go +++ b/actor/v7action/v7actionfakes/fake_cloud_controller_client.go @@ -15197,376 +15197,6 @@ func (fake *FakeCloudControllerClient) WhoAmIReturnsOnCall(i int, result1 resour func (fake *FakeCloudControllerClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.applyOrganizationQuotaMutex.RLock() - defer fake.applyOrganizationQuotaMutex.RUnlock() - fake.applySpaceQuotaMutex.RLock() - defer fake.applySpaceQuotaMutex.RUnlock() - fake.cancelDeploymentMutex.RLock() - defer fake.cancelDeploymentMutex.RUnlock() - fake.checkRouteMutex.RLock() - defer fake.checkRouteMutex.RUnlock() - fake.continueDeploymentMutex.RLock() - defer fake.continueDeploymentMutex.RUnlock() - fake.copyPackageMutex.RLock() - defer fake.copyPackageMutex.RUnlock() - fake.createApplicationMutex.RLock() - defer fake.createApplicationMutex.RUnlock() - fake.createApplicationDeploymentMutex.RLock() - defer fake.createApplicationDeploymentMutex.RUnlock() - fake.createApplicationProcessScaleMutex.RLock() - defer fake.createApplicationProcessScaleMutex.RUnlock() - fake.createApplicationTaskMutex.RLock() - defer fake.createApplicationTaskMutex.RUnlock() - fake.createBuildMutex.RLock() - defer fake.createBuildMutex.RUnlock() - fake.createBuildpackMutex.RLock() - defer fake.createBuildpackMutex.RUnlock() - fake.createDomainMutex.RLock() - defer fake.createDomainMutex.RUnlock() - fake.createDropletMutex.RLock() - defer fake.createDropletMutex.RUnlock() - fake.createIsolationSegmentMutex.RLock() - defer fake.createIsolationSegmentMutex.RUnlock() - fake.createOrganizationMutex.RLock() - defer fake.createOrganizationMutex.RUnlock() - fake.createOrganizationQuotaMutex.RLock() - defer fake.createOrganizationQuotaMutex.RUnlock() - fake.createPackageMutex.RLock() - defer fake.createPackageMutex.RUnlock() - fake.createRoleMutex.RLock() - defer fake.createRoleMutex.RUnlock() - fake.createRouteMutex.RLock() - defer fake.createRouteMutex.RUnlock() - fake.createRouteBindingMutex.RLock() - defer fake.createRouteBindingMutex.RUnlock() - fake.createSecurityGroupMutex.RLock() - defer fake.createSecurityGroupMutex.RUnlock() - fake.createServiceBrokerMutex.RLock() - defer fake.createServiceBrokerMutex.RUnlock() - fake.createServiceCredentialBindingMutex.RLock() - defer fake.createServiceCredentialBindingMutex.RUnlock() - fake.createServiceInstanceMutex.RLock() - defer fake.createServiceInstanceMutex.RUnlock() - fake.createSpaceMutex.RLock() - defer fake.createSpaceMutex.RUnlock() - fake.createSpaceQuotaMutex.RLock() - defer fake.createSpaceQuotaMutex.RUnlock() - fake.createUserMutex.RLock() - defer fake.createUserMutex.RUnlock() - fake.deleteApplicationMutex.RLock() - defer fake.deleteApplicationMutex.RUnlock() - fake.deleteApplicationProcessInstanceMutex.RLock() - defer fake.deleteApplicationProcessInstanceMutex.RUnlock() - fake.deleteBuildpackMutex.RLock() - defer fake.deleteBuildpackMutex.RUnlock() - fake.deleteDomainMutex.RLock() - defer fake.deleteDomainMutex.RUnlock() - fake.deleteIsolationSegmentMutex.RLock() - defer fake.deleteIsolationSegmentMutex.RUnlock() - fake.deleteIsolationSegmentOrganizationMutex.RLock() - defer fake.deleteIsolationSegmentOrganizationMutex.RUnlock() - fake.deleteOrganizationMutex.RLock() - defer fake.deleteOrganizationMutex.RUnlock() - fake.deleteOrganizationQuotaMutex.RLock() - defer fake.deleteOrganizationQuotaMutex.RUnlock() - fake.deleteOrphanedRoutesMutex.RLock() - defer fake.deleteOrphanedRoutesMutex.RUnlock() - fake.deleteRoleMutex.RLock() - defer fake.deleteRoleMutex.RUnlock() - fake.deleteRouteMutex.RLock() - defer fake.deleteRouteMutex.RUnlock() - fake.deleteRouteBindingMutex.RLock() - defer fake.deleteRouteBindingMutex.RUnlock() - fake.deleteSecurityGroupMutex.RLock() - defer fake.deleteSecurityGroupMutex.RUnlock() - fake.deleteServiceBrokerMutex.RLock() - defer fake.deleteServiceBrokerMutex.RUnlock() - fake.deleteServiceCredentialBindingMutex.RLock() - defer fake.deleteServiceCredentialBindingMutex.RUnlock() - fake.deleteServiceInstanceMutex.RLock() - defer fake.deleteServiceInstanceMutex.RUnlock() - fake.deleteServicePlanVisibilityMutex.RLock() - defer fake.deleteServicePlanVisibilityMutex.RUnlock() - fake.deleteSpaceMutex.RLock() - defer fake.deleteSpaceMutex.RUnlock() - fake.deleteSpaceQuotaMutex.RLock() - defer fake.deleteSpaceQuotaMutex.RUnlock() - fake.deleteUserMutex.RLock() - defer fake.deleteUserMutex.RUnlock() - fake.downloadDropletMutex.RLock() - defer fake.downloadDropletMutex.RUnlock() - fake.entitleIsolationSegmentToOrganizationsMutex.RLock() - defer fake.entitleIsolationSegmentToOrganizationsMutex.RUnlock() - fake.getAppFeatureMutex.RLock() - defer fake.getAppFeatureMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getApplicationDropletCurrentMutex.RLock() - defer fake.getApplicationDropletCurrentMutex.RUnlock() - fake.getApplicationEnvironmentMutex.RLock() - defer fake.getApplicationEnvironmentMutex.RUnlock() - fake.getApplicationManifestMutex.RLock() - defer fake.getApplicationManifestMutex.RUnlock() - fake.getApplicationProcessByTypeMutex.RLock() - defer fake.getApplicationProcessByTypeMutex.RUnlock() - fake.getApplicationProcessesMutex.RLock() - defer fake.getApplicationProcessesMutex.RUnlock() - fake.getApplicationRevisionsMutex.RLock() - defer fake.getApplicationRevisionsMutex.RUnlock() - fake.getApplicationRevisionsDeployedMutex.RLock() - defer fake.getApplicationRevisionsDeployedMutex.RUnlock() - fake.getApplicationRoutesMutex.RLock() - defer fake.getApplicationRoutesMutex.RUnlock() - fake.getApplicationTasksMutex.RLock() - defer fake.getApplicationTasksMutex.RUnlock() - fake.getApplicationsMutex.RLock() - defer fake.getApplicationsMutex.RUnlock() - fake.getBuildMutex.RLock() - defer fake.getBuildMutex.RUnlock() - fake.getBuildpacksMutex.RLock() - defer fake.getBuildpacksMutex.RUnlock() - fake.getDefaultDomainMutex.RLock() - defer fake.getDefaultDomainMutex.RUnlock() - fake.getDeploymentMutex.RLock() - defer fake.getDeploymentMutex.RUnlock() - fake.getDeploymentsMutex.RLock() - defer fake.getDeploymentsMutex.RUnlock() - fake.getDomainMutex.RLock() - defer fake.getDomainMutex.RUnlock() - fake.getDomainsMutex.RLock() - defer fake.getDomainsMutex.RUnlock() - fake.getDropletMutex.RLock() - defer fake.getDropletMutex.RUnlock() - fake.getDropletsMutex.RLock() - defer fake.getDropletsMutex.RUnlock() - fake.getEnvironmentVariableGroupMutex.RLock() - defer fake.getEnvironmentVariableGroupMutex.RUnlock() - fake.getEnvironmentVariablesByURLMutex.RLock() - defer fake.getEnvironmentVariablesByURLMutex.RUnlock() - fake.getEventsMutex.RLock() - defer fake.getEventsMutex.RUnlock() - fake.getFeatureFlagMutex.RLock() - defer fake.getFeatureFlagMutex.RUnlock() - fake.getFeatureFlagsMutex.RLock() - defer fake.getFeatureFlagsMutex.RUnlock() - fake.getInfoMutex.RLock() - defer fake.getInfoMutex.RUnlock() - fake.getIsolationSegmentMutex.RLock() - defer fake.getIsolationSegmentMutex.RUnlock() - fake.getIsolationSegmentOrganizationsMutex.RLock() - defer fake.getIsolationSegmentOrganizationsMutex.RUnlock() - fake.getIsolationSegmentsMutex.RLock() - defer fake.getIsolationSegmentsMutex.RUnlock() - fake.getNewApplicationProcessesMutex.RLock() - defer fake.getNewApplicationProcessesMutex.RUnlock() - fake.getOrganizationMutex.RLock() - defer fake.getOrganizationMutex.RUnlock() - fake.getOrganizationDefaultIsolationSegmentMutex.RLock() - defer fake.getOrganizationDefaultIsolationSegmentMutex.RUnlock() - fake.getOrganizationDomainsMutex.RLock() - defer fake.getOrganizationDomainsMutex.RUnlock() - fake.getOrganizationQuotaMutex.RLock() - defer fake.getOrganizationQuotaMutex.RUnlock() - fake.getOrganizationQuotasMutex.RLock() - defer fake.getOrganizationQuotasMutex.RUnlock() - fake.getOrganizationsMutex.RLock() - defer fake.getOrganizationsMutex.RUnlock() - fake.getPackageMutex.RLock() - defer fake.getPackageMutex.RUnlock() - fake.getPackageDropletsMutex.RLock() - defer fake.getPackageDropletsMutex.RUnlock() - fake.getPackagesMutex.RLock() - defer fake.getPackagesMutex.RUnlock() - fake.getProcessMutex.RLock() - defer fake.getProcessMutex.RUnlock() - fake.getProcessInstancesMutex.RLock() - defer fake.getProcessInstancesMutex.RUnlock() - fake.getProcessSidecarsMutex.RLock() - defer fake.getProcessSidecarsMutex.RUnlock() - fake.getProcessesMutex.RLock() - defer fake.getProcessesMutex.RUnlock() - fake.getRolesMutex.RLock() - defer fake.getRolesMutex.RUnlock() - fake.getRootMutex.RLock() - defer fake.getRootMutex.RUnlock() - fake.getRouteBindingsMutex.RLock() - defer fake.getRouteBindingsMutex.RUnlock() - fake.getRouteDestinationsMutex.RLock() - defer fake.getRouteDestinationsMutex.RUnlock() - fake.getRoutesMutex.RLock() - defer fake.getRoutesMutex.RUnlock() - fake.getRunningSecurityGroupsMutex.RLock() - defer fake.getRunningSecurityGroupsMutex.RUnlock() - fake.getSSHEnabledMutex.RLock() - defer fake.getSSHEnabledMutex.RUnlock() - fake.getSecurityGroupsMutex.RLock() - defer fake.getSecurityGroupsMutex.RUnlock() - fake.getServiceBrokersMutex.RLock() - defer fake.getServiceBrokersMutex.RUnlock() - fake.getServiceCredentialBindingDetailsMutex.RLock() - defer fake.getServiceCredentialBindingDetailsMutex.RUnlock() - fake.getServiceCredentialBindingsMutex.RLock() - defer fake.getServiceCredentialBindingsMutex.RUnlock() - fake.getServiceInstanceByNameAndSpaceMutex.RLock() - defer fake.getServiceInstanceByNameAndSpaceMutex.RUnlock() - fake.getServiceInstanceParametersMutex.RLock() - defer fake.getServiceInstanceParametersMutex.RUnlock() - fake.getServiceInstanceSharedSpacesMutex.RLock() - defer fake.getServiceInstanceSharedSpacesMutex.RUnlock() - fake.getServiceInstanceUsageSummaryMutex.RLock() - defer fake.getServiceInstanceUsageSummaryMutex.RUnlock() - fake.getServiceInstancesMutex.RLock() - defer fake.getServiceInstancesMutex.RUnlock() - fake.getServiceOfferingByGUIDMutex.RLock() - defer fake.getServiceOfferingByGUIDMutex.RUnlock() - fake.getServiceOfferingByNameAndBrokerMutex.RLock() - defer fake.getServiceOfferingByNameAndBrokerMutex.RUnlock() - fake.getServiceOfferingsMutex.RLock() - defer fake.getServiceOfferingsMutex.RUnlock() - fake.getServicePlanByGUIDMutex.RLock() - defer fake.getServicePlanByGUIDMutex.RUnlock() - fake.getServicePlanVisibilityMutex.RLock() - defer fake.getServicePlanVisibilityMutex.RUnlock() - fake.getServicePlansMutex.RLock() - defer fake.getServicePlansMutex.RUnlock() - fake.getServicePlansWithOfferingsMutex.RLock() - defer fake.getServicePlansWithOfferingsMutex.RUnlock() - fake.getServicePlansWithSpaceAndOrganizationMutex.RLock() - defer fake.getServicePlansWithSpaceAndOrganizationMutex.RUnlock() - fake.getSpaceFeatureMutex.RLock() - defer fake.getSpaceFeatureMutex.RUnlock() - fake.getSpaceIsolationSegmentMutex.RLock() - defer fake.getSpaceIsolationSegmentMutex.RUnlock() - fake.getSpaceManifestDiffMutex.RLock() - defer fake.getSpaceManifestDiffMutex.RUnlock() - fake.getSpaceQuotaMutex.RLock() - defer fake.getSpaceQuotaMutex.RUnlock() - fake.getSpaceQuotasMutex.RLock() - defer fake.getSpaceQuotasMutex.RUnlock() - fake.getSpacesMutex.RLock() - defer fake.getSpacesMutex.RUnlock() - fake.getStacksMutex.RLock() - defer fake.getStacksMutex.RUnlock() - fake.getStagingSecurityGroupsMutex.RLock() - defer fake.getStagingSecurityGroupsMutex.RUnlock() - fake.getTaskMutex.RLock() - defer fake.getTaskMutex.RUnlock() - fake.getUserMutex.RLock() - defer fake.getUserMutex.RUnlock() - fake.getUsersMutex.RLock() - defer fake.getUsersMutex.RUnlock() - fake.makeRequestSendReceiveRawMutex.RLock() - defer fake.makeRequestSendReceiveRawMutex.RUnlock() - fake.mapRouteMutex.RLock() - defer fake.mapRouteMutex.RUnlock() - fake.moveRouteMutex.RLock() - defer fake.moveRouteMutex.RUnlock() - fake.pollJobMutex.RLock() - defer fake.pollJobMutex.RUnlock() - fake.pollJobForStateMutex.RLock() - defer fake.pollJobForStateMutex.RUnlock() - fake.pollJobToEventStreamMutex.RLock() - defer fake.pollJobToEventStreamMutex.RUnlock() - fake.purgeServiceOfferingMutex.RLock() - defer fake.purgeServiceOfferingMutex.RUnlock() - fake.resourceMatchMutex.RLock() - defer fake.resourceMatchMutex.RUnlock() - fake.rootResponseMutex.RLock() - defer fake.rootResponseMutex.RUnlock() - fake.setApplicationDropletMutex.RLock() - defer fake.setApplicationDropletMutex.RUnlock() - fake.sharePrivateDomainToOrgsMutex.RLock() - defer fake.sharePrivateDomainToOrgsMutex.RUnlock() - fake.shareRouteMutex.RLock() - defer fake.shareRouteMutex.RUnlock() - fake.shareServiceInstanceToSpacesMutex.RLock() - defer fake.shareServiceInstanceToSpacesMutex.RUnlock() - fake.targetCFMutex.RLock() - defer fake.targetCFMutex.RUnlock() - fake.unbindSecurityGroupRunningSpaceMutex.RLock() - defer fake.unbindSecurityGroupRunningSpaceMutex.RUnlock() - fake.unbindSecurityGroupStagingSpaceMutex.RLock() - defer fake.unbindSecurityGroupStagingSpaceMutex.RUnlock() - fake.unmapRouteMutex.RLock() - defer fake.unmapRouteMutex.RUnlock() - fake.unsetSpaceQuotaMutex.RLock() - defer fake.unsetSpaceQuotaMutex.RUnlock() - fake.unsharePrivateDomainFromOrgMutex.RLock() - defer fake.unsharePrivateDomainFromOrgMutex.RUnlock() - fake.unshareRouteMutex.RLock() - defer fake.unshareRouteMutex.RUnlock() - fake.unshareServiceInstanceFromSpaceMutex.RLock() - defer fake.unshareServiceInstanceFromSpaceMutex.RUnlock() - fake.updateAppFeatureMutex.RLock() - defer fake.updateAppFeatureMutex.RUnlock() - fake.updateApplicationMutex.RLock() - defer fake.updateApplicationMutex.RUnlock() - fake.updateApplicationApplyManifestMutex.RLock() - defer fake.updateApplicationApplyManifestMutex.RUnlock() - fake.updateApplicationEnvironmentVariablesMutex.RLock() - defer fake.updateApplicationEnvironmentVariablesMutex.RUnlock() - fake.updateApplicationNameMutex.RLock() - defer fake.updateApplicationNameMutex.RUnlock() - fake.updateApplicationRestartMutex.RLock() - defer fake.updateApplicationRestartMutex.RUnlock() - fake.updateApplicationStartMutex.RLock() - defer fake.updateApplicationStartMutex.RUnlock() - fake.updateApplicationStopMutex.RLock() - defer fake.updateApplicationStopMutex.RUnlock() - fake.updateBuildpackMutex.RLock() - defer fake.updateBuildpackMutex.RUnlock() - fake.updateDestinationMutex.RLock() - defer fake.updateDestinationMutex.RUnlock() - fake.updateEnvironmentVariableGroupMutex.RLock() - defer fake.updateEnvironmentVariableGroupMutex.RUnlock() - fake.updateFeatureFlagMutex.RLock() - defer fake.updateFeatureFlagMutex.RUnlock() - fake.updateOrganizationMutex.RLock() - defer fake.updateOrganizationMutex.RUnlock() - fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RLock() - defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RUnlock() - fake.updateOrganizationQuotaMutex.RLock() - defer fake.updateOrganizationQuotaMutex.RUnlock() - fake.updateProcessMutex.RLock() - defer fake.updateProcessMutex.RUnlock() - fake.updateResourceMetadataMutex.RLock() - defer fake.updateResourceMetadataMutex.RUnlock() - fake.updateRouteMutex.RLock() - defer fake.updateRouteMutex.RUnlock() - fake.updateSecurityGroupMutex.RLock() - defer fake.updateSecurityGroupMutex.RUnlock() - fake.updateSecurityGroupRunningSpaceMutex.RLock() - defer fake.updateSecurityGroupRunningSpaceMutex.RUnlock() - fake.updateSecurityGroupStagingSpaceMutex.RLock() - defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() - fake.updateServiceBrokerMutex.RLock() - defer fake.updateServiceBrokerMutex.RUnlock() - fake.updateServiceInstanceMutex.RLock() - defer fake.updateServiceInstanceMutex.RUnlock() - fake.updateServicePlanVisibilityMutex.RLock() - defer fake.updateServicePlanVisibilityMutex.RUnlock() - fake.updateSpaceMutex.RLock() - defer fake.updateSpaceMutex.RUnlock() - fake.updateSpaceApplyManifestMutex.RLock() - defer fake.updateSpaceApplyManifestMutex.RUnlock() - fake.updateSpaceFeatureMutex.RLock() - defer fake.updateSpaceFeatureMutex.RUnlock() - fake.updateSpaceIsolationSegmentRelationshipMutex.RLock() - defer fake.updateSpaceIsolationSegmentRelationshipMutex.RUnlock() - fake.updateSpaceQuotaMutex.RLock() - defer fake.updateSpaceQuotaMutex.RUnlock() - fake.updateTaskCancelMutex.RLock() - defer fake.updateTaskCancelMutex.RUnlock() - fake.uploadBitsPackageMutex.RLock() - defer fake.uploadBitsPackageMutex.RUnlock() - fake.uploadBuildpackMutex.RLock() - defer fake.uploadBuildpackMutex.RUnlock() - fake.uploadDropletBitsMutex.RLock() - defer fake.uploadDropletBitsMutex.RUnlock() - fake.uploadPackageMutex.RLock() - defer fake.uploadPackageMutex.RUnlock() - fake.whoAmIMutex.RLock() - defer fake.whoAmIMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_config.go b/actor/v7action/v7actionfakes/fake_config.go index 26de81b43b1..5eac2c02aeb 100644 --- a/actor/v7action/v7actionfakes/fake_config.go +++ b/actor/v7action/v7actionfakes/fake_config.go @@ -1134,48 +1134,6 @@ func (fake *FakeConfig) UnsetOrganizationAndSpaceInformationCalls(stub func()) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.aPIVersionMutex.RLock() - defer fake.aPIVersionMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.currentUserMutex.RLock() - defer fake.currentUserMutex.RUnlock() - fake.dialTimeoutMutex.RLock() - defer fake.dialTimeoutMutex.RUnlock() - fake.isCFOnK8sMutex.RLock() - defer fake.isCFOnK8sMutex.RUnlock() - fake.pollingIntervalMutex.RLock() - defer fake.pollingIntervalMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.sSHOAuthClientMutex.RLock() - defer fake.sSHOAuthClientMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setKubernetesAuthInfoMutex.RLock() - defer fake.setKubernetesAuthInfoMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() - fake.setTargetInformationMutex.RLock() - defer fake.setTargetInformationMutex.RUnlock() - fake.setTokenInformationMutex.RLock() - defer fake.setTokenInformationMutex.RUnlock() - fake.setUAAClientCredentialsMutex.RLock() - defer fake.setUAAClientCredentialsMutex.RUnlock() - fake.setUAAGrantTypeMutex.RLock() - defer fake.setUAAGrantTypeMutex.RUnlock() - fake.skipSSLValidationMutex.RLock() - defer fake.skipSSLValidationMutex.RUnlock() - fake.stagingTimeoutMutex.RLock() - defer fake.stagingTimeoutMutex.RUnlock() - fake.startupTimeoutMutex.RLock() - defer fake.startupTimeoutMutex.RUnlock() - fake.targetMutex.RLock() - defer fake.targetMutex.RUnlock() - fake.uAAGrantTypeMutex.RLock() - defer fake.uAAGrantTypeMutex.RUnlock() - fake.unsetOrganizationAndSpaceInformationMutex.RLock() - defer fake.unsetOrganizationAndSpaceInformationMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_downloader.go b/actor/v7action/v7actionfakes/fake_downloader.go index 5f174c815bd..9f67b733802 100644 --- a/actor/v7action/v7actionfakes/fake_downloader.go +++ b/actor/v7action/v7actionfakes/fake_downloader.go @@ -94,8 +94,6 @@ func (fake *FakeDownloader) DownloadReturnsOnCall(i int, result1 string, result2 func (fake *FakeDownloader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.downloadMutex.RLock() - defer fake.downloadMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go b/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go index f97237f43a9..24744a5e777 100644 --- a/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go +++ b/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go @@ -84,8 +84,6 @@ func (fake *FakeKubernetesConfigGetter) GetReturnsOnCall(i int, result1 *api.Con func (fake *FakeKubernetesConfigGetter) 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/actor/v7action/v7actionfakes/fake_manifest_parser.go b/actor/v7action/v7actionfakes/fake_manifest_parser.go index e5185f5d1a1..3375b8f11fc 100644 --- a/actor/v7action/v7actionfakes/fake_manifest_parser.go +++ b/actor/v7action/v7actionfakes/fake_manifest_parser.go @@ -155,10 +155,6 @@ func (fake *FakeManifestParser) RawAppManifestReturnsOnCall(i int, result1 []byt func (fake *FakeManifestParser) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.appNamesMutex.RLock() - defer fake.appNamesMutex.RUnlock() - fake.rawAppManifestMutex.RLock() - defer fake.rawAppManifestMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_routing_client.go b/actor/v7action/v7actionfakes/fake_routing_client.go index f5423383ed0..d133331253c 100644 --- a/actor/v7action/v7actionfakes/fake_routing_client.go +++ b/actor/v7action/v7actionfakes/fake_routing_client.go @@ -161,10 +161,6 @@ func (fake *FakeRoutingClient) GetRouterGroupsReturnsOnCall(i int, result1 []rou func (fake *FakeRoutingClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getRouterGroupByNameMutex.RLock() - defer fake.getRouterGroupByNameMutex.RUnlock() - fake.getRouterGroupsMutex.RLock() - defer fake.getRouterGroupsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_shared_actor.go b/actor/v7action/v7actionfakes/fake_shared_actor.go index ad4cd1e79c8..a713a685b8e 100644 --- a/actor/v7action/v7actionfakes/fake_shared_actor.go +++ b/actor/v7action/v7actionfakes/fake_shared_actor.go @@ -338,14 +338,6 @@ func (fake *FakeSharedActor) ZipDirectoryResourcesReturnsOnCall(i int, result1 s func (fake *FakeSharedActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.gatherArchiveResourcesMutex.RLock() - defer fake.gatherArchiveResourcesMutex.RUnlock() - fake.gatherDirectoryResourcesMutex.RLock() - defer fake.gatherDirectoryResourcesMutex.RUnlock() - fake.zipArchiveResourcesMutex.RLock() - defer fake.zipArchiveResourcesMutex.RUnlock() - fake.zipDirectoryResourcesMutex.RLock() - defer fake.zipDirectoryResourcesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_simple_progress_bar.go b/actor/v7action/v7actionfakes/fake_simple_progress_bar.go index c312d00bc16..b369e378e8b 100644 --- a/actor/v7action/v7actionfakes/fake_simple_progress_bar.go +++ b/actor/v7action/v7actionfakes/fake_simple_progress_bar.go @@ -126,10 +126,6 @@ func (fake *FakeSimpleProgressBar) TerminateCalls(stub func()) { func (fake *FakeSimpleProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.initializeMutex.RLock() - defer fake.initializeMutex.RUnlock() - fake.terminateMutex.RLock() - defer fake.terminateMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_sshactor.go b/actor/v7action/v7actionfakes/fake_sshactor.go index d88367e0afb..b300f2422d0 100644 --- a/actor/v7action/v7actionfakes/fake_sshactor.go +++ b/actor/v7action/v7actionfakes/fake_sshactor.go @@ -88,8 +88,6 @@ func (fake *FakeSSHActor) ExecuteSecureShellReturnsOnCall(i int, result1 error) func (fake *FakeSSHActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeSecureShellMutex.RLock() - defer fake.executeSecureShellMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_uaaclient.go b/actor/v7action/v7actionfakes/fake_uaaclient.go index 92e769962ab..b99d5e07ff7 100644 --- a/actor/v7action/v7actionfakes/fake_uaaclient.go +++ b/actor/v7action/v7actionfakes/fake_uaaclient.go @@ -852,28 +852,6 @@ func (fake *FakeUAAClient) ValidateClientUserReturnsOnCall(i int, result1 error) func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.authenticateMutex.RLock() - defer fake.authenticateMutex.RUnlock() - fake.createUserMutex.RLock() - defer fake.createUserMutex.RUnlock() - fake.deleteUserMutex.RLock() - defer fake.deleteUserMutex.RUnlock() - fake.getAPIVersionMutex.RLock() - defer fake.getAPIVersionMutex.RUnlock() - fake.getLoginPromptsMutex.RLock() - defer fake.getLoginPromptsMutex.RUnlock() - fake.getSSHPasscodeMutex.RLock() - defer fake.getSSHPasscodeMutex.RUnlock() - fake.listUsersMutex.RLock() - defer fake.listUsersMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() - fake.revokeMutex.RLock() - defer fake.revokeMutex.RUnlock() - fake.updatePasswordMutex.RLock() - defer fake.updatePasswordMutex.RUnlock() - fake.validateClientUserMutex.RLock() - defer fake.validateClientUserMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_who_am_ier.go b/actor/v7action/v7actionfakes/fake_who_am_ier.go index 8859bbc5806..4d58273d092 100644 --- a/actor/v7action/v7actionfakes/fake_who_am_ier.go +++ b/actor/v7action/v7actionfakes/fake_who_am_ier.go @@ -90,8 +90,6 @@ func (fake *FakeWhoAmIer) WhoAmIReturnsOnCall(i int, result1 resources.K8sUser, func (fake *FakeWhoAmIer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.whoAmIMutex.RLock() - defer fake.whoAmIMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go b/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go index 6a827cd59e5..0a272a886ad 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go @@ -90,8 +90,6 @@ func (fake *FakeProgressBar) NewProgressBarWrapperReturnsOnCall(i int, result1 i func (fake *FakeProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.newProgressBarWrapperMutex.RLock() - defer fake.newProgressBarWrapperMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go b/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go index 2adfd1e23bc..7b598e77d61 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go @@ -159,10 +159,6 @@ func (fake *FakeReadCloser) ReadReturnsOnCall(i int, result1 int, result2 error) func (fake *FakeReadCloser) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go b/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go index b408a192675..ae33e4b6b08 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go @@ -421,16 +421,6 @@ func (fake *FakeSharedActor) ZipDirectoryResourcesReturnsOnCall(i int, result1 s func (fake *FakeSharedActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.gatherArchiveResourcesMutex.RLock() - defer fake.gatherArchiveResourcesMutex.RUnlock() - fake.gatherDirectoryResourcesMutex.RLock() - defer fake.gatherDirectoryResourcesMutex.RUnlock() - fake.readArchiveMutex.RLock() - defer fake.readArchiveMutex.RUnlock() - fake.zipArchiveResourcesMutex.RLock() - defer fake.zipArchiveResourcesMutex.RUnlock() - fake.zipDirectoryResourcesMutex.RLock() - defer fake.zipDirectoryResourcesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go b/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go index ce878c727ea..642f3f9fd70 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go @@ -2759,72 +2759,6 @@ func (fake *FakeV7Actor) UploadDropletReturnsOnCall(i int, result1 v7action.Warn func (fake *FakeV7Actor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.createApplicationDropletMutex.RLock() - defer fake.createApplicationDropletMutex.RUnlock() - fake.createApplicationInSpaceMutex.RLock() - defer fake.createApplicationInSpaceMutex.RUnlock() - fake.createBitsPackageByApplicationMutex.RLock() - defer fake.createBitsPackageByApplicationMutex.RUnlock() - fake.createDeploymentMutex.RLock() - defer fake.createDeploymentMutex.RUnlock() - fake.createDockerPackageByApplicationMutex.RLock() - defer fake.createDockerPackageByApplicationMutex.RUnlock() - fake.createRouteMutex.RLock() - defer fake.createRouteMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getApplicationDropletsMutex.RLock() - defer fake.getApplicationDropletsMutex.RUnlock() - fake.getApplicationRoutesMutex.RLock() - defer fake.getApplicationRoutesMutex.RUnlock() - fake.getApplicationsByNamesAndSpaceMutex.RLock() - defer fake.getApplicationsByNamesAndSpaceMutex.RUnlock() - fake.getDefaultDomainMutex.RLock() - defer fake.getDefaultDomainMutex.RUnlock() - fake.getDomainMutex.RLock() - defer fake.getDomainMutex.RUnlock() - fake.getRouteByAttributesMutex.RLock() - defer fake.getRouteByAttributesMutex.RUnlock() - fake.getRouteDestinationByAppGUIDMutex.RLock() - defer fake.getRouteDestinationByAppGUIDMutex.RUnlock() - fake.mapRouteMutex.RLock() - defer fake.mapRouteMutex.RUnlock() - fake.pollBuildMutex.RLock() - defer fake.pollBuildMutex.RUnlock() - fake.pollPackageMutex.RLock() - defer fake.pollPackageMutex.RUnlock() - fake.pollStartMutex.RLock() - defer fake.pollStartMutex.RUnlock() - fake.pollStartForDeploymentMutex.RLock() - defer fake.pollStartForDeploymentMutex.RUnlock() - fake.resourceMatchMutex.RLock() - defer fake.resourceMatchMutex.RUnlock() - fake.restartApplicationMutex.RLock() - defer fake.restartApplicationMutex.RUnlock() - fake.scaleProcessByApplicationMutex.RLock() - defer fake.scaleProcessByApplicationMutex.RUnlock() - fake.setApplicationDropletMutex.RLock() - defer fake.setApplicationDropletMutex.RUnlock() - fake.setApplicationManifestMutex.RLock() - defer fake.setApplicationManifestMutex.RUnlock() - fake.setSpaceManifestMutex.RLock() - defer fake.setSpaceManifestMutex.RUnlock() - fake.stageApplicationPackageMutex.RLock() - defer fake.stageApplicationPackageMutex.RUnlock() - fake.stopApplicationMutex.RLock() - defer fake.stopApplicationMutex.RUnlock() - fake.unmapRouteMutex.RLock() - defer fake.unmapRouteMutex.RUnlock() - fake.updateApplicationMutex.RLock() - defer fake.updateApplicationMutex.RUnlock() - fake.updateProcessByTypeAndApplicationMutex.RLock() - defer fake.updateProcessByTypeAndApplicationMutex.RUnlock() - fake.updateRouteMutex.RLock() - defer fake.updateRouteMutex.RUnlock() - fake.uploadBitsPackageMutex.RLock() - defer fake.uploadBitsPackageMutex.RUnlock() - fake.uploadDropletMutex.RLock() - defer fake.uploadDropletMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go b/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go index 58444b2871f..3a0e288903f 100644 --- a/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go +++ b/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go @@ -162,10 +162,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 cfnetworking func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/cfnetworkingfakes/fake_connection.go b/api/cfnetworking/cfnetworkingfakes/fake_connection.go index 76952cd561b..1ae34c5368b 100644 --- a/api/cfnetworking/cfnetworkingfakes/fake_connection.go +++ b/api/cfnetworking/cfnetworkingfakes/fake_connection.go @@ -89,8 +89,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go b/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go index ef98c43a164..20265b443e8 100644 --- a/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go +++ b/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go @@ -176,10 +176,6 @@ func (fake *FakeReadSeeker) SeekReturnsOnCall(i int, result1 int64, result2 erro func (fake *FakeReadSeeker) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() - fake.seekMutex.RLock() - defer fake.seekMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go b/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go index 7d83cc31669..a464af2fd49 100644 --- a/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayMessageMutex.RLock() - defer fake.displayMessageMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go b/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go index 7c5f78f9f84..8a0e133a09d 100644 --- a/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go b/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go index 01522737530..8438629b6f1 100644 --- a/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go index efb16033463..3b570d0a018 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go @@ -79,8 +79,6 @@ func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time) { func (fake *FakeClock) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.nowMutex.RLock() - defer fake.nowMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go index d68345f3bb0..225c2b382dd 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go @@ -162,10 +162,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 cloudcontrol func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go index 395fb77fea9..cacd86353e1 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go @@ -96,8 +96,6 @@ func (fake *FakeReader) ReadReturnsOnCall(i int, result1 int, result2 error) { func (fake *FakeReader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go index 44453af4880..3298e618455 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go @@ -661,24 +661,6 @@ func (fake *FakeRequester) WrapConnectionArgsForCall(i int) ccv3.ConnectionWrapp func (fake *FakeRequester) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.initializeConnectionMutex.RLock() - defer fake.initializeConnectionMutex.RUnlock() - fake.initializeRouterMutex.RLock() - defer fake.initializeRouterMutex.RUnlock() - fake.makeListRequestMutex.RLock() - defer fake.makeListRequestMutex.RUnlock() - fake.makeRequestMutex.RLock() - defer fake.makeRequestMutex.RUnlock() - fake.makeRequestReceiveRawMutex.RLock() - defer fake.makeRequestReceiveRawMutex.RUnlock() - fake.makeRequestSendRawMutex.RLock() - defer fake.makeRequestSendRawMutex.RUnlock() - fake.makeRequestSendReceiveRawMutex.RLock() - defer fake.makeRequestSendReceiveRawMutex.RUnlock() - fake.makeRequestUploadAsyncMutex.RLock() - defer fake.makeRequestUploadAsyncMutex.RUnlock() - fake.wrapConnectionMutex.RLock() - defer fake.wrapConnectionMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go b/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go index 6a653c9b315..c431cb5859b 100644 --- a/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go +++ b/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go @@ -89,8 +89,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go b/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go index 7d682916651..a4a92c1428c 100644 --- a/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayMessageMutex.RLock() - defer fake.displayMessageMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go b/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go index 68a758271c3..b5879b2f23b 100644 --- a/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go b/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go index e62a035dcb1..fcfbfd3cdd1 100644 --- a/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/pluginfakes/fake_connection.go b/api/plugin/pluginfakes/fake_connection.go index 36c4fcf9f03..c04d499ad60 100644 --- a/api/plugin/pluginfakes/fake_connection.go +++ b/api/plugin/pluginfakes/fake_connection.go @@ -92,8 +92,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/pluginfakes/fake_connection_wrapper.go b/api/plugin/pluginfakes/fake_connection_wrapper.go index a981905093a..f01dc9f39bf 100644 --- a/api/plugin/pluginfakes/fake_connection_wrapper.go +++ b/api/plugin/pluginfakes/fake_connection_wrapper.go @@ -164,10 +164,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 plugin.Conne func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/pluginfakes/fake_proxy_reader.go b/api/plugin/pluginfakes/fake_proxy_reader.go index 225c33d8be2..ec3065aec09 100644 --- a/api/plugin/pluginfakes/fake_proxy_reader.go +++ b/api/plugin/pluginfakes/fake_proxy_reader.go @@ -153,12 +153,6 @@ func (fake *FakeProxyReader) WrapReturnsOnCall(i int, result1 io.ReadCloser) { func (fake *FakeProxyReader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.finishMutex.RLock() - defer fake.finishMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go b/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go index d3413626b21..0089dae7682 100644 --- a/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayDumpMutex.RLock() - defer fake.displayDumpMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/routerfakes/fake_connection.go b/api/router/routerfakes/fake_connection.go index c7919361f4d..4815eedf3c6 100644 --- a/api/router/routerfakes/fake_connection.go +++ b/api/router/routerfakes/fake_connection.go @@ -89,8 +89,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/routerfakes/fake_connection_wrapper.go b/api/router/routerfakes/fake_connection_wrapper.go index 7bb514be222..35c3245219d 100644 --- a/api/router/routerfakes/fake_connection_wrapper.go +++ b/api/router/routerfakes/fake_connection_wrapper.go @@ -161,10 +161,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 router.Conne func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/wrapper/wrapperfakes/fake_request_logger_output.go b/api/router/wrapper/wrapperfakes/fake_request_logger_output.go index f909d7d0121..bc93e1c8168 100644 --- a/api/router/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/router/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayMessageMutex.RLock() - defer fake.displayMessageMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/wrapper/wrapperfakes/fake_token_cache.go b/api/router/wrapper/wrapperfakes/fake_token_cache.go index f982080fb29..c40db125b30 100644 --- a/api/router/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/router/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/wrapper/wrapperfakes/fake_uaaclient.go b/api/router/wrapper/wrapperfakes/fake_uaaclient.go index 052b836552c..2bfb7e21af5 100644 --- a/api/router/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/router/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/shared/sharedfakes/fake_round_tripper.go b/api/shared/sharedfakes/fake_round_tripper.go index e8c0e9dd4f4..890bb8b8dfc 100644 --- a/api/shared/sharedfakes/fake_round_tripper.go +++ b/api/shared/sharedfakes/fake_round_tripper.go @@ -91,8 +91,6 @@ func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Respon func (fake *FakeRoundTripper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.roundTripMutex.RLock() - defer fake.roundTripMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go b/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go index 267b6889254..7803c91194d 100644 --- a/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go +++ b/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go @@ -152,12 +152,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go b/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go index 7d37b56fb18..6ff5429860e 100644 --- a/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go +++ b/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/uaafakes/fake_config.go b/api/uaa/uaafakes/fake_config.go index 52676b5022d..514b8c4ce4b 100644 --- a/api/uaa/uaafakes/fake_config.go +++ b/api/uaa/uaafakes/fake_config.go @@ -557,24 +557,6 @@ func (fake *FakeConfig) UAAOAuthClientSecretReturnsOnCall(i int, result1 string) func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.binaryNameMutex.RLock() - defer fake.binaryNameMutex.RUnlock() - fake.binaryVersionMutex.RLock() - defer fake.binaryVersionMutex.RUnlock() - fake.dialTimeoutMutex.RLock() - defer fake.dialTimeoutMutex.RUnlock() - fake.setUAAEndpointMutex.RLock() - defer fake.setUAAEndpointMutex.RUnlock() - fake.skipSSLValidationMutex.RLock() - defer fake.skipSSLValidationMutex.RUnlock() - fake.uAADisableKeepAlivesMutex.RLock() - defer fake.uAADisableKeepAlivesMutex.RUnlock() - fake.uAAGrantTypeMutex.RLock() - defer fake.uAAGrantTypeMutex.RUnlock() - fake.uAAOAuthClientMutex.RLock() - defer fake.uAAOAuthClientMutex.RUnlock() - fake.uAAOAuthClientSecretMutex.RLock() - defer fake.uAAOAuthClientSecretMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/uaafakes/fake_connection.go b/api/uaa/uaafakes/fake_connection.go index cc9b816d275..ee446819672 100644 --- a/api/uaa/uaafakes/fake_connection.go +++ b/api/uaa/uaafakes/fake_connection.go @@ -90,8 +90,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/uaafakes/fake_connection_wrapper.go b/api/uaa/uaafakes/fake_connection_wrapper.go index 56c236a793d..af2795fb6ec 100644 --- a/api/uaa/uaafakes/fake_connection_wrapper.go +++ b/api/uaa/uaafakes/fake_connection_wrapper.go @@ -162,10 +162,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 uaa.Connecti func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go b/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go index f331009bd05..22f14c9888f 100644 --- a/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go @@ -703,26 +703,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayBodyMutex.RLock() - defer fake.displayBodyMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/wrapper/wrapperfakes/fake_token_cache.go b/api/uaa/wrapper/wrapperfakes/fake_token_cache.go index 583fd56ed77..1dc89e7fc5e 100644 --- a/api/uaa/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/uaa/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go b/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go index 8d9dd05a87c..ff2e741251c 100644 --- a/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/commandfakes/fake_config.go b/command/commandfakes/fake_config.go index 54c5de6ca7d..8a89c925891 100644 --- a/command/commandfakes/fake_config.go +++ b/command/commandfakes/fake_config.go @@ -51,16 +51,6 @@ type FakeConfig struct { authorizationEndpointReturnsOnCall map[int]struct { result1 string } - B3SpanIDStub func() string - b3SpanIDMutex sync.RWMutex - b3SpanIDArgsForCall []struct { - } - b3SpanIDReturns struct { - result1 string - } - b3SpanIDReturnsOnCall map[int]struct { - result1 string - } B3TraceIDStub func() string b3TraceIDMutex sync.RWMutex b3TraceIDArgsForCall []struct { @@ -887,59 +877,6 @@ func (fake *FakeConfig) AuthorizationEndpointReturnsOnCall(i int, result1 string }{result1} } -func (fake *FakeConfig) B3SpanID() string { - fake.b3SpanIDMutex.Lock() - ret, specificReturn := fake.b3SpanIDReturnsOnCall[len(fake.b3SpanIDArgsForCall)] - fake.b3SpanIDArgsForCall = append(fake.b3SpanIDArgsForCall, struct { - }{}) - stub := fake.B3SpanIDStub - fakeReturns := fake.b3SpanIDReturns - fake.recordInvocation("B3SpanID", []interface{}{}) - fake.b3SpanIDMutex.Unlock() - if stub != nil { - return stub() - } - if specificReturn { - return ret.result1 - } - return fakeReturns.result1 -} - -func (fake *FakeConfig) B3SpanIDCallCount() int { - fake.b3SpanIDMutex.RLock() - defer fake.b3SpanIDMutex.RUnlock() - return len(fake.b3SpanIDArgsForCall) -} - -func (fake *FakeConfig) B3SpanIDCalls(stub func() string) { - fake.b3SpanIDMutex.Lock() - defer fake.b3SpanIDMutex.Unlock() - fake.B3SpanIDStub = stub -} - -func (fake *FakeConfig) B3SpanIDReturns(result1 string) { - fake.b3SpanIDMutex.Lock() - defer fake.b3SpanIDMutex.Unlock() - fake.B3SpanIDStub = nil - fake.b3SpanIDReturns = struct { - result1 string - }{result1} -} - -func (fake *FakeConfig) B3SpanIDReturnsOnCall(i int, result1 string) { - fake.b3SpanIDMutex.Lock() - defer fake.b3SpanIDMutex.Unlock() - fake.B3SpanIDStub = nil - if fake.b3SpanIDReturnsOnCall == nil { - fake.b3SpanIDReturnsOnCall = make(map[int]struct { - result1 string - }) - } - fake.b3SpanIDReturnsOnCall[i] = struct { - result1 string - }{result1} -} - func (fake *FakeConfig) B3TraceID() string { fake.b3TraceIDMutex.Lock() ret, specificReturn := fake.b3TraceIDReturnsOnCall[len(fake.b3TraceIDArgsForCall)] @@ -4144,154 +4081,6 @@ func (fake *FakeConfig) WritePluginConfigReturnsOnCall(i int, result1 error) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.aPIVersionMutex.RLock() - defer fake.aPIVersionMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.addPluginMutex.RLock() - defer fake.addPluginMutex.RUnlock() - fake.addPluginRepositoryMutex.RLock() - defer fake.addPluginRepositoryMutex.RUnlock() - fake.authorizationEndpointMutex.RLock() - defer fake.authorizationEndpointMutex.RUnlock() - fake.b3SpanIDMutex.RLock() - defer fake.b3SpanIDMutex.RUnlock() - fake.b3TraceIDMutex.RLock() - defer fake.b3TraceIDMutex.RUnlock() - fake.binaryNameMutex.RLock() - defer fake.binaryNameMutex.RUnlock() - fake.binaryVersionMutex.RLock() - defer fake.binaryVersionMutex.RUnlock() - fake.cFPasswordMutex.RLock() - defer fake.cFPasswordMutex.RUnlock() - fake.cFUsernameMutex.RLock() - defer fake.cFUsernameMutex.RUnlock() - fake.cNBCredentialsMutex.RLock() - defer fake.cNBCredentialsMutex.RUnlock() - fake.colorEnabledMutex.RLock() - defer fake.colorEnabledMutex.RUnlock() - fake.currentUserMutex.RLock() - defer fake.currentUserMutex.RUnlock() - fake.currentUserNameMutex.RLock() - defer fake.currentUserNameMutex.RUnlock() - fake.dialTimeoutMutex.RLock() - defer fake.dialTimeoutMutex.RUnlock() - fake.dockerPasswordMutex.RLock() - defer fake.dockerPasswordMutex.RUnlock() - fake.experimentalMutex.RLock() - defer fake.experimentalMutex.RUnlock() - fake.getPluginMutex.RLock() - defer fake.getPluginMutex.RUnlock() - fake.getPluginCaseInsensitiveMutex.RLock() - defer fake.getPluginCaseInsensitiveMutex.RUnlock() - fake.hasTargetedOrganizationMutex.RLock() - defer fake.hasTargetedOrganizationMutex.RUnlock() - fake.hasTargetedSpaceMutex.RLock() - defer fake.hasTargetedSpaceMutex.RUnlock() - fake.isCFOnK8sMutex.RLock() - defer fake.isCFOnK8sMutex.RUnlock() - fake.isTTYMutex.RLock() - defer fake.isTTYMutex.RUnlock() - fake.localeMutex.RLock() - defer fake.localeMutex.RUnlock() - fake.logCacheEndpointMutex.RLock() - defer fake.logCacheEndpointMutex.RUnlock() - fake.minCLIVersionMutex.RLock() - defer fake.minCLIVersionMutex.RUnlock() - fake.nOAARequestRetryCountMutex.RLock() - defer fake.nOAARequestRetryCountMutex.RUnlock() - fake.networkPolicyV1EndpointMutex.RLock() - defer fake.networkPolicyV1EndpointMutex.RUnlock() - fake.overallPollingTimeoutMutex.RLock() - defer fake.overallPollingTimeoutMutex.RUnlock() - fake.pluginHomeMutex.RLock() - defer fake.pluginHomeMutex.RUnlock() - fake.pluginRepositoriesMutex.RLock() - defer fake.pluginRepositoriesMutex.RUnlock() - fake.pluginsMutex.RLock() - defer fake.pluginsMutex.RUnlock() - fake.pollingIntervalMutex.RLock() - defer fake.pollingIntervalMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.removePluginMutex.RLock() - defer fake.removePluginMutex.RUnlock() - fake.requestRetryCountMutex.RLock() - defer fake.requestRetryCountMutex.RUnlock() - fake.routingEndpointMutex.RLock() - defer fake.routingEndpointMutex.RUnlock() - fake.sSHOAuthClientMutex.RLock() - defer fake.sSHOAuthClientMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setAsyncTimeoutMutex.RLock() - defer fake.setAsyncTimeoutMutex.RUnlock() - fake.setColorEnabledMutex.RLock() - defer fake.setColorEnabledMutex.RUnlock() - fake.setKubernetesAuthInfoMutex.RLock() - defer fake.setKubernetesAuthInfoMutex.RUnlock() - fake.setLocaleMutex.RLock() - defer fake.setLocaleMutex.RUnlock() - fake.setMinCLIVersionMutex.RLock() - defer fake.setMinCLIVersionMutex.RUnlock() - fake.setOrganizationInformationMutex.RLock() - defer fake.setOrganizationInformationMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() - fake.setSpaceInformationMutex.RLock() - defer fake.setSpaceInformationMutex.RUnlock() - fake.setTargetInformationMutex.RLock() - defer fake.setTargetInformationMutex.RUnlock() - fake.setTokenInformationMutex.RLock() - defer fake.setTokenInformationMutex.RUnlock() - fake.setTraceMutex.RLock() - defer fake.setTraceMutex.RUnlock() - fake.setUAAClientCredentialsMutex.RLock() - defer fake.setUAAClientCredentialsMutex.RUnlock() - fake.setUAAEndpointMutex.RLock() - defer fake.setUAAEndpointMutex.RUnlock() - fake.setUAAGrantTypeMutex.RLock() - defer fake.setUAAGrantTypeMutex.RUnlock() - fake.skipSSLValidationMutex.RLock() - defer fake.skipSSLValidationMutex.RUnlock() - fake.stagingTimeoutMutex.RLock() - defer fake.stagingTimeoutMutex.RUnlock() - fake.startupTimeoutMutex.RLock() - defer fake.startupTimeoutMutex.RUnlock() - fake.targetMutex.RLock() - defer fake.targetMutex.RUnlock() - fake.targetedOrganizationMutex.RLock() - defer fake.targetedOrganizationMutex.RUnlock() - fake.targetedOrganizationNameMutex.RLock() - defer fake.targetedOrganizationNameMutex.RUnlock() - fake.targetedSpaceMutex.RLock() - defer fake.targetedSpaceMutex.RUnlock() - fake.terminalWidthMutex.RLock() - defer fake.terminalWidthMutex.RUnlock() - fake.uAADisableKeepAlivesMutex.RLock() - defer fake.uAADisableKeepAlivesMutex.RUnlock() - fake.uAAEndpointMutex.RLock() - defer fake.uAAEndpointMutex.RUnlock() - fake.uAAGrantTypeMutex.RLock() - defer fake.uAAGrantTypeMutex.RUnlock() - fake.uAAOAuthClientMutex.RLock() - defer fake.uAAOAuthClientMutex.RUnlock() - fake.uAAOAuthClientSecretMutex.RLock() - defer fake.uAAOAuthClientSecretMutex.RUnlock() - fake.unsetOrganizationAndSpaceInformationMutex.RLock() - defer fake.unsetOrganizationAndSpaceInformationMutex.RUnlock() - fake.unsetSpaceInformationMutex.RLock() - defer fake.unsetSpaceInformationMutex.RUnlock() - fake.unsetUserInformationMutex.RLock() - defer fake.unsetUserInformationMutex.RUnlock() - fake.v7SetSpaceInformationMutex.RLock() - defer fake.v7SetSpaceInformationMutex.RUnlock() - fake.verboseMutex.RLock() - defer fake.verboseMutex.RUnlock() - fake.writeConfigMutex.RLock() - defer fake.writeConfigMutex.RUnlock() - fake.writePluginConfigMutex.RLock() - defer fake.writePluginConfigMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/commandfakes/fake_shared_actor.go b/command/commandfakes/fake_shared_actor.go index 06dafc6c3a5..5150f713302 100644 --- a/command/commandfakes/fake_shared_actor.go +++ b/command/commandfakes/fake_shared_actor.go @@ -414,18 +414,6 @@ func (fake *FakeSharedActor) RequireTargetedOrgReturnsOnCall(i int, result1 stri func (fake *FakeSharedActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.checkTargetMutex.RLock() - defer fake.checkTargetMutex.RUnlock() - fake.isLoggedInMutex.RLock() - defer fake.isLoggedInMutex.RUnlock() - fake.isOrgTargetedMutex.RLock() - defer fake.isOrgTargetedMutex.RUnlock() - fake.isSpaceTargetedMutex.RLock() - defer fake.isSpaceTargetedMutex.RUnlock() - fake.requireCurrentUserMutex.RLock() - defer fake.requireCurrentUserMutex.RUnlock() - fake.requireTargetedOrgMutex.RLock() - defer fake.requireTargetedOrgMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/commandfakes/fake_ui.go b/command/commandfakes/fake_ui.go index 9b6ced857d6..fe38a7b96d0 100644 --- a/command/commandfakes/fake_ui.go +++ b/command/commandfakes/fake_ui.go @@ -1957,80 +1957,6 @@ func (fake *FakeUI) WriterReturnsOnCall(i int, result1 io.Writer) { func (fake *FakeUI) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.deferTextMutex.RLock() - defer fake.deferTextMutex.RUnlock() - fake.displayBoolPromptMutex.RLock() - defer fake.displayBoolPromptMutex.RUnlock() - fake.displayChangesForPushMutex.RLock() - defer fake.displayChangesForPushMutex.RUnlock() - fake.displayDeprecationWarningMutex.RLock() - defer fake.displayDeprecationWarningMutex.RUnlock() - fake.displayDiffAdditionMutex.RLock() - defer fake.displayDiffAdditionMutex.RUnlock() - fake.displayDiffRemovalMutex.RLock() - defer fake.displayDiffRemovalMutex.RUnlock() - fake.displayDiffUnchangedMutex.RLock() - defer fake.displayDiffUnchangedMutex.RUnlock() - fake.displayErrorMutex.RLock() - defer fake.displayErrorMutex.RUnlock() - fake.displayFileDeprecationWarningMutex.RLock() - defer fake.displayFileDeprecationWarningMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayInstancesTableForAppMutex.RLock() - defer fake.displayInstancesTableForAppMutex.RUnlock() - fake.displayJSONMutex.RLock() - defer fake.displayJSONMutex.RUnlock() - fake.displayKeyValueTableMutex.RLock() - defer fake.displayKeyValueTableMutex.RUnlock() - fake.displayKeyValueTableForAppMutex.RLock() - defer fake.displayKeyValueTableForAppMutex.RUnlock() - fake.displayLogMessageMutex.RLock() - defer fake.displayLogMessageMutex.RUnlock() - fake.displayNewlineMutex.RLock() - defer fake.displayNewlineMutex.RUnlock() - fake.displayNonWrappingTableMutex.RLock() - defer fake.displayNonWrappingTableMutex.RUnlock() - fake.displayOKMutex.RLock() - defer fake.displayOKMutex.RUnlock() - fake.displayOptionalTextPromptMutex.RLock() - defer fake.displayOptionalTextPromptMutex.RUnlock() - fake.displayPasswordPromptMutex.RLock() - defer fake.displayPasswordPromptMutex.RUnlock() - fake.displayTableWithHeaderMutex.RLock() - defer fake.displayTableWithHeaderMutex.RUnlock() - fake.displayTextMutex.RLock() - defer fake.displayTextMutex.RUnlock() - fake.displayTextLiteralMutex.RLock() - defer fake.displayTextLiteralMutex.RUnlock() - fake.displayTextMenuMutex.RLock() - defer fake.displayTextMenuMutex.RUnlock() - fake.displayTextPromptMutex.RLock() - defer fake.displayTextPromptMutex.RUnlock() - fake.displayTextWithBoldMutex.RLock() - defer fake.displayTextWithBoldMutex.RUnlock() - fake.displayTextWithFlavorMutex.RLock() - defer fake.displayTextWithFlavorMutex.RUnlock() - fake.displayWarningMutex.RLock() - defer fake.displayWarningMutex.RUnlock() - fake.displayWarningsMutex.RLock() - defer fake.displayWarningsMutex.RUnlock() - fake.getErrMutex.RLock() - defer fake.getErrMutex.RUnlock() - fake.getInMutex.RLock() - defer fake.getInMutex.RUnlock() - fake.getOutMutex.RLock() - defer fake.getOutMutex.RUnlock() - fake.requestLoggerFileWriterMutex.RLock() - defer fake.requestLoggerFileWriterMutex.RUnlock() - fake.requestLoggerTerminalDisplayMutex.RLock() - defer fake.requestLoggerTerminalDisplayMutex.RUnlock() - fake.translateTextMutex.RLock() - defer fake.translateTextMutex.RUnlock() - fake.userFriendlyDateMutex.RLock() - defer fake.userFriendlyDateMutex.RUnlock() - fake.writerMutex.RLock() - defer fake.writerMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/common/commonfakes/fake_help_actor.go b/command/common/commonfakes/fake_help_actor.go index f03e620155e..a052a3a7996 100644 --- a/command/common/commonfakes/fake_help_actor.go +++ b/command/common/commonfakes/fake_help_actor.go @@ -167,10 +167,6 @@ func (fake *FakeHelpActor) CommandInfosReturnsOnCall(i int, result1 map[string]s func (fake *FakeHelpActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.commandInfoByNameMutex.RLock() - defer fake.commandInfoByNameMutex.RUnlock() - fake.commandInfosMutex.RLock() - defer fake.commandInfosMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/common/commonfakes/fake_install_plugin_actor.go b/command/common/commonfakes/fake_install_plugin_actor.go index 8cc30868063..33186acf7db 100644 --- a/command/common/commonfakes/fake_install_plugin_actor.go +++ b/command/common/commonfakes/fake_install_plugin_actor.go @@ -795,26 +795,6 @@ func (fake *FakeInstallPluginActor) ValidateFileChecksumReturnsOnCall(i int, res func (fake *FakeInstallPluginActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.createExecutableCopyMutex.RLock() - defer fake.createExecutableCopyMutex.RUnlock() - fake.downloadExecutableBinaryFromURLMutex.RLock() - defer fake.downloadExecutableBinaryFromURLMutex.RUnlock() - fake.fileExistsMutex.RLock() - defer fake.fileExistsMutex.RUnlock() - fake.getAndValidatePluginMutex.RLock() - defer fake.getAndValidatePluginMutex.RUnlock() - fake.getPlatformStringMutex.RLock() - defer fake.getPlatformStringMutex.RUnlock() - fake.getPluginInfoFromRepositoriesForPlatformMutex.RLock() - defer fake.getPluginInfoFromRepositoriesForPlatformMutex.RUnlock() - fake.getPluginRepositoryMutex.RLock() - defer fake.getPluginRepositoryMutex.RUnlock() - fake.installPluginFromPathMutex.RLock() - defer fake.installPluginFromPathMutex.RUnlock() - fake.uninstallPluginMutex.RLock() - defer fake.uninstallPluginMutex.RUnlock() - fake.validateFileChecksumMutex.RLock() - defer fake.validateFileChecksumMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go b/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go index ac8c5509ea3..1bfeedc0e1b 100644 --- a/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go +++ b/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go @@ -89,8 +89,6 @@ func (fake *FakeAddPluginRepoActor) AddPluginRepositoryReturnsOnCall(i int, resu func (fake *FakeAddPluginRepoActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.addPluginRepositoryMutex.RLock() - defer fake.addPluginRepositoryMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/plugin/pluginfakes/fake_plugins_actor.go b/command/plugin/pluginfakes/fake_plugins_actor.go index 2b4e6358c67..e270e39c8fd 100644 --- a/command/plugin/pluginfakes/fake_plugins_actor.go +++ b/command/plugin/pluginfakes/fake_plugins_actor.go @@ -84,8 +84,6 @@ func (fake *FakePluginsActor) GetOutdatedPluginsReturnsOnCall(i int, result1 []p func (fake *FakePluginsActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getOutdatedPluginsMutex.RLock() - defer fake.getOutdatedPluginsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go b/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go index e11995cec9a..bc56a989d53 100644 --- a/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go +++ b/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go @@ -90,8 +90,6 @@ func (fake *FakeUninstallPluginActor) UninstallPluginReturnsOnCall(i int, result func (fake *FakeUninstallPluginActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.uninstallPluginMutex.RLock() - defer fake.uninstallPluginMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/translatableerror/translatableerrorfakes/fake_translatable_error.go b/command/translatableerror/translatableerrorfakes/fake_translatable_error.go index 641a2b274d5..c1382f82119 100644 --- a/command/translatableerror/translatableerrorfakes/fake_translatable_error.go +++ b/command/translatableerror/translatableerrorfakes/fake_translatable_error.go @@ -150,10 +150,6 @@ func (fake *FakeTranslatableError) TranslateReturnsOnCall(i int, result1 string) func (fake *FakeTranslatableError) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.errorMutex.RLock() - defer fake.errorMutex.RUnlock() - fake.translateMutex.RLock() - defer fake.translateMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/shared/sharedfakes/fake_app_stager.go b/command/v7/shared/sharedfakes/fake_app_stager.go index ba9d830a0f4..4b3e2d2e753 100644 --- a/command/v7/shared/sharedfakes/fake_app_stager.go +++ b/command/v7/shared/sharedfakes/fake_app_stager.go @@ -258,12 +258,6 @@ func (fake *FakeAppStager) StartAppReturnsOnCall(i int, result1 error) { func (fake *FakeAppStager) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.stageAndStartMutex.RLock() - defer fake.stageAndStartMutex.RUnlock() - fake.stageAppMutex.RLock() - defer fake.stageAppMutex.RUnlock() - fake.startAppMutex.RLock() - defer fake.startAppMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_actor.go b/command/v7/v7fakes/fake_actor.go index 80cd8d0e79d..c83f6e00bb4 100644 --- a/command/v7/v7fakes/fake_actor.go +++ b/command/v7/v7fakes/fake_actor.go @@ -19903,494 +19903,6 @@ func (fake *FakeActor) UploadDropletReturnsOnCall(i int, result1 v7action.Warnin func (fake *FakeActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.applyOrganizationQuotaByNameMutex.RLock() - defer fake.applyOrganizationQuotaByNameMutex.RUnlock() - fake.applySpaceQuotaByNameMutex.RLock() - defer fake.applySpaceQuotaByNameMutex.RUnlock() - fake.assignIsolationSegmentToSpaceByNameAndSpaceMutex.RLock() - defer fake.assignIsolationSegmentToSpaceByNameAndSpaceMutex.RUnlock() - fake.authenticateMutex.RLock() - defer fake.authenticateMutex.RUnlock() - fake.bindSecurityGroupToSpacesMutex.RLock() - defer fake.bindSecurityGroupToSpacesMutex.RUnlock() - fake.cancelDeploymentMutex.RLock() - defer fake.cancelDeploymentMutex.RUnlock() - fake.checkRouteMutex.RLock() - defer fake.checkRouteMutex.RUnlock() - fake.clearTargetMutex.RLock() - defer fake.clearTargetMutex.RUnlock() - fake.continueDeploymentMutex.RLock() - defer fake.continueDeploymentMutex.RUnlock() - fake.copyPackageMutex.RLock() - defer fake.copyPackageMutex.RUnlock() - fake.createAndUploadBitsPackageByApplicationNameAndSpaceMutex.RLock() - defer fake.createAndUploadBitsPackageByApplicationNameAndSpaceMutex.RUnlock() - fake.createApplicationDropletMutex.RLock() - defer fake.createApplicationDropletMutex.RUnlock() - fake.createApplicationInSpaceMutex.RLock() - defer fake.createApplicationInSpaceMutex.RUnlock() - fake.createBitsPackageByApplicationMutex.RLock() - defer fake.createBitsPackageByApplicationMutex.RUnlock() - fake.createBuildpackMutex.RLock() - defer fake.createBuildpackMutex.RUnlock() - fake.createDeploymentMutex.RLock() - defer fake.createDeploymentMutex.RUnlock() - fake.createDockerPackageByApplicationMutex.RLock() - defer fake.createDockerPackageByApplicationMutex.RUnlock() - fake.createDockerPackageByApplicationNameAndSpaceMutex.RLock() - defer fake.createDockerPackageByApplicationNameAndSpaceMutex.RUnlock() - fake.createIsolationSegmentByNameMutex.RLock() - defer fake.createIsolationSegmentByNameMutex.RUnlock() - fake.createManagedServiceInstanceMutex.RLock() - defer fake.createManagedServiceInstanceMutex.RUnlock() - fake.createOrgRoleMutex.RLock() - defer fake.createOrgRoleMutex.RUnlock() - fake.createOrganizationMutex.RLock() - defer fake.createOrganizationMutex.RUnlock() - fake.createOrganizationQuotaMutex.RLock() - defer fake.createOrganizationQuotaMutex.RUnlock() - fake.createPrivateDomainMutex.RLock() - defer fake.createPrivateDomainMutex.RUnlock() - fake.createRouteMutex.RLock() - defer fake.createRouteMutex.RUnlock() - fake.createRouteBindingMutex.RLock() - defer fake.createRouteBindingMutex.RUnlock() - fake.createSecurityGroupMutex.RLock() - defer fake.createSecurityGroupMutex.RUnlock() - fake.createServiceAppBindingMutex.RLock() - defer fake.createServiceAppBindingMutex.RUnlock() - fake.createServiceBrokerMutex.RLock() - defer fake.createServiceBrokerMutex.RUnlock() - fake.createServiceKeyMutex.RLock() - defer fake.createServiceKeyMutex.RUnlock() - fake.createSharedDomainMutex.RLock() - defer fake.createSharedDomainMutex.RUnlock() - fake.createSpaceMutex.RLock() - defer fake.createSpaceMutex.RUnlock() - fake.createSpaceQuotaMutex.RLock() - defer fake.createSpaceQuotaMutex.RUnlock() - fake.createSpaceRoleMutex.RLock() - defer fake.createSpaceRoleMutex.RUnlock() - fake.createUserMutex.RLock() - defer fake.createUserMutex.RUnlock() - fake.createUserProvidedServiceInstanceMutex.RLock() - defer fake.createUserProvidedServiceInstanceMutex.RUnlock() - fake.deleteApplicationByNameAndSpaceMutex.RLock() - defer fake.deleteApplicationByNameAndSpaceMutex.RUnlock() - fake.deleteBuildpackByNameAndStackAndLifecycleMutex.RLock() - defer fake.deleteBuildpackByNameAndStackAndLifecycleMutex.RUnlock() - fake.deleteDomainMutex.RLock() - defer fake.deleteDomainMutex.RUnlock() - fake.deleteInstanceByApplicationNameSpaceProcessTypeAndIndexMutex.RLock() - defer fake.deleteInstanceByApplicationNameSpaceProcessTypeAndIndexMutex.RUnlock() - fake.deleteIsolationSegmentByNameMutex.RLock() - defer fake.deleteIsolationSegmentByNameMutex.RUnlock() - fake.deleteIsolationSegmentOrganizationByNameMutex.RLock() - defer fake.deleteIsolationSegmentOrganizationByNameMutex.RUnlock() - fake.deleteOrgRoleMutex.RLock() - defer fake.deleteOrgRoleMutex.RUnlock() - fake.deleteOrganizationMutex.RLock() - defer fake.deleteOrganizationMutex.RUnlock() - fake.deleteOrganizationQuotaMutex.RLock() - defer fake.deleteOrganizationQuotaMutex.RUnlock() - fake.deleteOrphanedRoutesMutex.RLock() - defer fake.deleteOrphanedRoutesMutex.RUnlock() - fake.deleteRouteMutex.RLock() - defer fake.deleteRouteMutex.RUnlock() - fake.deleteRouteBindingMutex.RLock() - defer fake.deleteRouteBindingMutex.RUnlock() - fake.deleteSecurityGroupMutex.RLock() - defer fake.deleteSecurityGroupMutex.RUnlock() - fake.deleteServiceAppBindingMutex.RLock() - defer fake.deleteServiceAppBindingMutex.RUnlock() - fake.deleteServiceBrokerMutex.RLock() - defer fake.deleteServiceBrokerMutex.RUnlock() - fake.deleteServiceInstanceMutex.RLock() - defer fake.deleteServiceInstanceMutex.RUnlock() - fake.deleteServiceKeyByServiceInstanceAndNameMutex.RLock() - defer fake.deleteServiceKeyByServiceInstanceAndNameMutex.RUnlock() - fake.deleteSpaceByNameAndOrganizationNameMutex.RLock() - defer fake.deleteSpaceByNameAndOrganizationNameMutex.RUnlock() - fake.deleteSpaceQuotaByNameMutex.RLock() - defer fake.deleteSpaceQuotaByNameMutex.RUnlock() - fake.deleteSpaceRoleMutex.RLock() - defer fake.deleteSpaceRoleMutex.RUnlock() - fake.deleteUserMutex.RLock() - defer fake.deleteUserMutex.RUnlock() - fake.diffSpaceManifestMutex.RLock() - defer fake.diffSpaceManifestMutex.RUnlock() - fake.disableFeatureFlagMutex.RLock() - defer fake.disableFeatureFlagMutex.RUnlock() - fake.disableServiceAccessMutex.RLock() - defer fake.disableServiceAccessMutex.RUnlock() - fake.downloadCurrentDropletByAppNameMutex.RLock() - defer fake.downloadCurrentDropletByAppNameMutex.RUnlock() - fake.downloadDropletByGUIDAndAppNameMutex.RLock() - defer fake.downloadDropletByGUIDAndAppNameMutex.RUnlock() - fake.enableFeatureFlagMutex.RLock() - defer fake.enableFeatureFlagMutex.RUnlock() - fake.enableServiceAccessMutex.RLock() - defer fake.enableServiceAccessMutex.RUnlock() - fake.entitleIsolationSegmentToOrganizationByNameMutex.RLock() - defer fake.entitleIsolationSegmentToOrganizationByNameMutex.RUnlock() - fake.getAppFeatureMutex.RLock() - defer fake.getAppFeatureMutex.RUnlock() - fake.getAppSummariesForSpaceMutex.RLock() - defer fake.getAppSummariesForSpaceMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getApplicationDropletsMutex.RLock() - defer fake.getApplicationDropletsMutex.RUnlock() - fake.getApplicationLabelsMutex.RLock() - defer fake.getApplicationLabelsMutex.RUnlock() - fake.getApplicationMapForRouteMutex.RLock() - defer fake.getApplicationMapForRouteMutex.RUnlock() - fake.getApplicationPackagesMutex.RLock() - defer fake.getApplicationPackagesMutex.RUnlock() - fake.getApplicationProcessHealthChecksByNameAndSpaceMutex.RLock() - defer fake.getApplicationProcessHealthChecksByNameAndSpaceMutex.RUnlock() - fake.getApplicationProcessReadinessHealthChecksByNameAndSpaceMutex.RLock() - defer fake.getApplicationProcessReadinessHealthChecksByNameAndSpaceMutex.RUnlock() - fake.getApplicationRevisionsDeployedMutex.RLock() - defer fake.getApplicationRevisionsDeployedMutex.RUnlock() - fake.getApplicationRoutesMutex.RLock() - defer fake.getApplicationRoutesMutex.RUnlock() - fake.getApplicationTasksMutex.RLock() - defer fake.getApplicationTasksMutex.RUnlock() - fake.getApplicationsByGUIDsMutex.RLock() - defer fake.getApplicationsByGUIDsMutex.RUnlock() - fake.getApplicationsByNamesAndSpaceMutex.RLock() - defer fake.getApplicationsByNamesAndSpaceMutex.RUnlock() - fake.getBuildpackLabelsMutex.RLock() - defer fake.getBuildpackLabelsMutex.RUnlock() - fake.getBuildpacksMutex.RLock() - defer fake.getBuildpacksMutex.RUnlock() - fake.getCurrentUserMutex.RLock() - defer fake.getCurrentUserMutex.RUnlock() - fake.getDefaultDomainMutex.RLock() - defer fake.getDefaultDomainMutex.RUnlock() - fake.getDetailedAppSummaryMutex.RLock() - defer fake.getDetailedAppSummaryMutex.RUnlock() - fake.getDomainMutex.RLock() - defer fake.getDomainMutex.RUnlock() - fake.getDomainByNameMutex.RLock() - defer fake.getDomainByNameMutex.RUnlock() - fake.getDomainLabelsMutex.RLock() - defer fake.getDomainLabelsMutex.RUnlock() - fake.getEffectiveIsolationSegmentBySpaceMutex.RLock() - defer fake.getEffectiveIsolationSegmentBySpaceMutex.RUnlock() - fake.getEnvironmentVariableGroupMutex.RLock() - defer fake.getEnvironmentVariableGroupMutex.RUnlock() - fake.getEnvironmentVariableGroupByRevisionMutex.RLock() - defer fake.getEnvironmentVariableGroupByRevisionMutex.RUnlock() - fake.getEnvironmentVariablesByApplicationNameAndSpaceMutex.RLock() - defer fake.getEnvironmentVariablesByApplicationNameAndSpaceMutex.RUnlock() - fake.getFeatureFlagByNameMutex.RLock() - defer fake.getFeatureFlagByNameMutex.RUnlock() - fake.getFeatureFlagsMutex.RLock() - defer fake.getFeatureFlagsMutex.RUnlock() - fake.getGlobalRunningSecurityGroupsMutex.RLock() - defer fake.getGlobalRunningSecurityGroupsMutex.RUnlock() - fake.getGlobalStagingSecurityGroupsMutex.RLock() - defer fake.getGlobalStagingSecurityGroupsMutex.RUnlock() - fake.getInfoResponseMutex.RLock() - defer fake.getInfoResponseMutex.RUnlock() - fake.getIsolationSegmentByNameMutex.RLock() - defer fake.getIsolationSegmentByNameMutex.RUnlock() - fake.getIsolationSegmentSummariesMutex.RLock() - defer fake.getIsolationSegmentSummariesMutex.RUnlock() - fake.getIsolationSegmentsByOrganizationMutex.RLock() - defer fake.getIsolationSegmentsByOrganizationMutex.RUnlock() - fake.getLatestActiveDeploymentForAppMutex.RLock() - defer fake.getLatestActiveDeploymentForAppMutex.RUnlock() - fake.getLoginPromptsMutex.RLock() - defer fake.getLoginPromptsMutex.RUnlock() - fake.getNewestReadyPackageForApplicationMutex.RLock() - defer fake.getNewestReadyPackageForApplicationMutex.RUnlock() - fake.getOrgUsersByRoleTypeMutex.RLock() - defer fake.getOrgUsersByRoleTypeMutex.RUnlock() - fake.getOrganizationByNameMutex.RLock() - defer fake.getOrganizationByNameMutex.RUnlock() - fake.getOrganizationDomainsMutex.RLock() - defer fake.getOrganizationDomainsMutex.RUnlock() - fake.getOrganizationLabelsMutex.RLock() - defer fake.getOrganizationLabelsMutex.RUnlock() - fake.getOrganizationQuotaByNameMutex.RLock() - defer fake.getOrganizationQuotaByNameMutex.RUnlock() - fake.getOrganizationQuotasMutex.RLock() - defer fake.getOrganizationQuotasMutex.RUnlock() - fake.getOrganizationSpacesMutex.RLock() - defer fake.getOrganizationSpacesMutex.RUnlock() - fake.getOrganizationSpacesWithLabelSelectorMutex.RLock() - defer fake.getOrganizationSpacesWithLabelSelectorMutex.RUnlock() - fake.getOrganizationSummaryByNameMutex.RLock() - defer fake.getOrganizationSummaryByNameMutex.RUnlock() - fake.getOrganizationsMutex.RLock() - defer fake.getOrganizationsMutex.RUnlock() - fake.getProcessByTypeAndApplicationMutex.RLock() - defer fake.getProcessByTypeAndApplicationMutex.RUnlock() - fake.getRawApplicationManifestByNameAndSpaceMutex.RLock() - defer fake.getRawApplicationManifestByNameAndSpaceMutex.RUnlock() - fake.getRecentEventsByApplicationNameAndSpaceMutex.RLock() - defer fake.getRecentEventsByApplicationNameAndSpaceMutex.RUnlock() - fake.getRecentLogsForApplicationByNameAndSpaceMutex.RLock() - defer fake.getRecentLogsForApplicationByNameAndSpaceMutex.RUnlock() - fake.getRevisionByApplicationAndVersionMutex.RLock() - defer fake.getRevisionByApplicationAndVersionMutex.RUnlock() - fake.getRevisionsByApplicationNameAndSpaceMutex.RLock() - defer fake.getRevisionsByApplicationNameAndSpaceMutex.RUnlock() - fake.getRootResponseMutex.RLock() - defer fake.getRootResponseMutex.RUnlock() - fake.getRouteByAttributesMutex.RLock() - defer fake.getRouteByAttributesMutex.RUnlock() - fake.getRouteDestinationByAppGUIDMutex.RLock() - defer fake.getRouteDestinationByAppGUIDMutex.RUnlock() - fake.getRouteLabelsMutex.RLock() - defer fake.getRouteLabelsMutex.RUnlock() - fake.getRouteSummariesMutex.RLock() - defer fake.getRouteSummariesMutex.RUnlock() - fake.getRouterGroupsMutex.RLock() - defer fake.getRouterGroupsMutex.RUnlock() - fake.getRoutesByOrgMutex.RLock() - defer fake.getRoutesByOrgMutex.RUnlock() - fake.getRoutesBySpaceMutex.RLock() - defer fake.getRoutesBySpaceMutex.RUnlock() - fake.getSSHEnabledMutex.RLock() - defer fake.getSSHEnabledMutex.RUnlock() - fake.getSSHEnabledByAppNameMutex.RLock() - defer fake.getSSHEnabledByAppNameMutex.RUnlock() - fake.getSSHPasscodeMutex.RLock() - defer fake.getSSHPasscodeMutex.RUnlock() - fake.getSecureShellConfigurationByApplicationNameSpaceProcessTypeAndIndexMutex.RLock() - defer fake.getSecureShellConfigurationByApplicationNameSpaceProcessTypeAndIndexMutex.RUnlock() - fake.getSecurityGroupMutex.RLock() - defer fake.getSecurityGroupMutex.RUnlock() - fake.getSecurityGroupSummaryMutex.RLock() - defer fake.getSecurityGroupSummaryMutex.RUnlock() - fake.getSecurityGroupsMutex.RLock() - defer fake.getSecurityGroupsMutex.RUnlock() - fake.getServiceAccessMutex.RLock() - defer fake.getServiceAccessMutex.RUnlock() - fake.getServiceBrokerByNameMutex.RLock() - defer fake.getServiceBrokerByNameMutex.RUnlock() - fake.getServiceBrokerLabelsMutex.RLock() - defer fake.getServiceBrokerLabelsMutex.RUnlock() - fake.getServiceBrokersMutex.RLock() - defer fake.getServiceBrokersMutex.RUnlock() - fake.getServiceInstanceByNameAndSpaceMutex.RLock() - defer fake.getServiceInstanceByNameAndSpaceMutex.RUnlock() - fake.getServiceInstanceDetailsMutex.RLock() - defer fake.getServiceInstanceDetailsMutex.RUnlock() - fake.getServiceInstanceLabelsMutex.RLock() - defer fake.getServiceInstanceLabelsMutex.RUnlock() - fake.getServiceInstanceParametersMutex.RLock() - defer fake.getServiceInstanceParametersMutex.RUnlock() - fake.getServiceInstancesForSpaceMutex.RLock() - defer fake.getServiceInstancesForSpaceMutex.RUnlock() - fake.getServiceKeyByServiceInstanceAndNameMutex.RLock() - defer fake.getServiceKeyByServiceInstanceAndNameMutex.RUnlock() - fake.getServiceKeyDetailsByServiceInstanceAndNameMutex.RLock() - defer fake.getServiceKeyDetailsByServiceInstanceAndNameMutex.RUnlock() - fake.getServiceKeysByServiceInstanceMutex.RLock() - defer fake.getServiceKeysByServiceInstanceMutex.RUnlock() - fake.getServiceOfferingLabelsMutex.RLock() - defer fake.getServiceOfferingLabelsMutex.RUnlock() - fake.getServicePlanByNameOfferingAndBrokerMutex.RLock() - defer fake.getServicePlanByNameOfferingAndBrokerMutex.RUnlock() - fake.getServicePlanLabelsMutex.RLock() - defer fake.getServicePlanLabelsMutex.RUnlock() - fake.getSpaceByNameAndOrganizationMutex.RLock() - defer fake.getSpaceByNameAndOrganizationMutex.RUnlock() - fake.getSpaceFeatureMutex.RLock() - defer fake.getSpaceFeatureMutex.RUnlock() - fake.getSpaceLabelsMutex.RLock() - defer fake.getSpaceLabelsMutex.RUnlock() - fake.getSpaceQuotaByNameMutex.RLock() - defer fake.getSpaceQuotaByNameMutex.RUnlock() - fake.getSpaceQuotasByOrgGUIDMutex.RLock() - defer fake.getSpaceQuotasByOrgGUIDMutex.RUnlock() - fake.getSpaceSummaryByNameAndOrganizationMutex.RLock() - defer fake.getSpaceSummaryByNameAndOrganizationMutex.RUnlock() - fake.getSpaceUsersByRoleTypeMutex.RLock() - defer fake.getSpaceUsersByRoleTypeMutex.RUnlock() - fake.getStackByNameMutex.RLock() - defer fake.getStackByNameMutex.RUnlock() - fake.getStackLabelsMutex.RLock() - defer fake.getStackLabelsMutex.RUnlock() - fake.getStacksMutex.RLock() - defer fake.getStacksMutex.RUnlock() - fake.getStreamingLogsForApplicationByNameAndSpaceMutex.RLock() - defer fake.getStreamingLogsForApplicationByNameAndSpaceMutex.RUnlock() - fake.getTaskBySequenceIDAndApplicationMutex.RLock() - defer fake.getTaskBySequenceIDAndApplicationMutex.RUnlock() - fake.getUAAAPIVersionMutex.RLock() - defer fake.getUAAAPIVersionMutex.RUnlock() - fake.getUnstagedNewestPackageGUIDMutex.RLock() - defer fake.getUnstagedNewestPackageGUIDMutex.RUnlock() - fake.getUserMutex.RLock() - defer fake.getUserMutex.RUnlock() - fake.makeCurlRequestMutex.RLock() - defer fake.makeCurlRequestMutex.RUnlock() - fake.mapRouteMutex.RLock() - defer fake.mapRouteMutex.RUnlock() - fake.marketplaceMutex.RLock() - defer fake.marketplaceMutex.RUnlock() - fake.moveRouteMutex.RLock() - defer fake.moveRouteMutex.RUnlock() - fake.parseAccessTokenMutex.RLock() - defer fake.parseAccessTokenMutex.RUnlock() - fake.pollBuildMutex.RLock() - defer fake.pollBuildMutex.RUnlock() - fake.pollPackageMutex.RLock() - defer fake.pollPackageMutex.RUnlock() - fake.pollStartMutex.RLock() - defer fake.pollStartMutex.RUnlock() - fake.pollStartForDeploymentMutex.RLock() - defer fake.pollStartForDeploymentMutex.RUnlock() - fake.pollTaskMutex.RLock() - defer fake.pollTaskMutex.RUnlock() - fake.pollUploadBuildpackJobMutex.RLock() - defer fake.pollUploadBuildpackJobMutex.RUnlock() - fake.prepareBuildpackBitsMutex.RLock() - defer fake.prepareBuildpackBitsMutex.RUnlock() - fake.purgeServiceInstanceMutex.RLock() - defer fake.purgeServiceInstanceMutex.RUnlock() - fake.purgeServiceOfferingByNameAndBrokerMutex.RLock() - defer fake.purgeServiceOfferingByNameAndBrokerMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() - fake.renameApplicationByNameAndSpaceGUIDMutex.RLock() - defer fake.renameApplicationByNameAndSpaceGUIDMutex.RUnlock() - fake.renameOrganizationMutex.RLock() - defer fake.renameOrganizationMutex.RUnlock() - fake.renameServiceInstanceMutex.RLock() - defer fake.renameServiceInstanceMutex.RUnlock() - fake.renameSpaceByNameAndOrganizationGUIDMutex.RLock() - defer fake.renameSpaceByNameAndOrganizationGUIDMutex.RUnlock() - fake.resetOrganizationDefaultIsolationSegmentMutex.RLock() - defer fake.resetOrganizationDefaultIsolationSegmentMutex.RUnlock() - fake.resetSpaceIsolationSegmentMutex.RLock() - defer fake.resetSpaceIsolationSegmentMutex.RUnlock() - fake.resourceMatchMutex.RLock() - defer fake.resourceMatchMutex.RUnlock() - fake.restartApplicationMutex.RLock() - defer fake.restartApplicationMutex.RUnlock() - fake.revokeAccessAndRefreshTokensMutex.RLock() - defer fake.revokeAccessAndRefreshTokensMutex.RUnlock() - fake.runTaskMutex.RLock() - defer fake.runTaskMutex.RUnlock() - fake.scaleProcessByApplicationMutex.RLock() - defer fake.scaleProcessByApplicationMutex.RUnlock() - fake.scheduleTokenRefreshMutex.RLock() - defer fake.scheduleTokenRefreshMutex.RUnlock() - fake.setApplicationDropletMutex.RLock() - defer fake.setApplicationDropletMutex.RUnlock() - fake.setApplicationDropletByApplicationNameAndSpaceMutex.RLock() - defer fake.setApplicationDropletByApplicationNameAndSpaceMutex.RUnlock() - fake.setApplicationManifestMutex.RLock() - defer fake.setApplicationManifestMutex.RUnlock() - fake.setApplicationProcessHealthCheckTypeByNameAndSpaceMutex.RLock() - defer fake.setApplicationProcessHealthCheckTypeByNameAndSpaceMutex.RUnlock() - fake.setEnvironmentVariableByApplicationNameAndSpaceMutex.RLock() - defer fake.setEnvironmentVariableByApplicationNameAndSpaceMutex.RUnlock() - fake.setEnvironmentVariableGroupMutex.RLock() - defer fake.setEnvironmentVariableGroupMutex.RUnlock() - fake.setOrganizationDefaultIsolationSegmentMutex.RLock() - defer fake.setOrganizationDefaultIsolationSegmentMutex.RUnlock() - fake.setSpaceManifestMutex.RLock() - defer fake.setSpaceManifestMutex.RUnlock() - fake.setTargetMutex.RLock() - defer fake.setTargetMutex.RUnlock() - fake.sharePrivateDomainMutex.RLock() - defer fake.sharePrivateDomainMutex.RUnlock() - fake.shareRouteMutex.RLock() - defer fake.shareRouteMutex.RUnlock() - fake.shareServiceInstanceToSpaceAndOrgMutex.RLock() - defer fake.shareServiceInstanceToSpaceAndOrgMutex.RUnlock() - fake.stageApplicationPackageMutex.RLock() - defer fake.stageApplicationPackageMutex.RUnlock() - fake.stagePackageMutex.RLock() - defer fake.stagePackageMutex.RUnlock() - fake.startApplicationMutex.RLock() - defer fake.startApplicationMutex.RUnlock() - fake.stopApplicationMutex.RLock() - defer fake.stopApplicationMutex.RUnlock() - fake.terminateTaskMutex.RLock() - defer fake.terminateTaskMutex.RUnlock() - fake.unbindSecurityGroupMutex.RLock() - defer fake.unbindSecurityGroupMutex.RUnlock() - fake.unmapRouteMutex.RLock() - defer fake.unmapRouteMutex.RUnlock() - fake.unsetEnvironmentVariableByApplicationNameAndSpaceMutex.RLock() - defer fake.unsetEnvironmentVariableByApplicationNameAndSpaceMutex.RUnlock() - fake.unsetSpaceQuotaMutex.RLock() - defer fake.unsetSpaceQuotaMutex.RUnlock() - fake.unsharePrivateDomainMutex.RLock() - defer fake.unsharePrivateDomainMutex.RUnlock() - fake.unshareRouteMutex.RLock() - defer fake.unshareRouteMutex.RUnlock() - fake.unshareServiceInstanceFromSpaceAndOrgMutex.RLock() - defer fake.unshareServiceInstanceFromSpaceAndOrgMutex.RUnlock() - fake.updateAppFeatureMutex.RLock() - defer fake.updateAppFeatureMutex.RUnlock() - fake.updateApplicationMutex.RLock() - defer fake.updateApplicationMutex.RUnlock() - fake.updateApplicationLabelsByApplicationNameMutex.RLock() - defer fake.updateApplicationLabelsByApplicationNameMutex.RUnlock() - fake.updateBuildpackByNameAndStackAndLifecycleMutex.RLock() - defer fake.updateBuildpackByNameAndStackAndLifecycleMutex.RUnlock() - fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.RLock() - defer fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.RUnlock() - fake.updateDestinationMutex.RLock() - defer fake.updateDestinationMutex.RUnlock() - fake.updateDomainLabelsByDomainNameMutex.RLock() - defer fake.updateDomainLabelsByDomainNameMutex.RUnlock() - fake.updateManagedServiceInstanceMutex.RLock() - defer fake.updateManagedServiceInstanceMutex.RUnlock() - fake.updateOrganizationLabelsByOrganizationNameMutex.RLock() - defer fake.updateOrganizationLabelsByOrganizationNameMutex.RUnlock() - fake.updateOrganizationQuotaMutex.RLock() - defer fake.updateOrganizationQuotaMutex.RUnlock() - fake.updateProcessByTypeAndApplicationMutex.RLock() - defer fake.updateProcessByTypeAndApplicationMutex.RUnlock() - fake.updateRouteMutex.RLock() - defer fake.updateRouteMutex.RUnlock() - fake.updateRouteLabelsMutex.RLock() - defer fake.updateRouteLabelsMutex.RUnlock() - fake.updateSecurityGroupMutex.RLock() - defer fake.updateSecurityGroupMutex.RUnlock() - fake.updateSecurityGroupGloballyEnabledMutex.RLock() - defer fake.updateSecurityGroupGloballyEnabledMutex.RUnlock() - fake.updateServiceBrokerMutex.RLock() - defer fake.updateServiceBrokerMutex.RUnlock() - fake.updateServiceBrokerLabelsByServiceBrokerNameMutex.RLock() - defer fake.updateServiceBrokerLabelsByServiceBrokerNameMutex.RUnlock() - fake.updateServiceInstanceLabelsMutex.RLock() - defer fake.updateServiceInstanceLabelsMutex.RUnlock() - fake.updateServiceOfferingLabelsMutex.RLock() - defer fake.updateServiceOfferingLabelsMutex.RUnlock() - fake.updateServicePlanLabelsMutex.RLock() - defer fake.updateServicePlanLabelsMutex.RUnlock() - fake.updateSpaceFeatureMutex.RLock() - defer fake.updateSpaceFeatureMutex.RUnlock() - fake.updateSpaceLabelsBySpaceNameMutex.RLock() - defer fake.updateSpaceLabelsBySpaceNameMutex.RUnlock() - fake.updateSpaceQuotaMutex.RLock() - defer fake.updateSpaceQuotaMutex.RUnlock() - fake.updateStackLabelsByStackNameMutex.RLock() - defer fake.updateStackLabelsByStackNameMutex.RUnlock() - fake.updateUserPasswordMutex.RLock() - defer fake.updateUserPasswordMutex.RUnlock() - fake.updateUserProvidedServiceInstanceMutex.RLock() - defer fake.updateUserProvidedServiceInstanceMutex.RUnlock() - fake.upgradeManagedServiceInstanceMutex.RLock() - defer fake.upgradeManagedServiceInstanceMutex.RUnlock() - fake.uploadBitsPackageMutex.RLock() - defer fake.uploadBitsPackageMutex.RUnlock() - fake.uploadBuildpackMutex.RLock() - defer fake.uploadBuildpackMutex.RUnlock() - fake.uploadDropletMutex.RLock() - defer fake.uploadDropletMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_actor_reloader.go b/command/v7/v7fakes/fake_actor_reloader.go index 6fe66345dd7..760cf71511d 100644 --- a/command/v7/v7fakes/fake_actor_reloader.go +++ b/command/v7/v7fakes/fake_actor_reloader.go @@ -95,8 +95,6 @@ func (fake *FakeActorReloader) ReloadReturnsOnCall(i int, result1 v7.Actor, resu func (fake *FakeActorReloader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.reloadMutex.RLock() - defer fake.reloadMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_diff_displayer.go b/command/v7/v7fakes/fake_diff_displayer.go index 8911c427ce5..9bb379373f9 100644 --- a/command/v7/v7fakes/fake_diff_displayer.go +++ b/command/v7/v7fakes/fake_diff_displayer.go @@ -95,8 +95,6 @@ func (fake *FakeDiffDisplayer) DisplayDiffReturnsOnCall(i int, result1 error) { func (fake *FakeDiffDisplayer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayDiffMutex.RLock() - defer fake.displayDiffMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_label_setter.go b/command/v7/v7fakes/fake_label_setter.go index 1d258f1ca87..830d9c7eba7 100644 --- a/command/v7/v7fakes/fake_label_setter.go +++ b/command/v7/v7fakes/fake_label_setter.go @@ -90,8 +90,6 @@ func (fake *FakeLabelSetter) ExecuteReturnsOnCall(i int, result1 error) { func (fake *FakeLabelSetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeMutex.RLock() - defer fake.executeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_label_unsetter.go b/command/v7/v7fakes/fake_label_unsetter.go index 298e3f121d6..9e7768077cc 100644 --- a/command/v7/v7fakes/fake_label_unsetter.go +++ b/command/v7/v7fakes/fake_label_unsetter.go @@ -90,8 +90,6 @@ func (fake *FakeLabelUnsetter) ExecuteReturnsOnCall(i int, result1 error) { func (fake *FakeLabelUnsetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeMutex.RLock() - defer fake.executeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_manifest_locator.go b/command/v7/v7fakes/fake_manifest_locator.go index 3360061056c..b09a3cbdf0f 100644 --- a/command/v7/v7fakes/fake_manifest_locator.go +++ b/command/v7/v7fakes/fake_manifest_locator.go @@ -97,8 +97,6 @@ func (fake *FakeManifestLocator) PathReturnsOnCall(i int, result1 string, result func (fake *FakeManifestLocator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.pathMutex.RLock() - defer fake.pathMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_manifest_parser.go b/command/v7/v7fakes/fake_manifest_parser.go index 3acd35c1846..938de8fd924 100644 --- a/command/v7/v7fakes/fake_manifest_parser.go +++ b/command/v7/v7fakes/fake_manifest_parser.go @@ -269,12 +269,6 @@ func (fake *FakeManifestParser) ParseManifestReturnsOnCall(i int, result1 manife func (fake *FakeManifestParser) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.interpolateManifestMutex.RLock() - defer fake.interpolateManifestMutex.RUnlock() - fake.marshalManifestMutex.RLock() - defer fake.marshalManifestMutex.RUnlock() - fake.parseManifestMutex.RLock() - defer fake.parseManifestMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_network_policies_actor.go b/command/v7/v7fakes/fake_network_policies_actor.go index b59b13435d5..1415593abb2 100644 --- a/command/v7/v7fakes/fake_network_policies_actor.go +++ b/command/v7/v7fakes/fake_network_policies_actor.go @@ -182,10 +182,6 @@ func (fake *FakeNetworkPoliciesActor) NetworkPoliciesBySpaceAndAppNameReturnsOnC func (fake *FakeNetworkPoliciesActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.networkPoliciesBySpaceMutex.RLock() - defer fake.networkPoliciesBySpaceMutex.RUnlock() - fake.networkPoliciesBySpaceAndAppNameMutex.RLock() - defer fake.networkPoliciesBySpaceAndAppNameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_networking_actor.go b/command/v7/v7fakes/fake_networking_actor.go index 3eaad12cb3c..fe6db9d018f 100644 --- a/command/v7/v7fakes/fake_networking_actor.go +++ b/command/v7/v7fakes/fake_networking_actor.go @@ -105,8 +105,6 @@ func (fake *FakeNetworkingActor) AddNetworkPolicyReturnsOnCall(i int, result1 cf func (fake *FakeNetworkingActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.addNetworkPolicyMutex.RLock() - defer fake.addNetworkPolicyMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_progress_bar.go b/command/v7/v7fakes/fake_progress_bar.go index 06fc73c008e..382f14fb5cc 100644 --- a/command/v7/v7fakes/fake_progress_bar.go +++ b/command/v7/v7fakes/fake_progress_bar.go @@ -146,12 +146,6 @@ func (fake *FakeProgressBar) ReadyCalls(stub func()) { func (fake *FakeProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.completeMutex.RLock() - defer fake.completeMutex.RUnlock() - fake.newProgressBarWrapperMutex.RLock() - defer fake.newProgressBarWrapperMutex.RUnlock() - fake.readyMutex.RLock() - defer fake.readyMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_push_actor.go b/command/v7/v7fakes/fake_push_actor.go index 9e749b509c7..4fd0726d9d1 100644 --- a/command/v7/v7fakes/fake_push_actor.go +++ b/command/v7/v7fakes/fake_push_actor.go @@ -338,14 +338,6 @@ func (fake *FakePushActor) HandleFlagOverridesReturnsOnCall(i int, result1 manif func (fake *FakePushActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.actualizeMutex.RLock() - defer fake.actualizeMutex.RUnlock() - fake.createPushPlansMutex.RLock() - defer fake.createPushPlansMutex.RUnlock() - fake.handleDeploymentScaleFlagOverridesMutex.RLock() - defer fake.handleDeploymentScaleFlagOverridesMutex.RUnlock() - fake.handleFlagOverridesMutex.RLock() - defer fake.handleFlagOverridesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_remove_network_policy_actor.go b/command/v7/v7fakes/fake_remove_network_policy_actor.go index 598339350ef..828895a7dea 100644 --- a/command/v7/v7fakes/fake_remove_network_policy_actor.go +++ b/command/v7/v7fakes/fake_remove_network_policy_actor.go @@ -105,8 +105,6 @@ func (fake *FakeRemoveNetworkPolicyActor) RemoveNetworkPolicyReturnsOnCall(i int func (fake *FakeRemoveNetworkPolicyActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.removeNetworkPolicyMutex.RLock() - defer fake.removeNetworkPolicyMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_revisions_actor.go b/command/v7/v7fakes/fake_revisions_actor.go index 334ea87c604..2fc784af075 100644 --- a/command/v7/v7fakes/fake_revisions_actor.go +++ b/command/v7/v7fakes/fake_revisions_actor.go @@ -101,8 +101,6 @@ func (fake *FakeRevisionsActor) GetRevisionsByApplicationNameAndSpaceReturnsOnCa func (fake *FakeRevisionsActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getRevisionsByApplicationNameAndSpaceMutex.RLock() - defer fake.getRevisionsByApplicationNameAndSpaceMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_set_label_actor.go b/command/v7/v7fakes/fake_set_label_actor.go index 6b24970d52d..06da64dce9a 100644 --- a/command/v7/v7fakes/fake_set_label_actor.go +++ b/command/v7/v7fakes/fake_set_label_actor.go @@ -973,30 +973,6 @@ func (fake *FakeSetLabelActor) UpdateStackLabelsByStackNameReturnsOnCall(i int, func (fake *FakeSetLabelActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getCurrentUserMutex.RLock() - defer fake.getCurrentUserMutex.RUnlock() - fake.updateApplicationLabelsByApplicationNameMutex.RLock() - defer fake.updateApplicationLabelsByApplicationNameMutex.RUnlock() - fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.RLock() - defer fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.RUnlock() - fake.updateDomainLabelsByDomainNameMutex.RLock() - defer fake.updateDomainLabelsByDomainNameMutex.RUnlock() - fake.updateOrganizationLabelsByOrganizationNameMutex.RLock() - defer fake.updateOrganizationLabelsByOrganizationNameMutex.RUnlock() - fake.updateRouteLabelsMutex.RLock() - defer fake.updateRouteLabelsMutex.RUnlock() - fake.updateServiceBrokerLabelsByServiceBrokerNameMutex.RLock() - defer fake.updateServiceBrokerLabelsByServiceBrokerNameMutex.RUnlock() - fake.updateServiceInstanceLabelsMutex.RLock() - defer fake.updateServiceInstanceLabelsMutex.RUnlock() - fake.updateServiceOfferingLabelsMutex.RLock() - defer fake.updateServiceOfferingLabelsMutex.RUnlock() - fake.updateServicePlanLabelsMutex.RLock() - defer fake.updateServicePlanLabelsMutex.RUnlock() - fake.updateSpaceLabelsBySpaceNameMutex.RLock() - defer fake.updateSpaceLabelsBySpaceNameMutex.RUnlock() - fake.updateStackLabelsByStackNameMutex.RLock() - defer fake.updateStackLabelsByStackNameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_shared_sshactor.go b/command/v7/v7fakes/fake_shared_sshactor.go index 108786b4f36..0e03bfba090 100644 --- a/command/v7/v7fakes/fake_shared_sshactor.go +++ b/command/v7/v7fakes/fake_shared_sshactor.go @@ -90,8 +90,6 @@ func (fake *FakeSharedSSHActor) ExecuteSecureShellReturnsOnCall(i int, result1 e func (fake *FakeSharedSSHActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeSecureShellMutex.RLock() - defer fake.executeSecureShellMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_v7actor_for_push.go b/command/v7/v7fakes/fake_v7actor_for_push.go index 5c51cdeeabb..e6d6310de8a 100644 --- a/command/v7/v7fakes/fake_v7actor_for_push.go +++ b/command/v7/v7fakes/fake_v7actor_for_push.go @@ -448,16 +448,6 @@ func (fake *FakeV7ActorForPush) SetSpaceManifestReturnsOnCall(i int, result1 v7a func (fake *FakeV7ActorForPush) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getDetailedAppSummaryMutex.RLock() - defer fake.getDetailedAppSummaryMutex.RUnlock() - fake.getStreamingLogsForApplicationByNameAndSpaceMutex.RLock() - defer fake.getStreamingLogsForApplicationByNameAndSpaceMutex.RUnlock() - fake.restartApplicationMutex.RLock() - defer fake.restartApplicationMutex.RUnlock() - fake.setSpaceManifestMutex.RLock() - defer fake.setSpaceManifestMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/go.mod b/go.mod index 41d8b42816b..655e981584d 100644 --- a/go.mod +++ b/go.mod @@ -80,12 +80,12 @@ require ( github.com/x448/float16 v0.8.4 // indirect go.yaml.in/yaml/v2 v2.4.2 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect - golang.org/x/mod v0.29.0 // indirect + golang.org/x/mod v0.30.0 // indirect golang.org/x/oauth2 v0.27.0 // indirect golang.org/x/sync v0.18.0 // indirect golang.org/x/sys v0.38.0 // indirect golang.org/x/time v0.9.0 // indirect - golang.org/x/tools v0.38.0 // indirect + golang.org/x/tools v0.39.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect diff --git a/go.sum b/go.sum index d068e051160..15be3ff8516 100644 --- a/go.sum +++ b/go.sum @@ -291,8 +291,8 @@ golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKG 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.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= -golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA= -golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w= +golang.org/x/mod v0.30.0 h1:fDEXFVZ/fmCKProc/yAXXUijritrDzahmwwefnjoPFk= +golang.org/x/mod v0.30.0/go.mod h1:lAsf5O2EvJeSFMiBxXDki7sCgAxEUcZHXoXMKT4GJKc= golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180418062111-d41e8174641f/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -366,8 +366,8 @@ golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= golang.org/x/tools v0.1.11-0.20220316014157-77aa08bb151a/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= -golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ= -golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs= +golang.org/x/tools v0.39.0 h1:ik4ho21kwuQln40uelmciQPp9SipgNDdrafrYA4TmQQ= +golang.org/x/tools v0.39.0/go.mod h1:JnefbkDPyD8UU2kI5fuf8ZX4/yUeh9W877ZeBONxUqQ= 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/plugin/pluginfakes/fake_cli_connection.go b/plugin/pluginfakes/fake_cli_connection.go index 784a4600e6e..b9dc8c1a55b 100644 --- a/plugin/pluginfakes/fake_cli_connection.go +++ b/plugin/pluginfakes/fake_cli_connection.go @@ -1928,60 +1928,6 @@ func (fake *FakeCliConnection) UsernameReturnsOnCall(i int, result1 string, resu func (fake *FakeCliConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.apiEndpointMutex.RLock() - defer fake.apiEndpointMutex.RUnlock() - fake.apiVersionMutex.RLock() - defer fake.apiVersionMutex.RUnlock() - fake.cliCommandMutex.RLock() - defer fake.cliCommandMutex.RUnlock() - fake.cliCommandWithoutTerminalOutputMutex.RLock() - defer fake.cliCommandWithoutTerminalOutputMutex.RUnlock() - fake.dopplerEndpointMutex.RLock() - defer fake.dopplerEndpointMutex.RUnlock() - fake.getAppMutex.RLock() - defer fake.getAppMutex.RUnlock() - fake.getAppsMutex.RLock() - defer fake.getAppsMutex.RUnlock() - fake.getCurrentOrgMutex.RLock() - defer fake.getCurrentOrgMutex.RUnlock() - fake.getCurrentSpaceMutex.RLock() - defer fake.getCurrentSpaceMutex.RUnlock() - fake.getOrgMutex.RLock() - defer fake.getOrgMutex.RUnlock() - fake.getOrgUsersMutex.RLock() - defer fake.getOrgUsersMutex.RUnlock() - fake.getOrgsMutex.RLock() - defer fake.getOrgsMutex.RUnlock() - fake.getServiceMutex.RLock() - defer fake.getServiceMutex.RUnlock() - fake.getServicesMutex.RLock() - defer fake.getServicesMutex.RUnlock() - fake.getSpaceMutex.RLock() - defer fake.getSpaceMutex.RUnlock() - fake.getSpaceUsersMutex.RLock() - defer fake.getSpaceUsersMutex.RUnlock() - fake.getSpacesMutex.RLock() - defer fake.getSpacesMutex.RUnlock() - fake.hasAPIEndpointMutex.RLock() - defer fake.hasAPIEndpointMutex.RUnlock() - fake.hasOrganizationMutex.RLock() - defer fake.hasOrganizationMutex.RUnlock() - fake.hasSpaceMutex.RLock() - defer fake.hasSpaceMutex.RUnlock() - fake.isLoggedInMutex.RLock() - defer fake.isLoggedInMutex.RUnlock() - fake.isSSLDisabledMutex.RLock() - defer fake.isSSLDisabledMutex.RUnlock() - fake.loggregatorEndpointMutex.RLock() - defer fake.loggregatorEndpointMutex.RUnlock() - fake.userEmailMutex.RLock() - defer fake.userEmailMutex.RUnlock() - fake.userGuidMutex.RLock() - defer fake.userGuidMutex.RUnlock() - fake.usernameMutex.RLock() - defer fake.usernameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/plugin/rpc/rpcfakes/fake_command_runner.go b/plugin/rpc/rpcfakes/fake_command_runner.go index 8f940b1176e..9bf0699f872 100644 --- a/plugin/rpc/rpcfakes/fake_command_runner.go +++ b/plugin/rpc/rpcfakes/fake_command_runner.go @@ -97,8 +97,6 @@ func (fake *FakeCommandRunner) CommandReturnsOnCall(i int, result1 error) { func (fake *FakeCommandRunner) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.commandMutex.RLock() - defer fake.commandMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/plugin/rpc/rpcfakes/fake_output_capture.go b/plugin/rpc/rpcfakes/fake_output_capture.go index 01880aed6b9..8cfefe84073 100644 --- a/plugin/rpc/rpcfakes/fake_output_capture.go +++ b/plugin/rpc/rpcfakes/fake_output_capture.go @@ -53,8 +53,6 @@ func (fake *FakeOutputCapture) SetOutputBucketArgsForCall(i int) io.Writer { func (fake *FakeOutputCapture) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.setOutputBucketMutex.RLock() - defer fake.setOutputBucketMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/plugin/rpc/rpcfakes/fake_terminal_output_switch.go b/plugin/rpc/rpcfakes/fake_terminal_output_switch.go index 6989e71f6f1..2ae3057c1ca 100644 --- a/plugin/rpc/rpcfakes/fake_terminal_output_switch.go +++ b/plugin/rpc/rpcfakes/fake_terminal_output_switch.go @@ -52,8 +52,6 @@ func (fake *FakeTerminalOutputSwitch) DisableTerminalOutputArgsForCall(i int) bo func (fake *FakeTerminalOutputSwitch) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.disableTerminalOutputMutex.RLock() - defer fake.disableTerminalOutputMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_listener_factory.go b/util/clissh/clisshfakes/fake_listener_factory.go index b6730a87ce2..59d51ebb1ba 100644 --- a/util/clissh/clisshfakes/fake_listener_factory.go +++ b/util/clissh/clisshfakes/fake_listener_factory.go @@ -95,8 +95,6 @@ func (fake *FakeListenerFactory) ListenReturnsOnCall(i int, result1 net.Listener func (fake *FakeListenerFactory) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.listenMutex.RLock() - defer fake.listenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_secure_client.go b/util/clissh/clisshfakes/fake_secure_client.go index adff99966ec..e29a7b33f1a 100644 --- a/util/clissh/clisshfakes/fake_secure_client.go +++ b/util/clissh/clisshfakes/fake_secure_client.go @@ -353,16 +353,6 @@ func (fake *FakeSecureClient) WaitReturnsOnCall(i int, result1 error) { func (fake *FakeSecureClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.connMutex.RLock() - defer fake.connMutex.RUnlock() - fake.dialMutex.RLock() - defer fake.dialMutex.RUnlock() - fake.newSessionMutex.RLock() - defer fake.newSessionMutex.RUnlock() - fake.waitMutex.RLock() - defer fake.waitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_secure_dialer.go b/util/clissh/clisshfakes/fake_secure_dialer.go index 6d020738564..5e53e4b1003 100644 --- a/util/clissh/clisshfakes/fake_secure_dialer.go +++ b/util/clissh/clisshfakes/fake_secure_dialer.go @@ -97,8 +97,6 @@ func (fake *FakeSecureDialer) DialReturnsOnCall(i int, result1 clissh.SecureClie func (fake *FakeSecureDialer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.dialMutex.RLock() - defer fake.dialMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_secure_session.go b/util/clissh/clisshfakes/fake_secure_session.go index c4cf5cb42c3..33b7586bbe1 100644 --- a/util/clissh/clisshfakes/fake_secure_session.go +++ b/util/clissh/clisshfakes/fake_secure_session.go @@ -646,24 +646,6 @@ func (fake *FakeSecureSession) WaitReturnsOnCall(i int, result1 error) { func (fake *FakeSecureSession) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.requestPtyMutex.RLock() - defer fake.requestPtyMutex.RUnlock() - fake.sendRequestMutex.RLock() - defer fake.sendRequestMutex.RUnlock() - fake.shellMutex.RLock() - defer fake.shellMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stderrPipeMutex.RLock() - defer fake.stderrPipeMutex.RUnlock() - fake.stdinPipeMutex.RLock() - defer fake.stdinPipeMutex.RUnlock() - fake.stdoutPipeMutex.RLock() - defer fake.stdoutPipeMutex.RUnlock() - fake.waitMutex.RLock() - defer fake.waitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_terminal_helper.go b/util/clissh/clisshfakes/fake_terminal_helper.go index 4cc33ae1769..e8a41c40623 100644 --- a/util/clissh/clisshfakes/fake_terminal_helper.go +++ b/util/clissh/clisshfakes/fake_terminal_helper.go @@ -395,16 +395,6 @@ func (fake *FakeTerminalHelper) StdStreamsReturnsOnCall(i int, result1 io.ReadCl func (fake *FakeTerminalHelper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getFdInfoMutex.RLock() - defer fake.getFdInfoMutex.RUnlock() - fake.getWinsizeMutex.RLock() - defer fake.getWinsizeMutex.RUnlock() - fake.restoreTerminalMutex.RLock() - defer fake.restoreTerminalMutex.RUnlock() - fake.setRawTerminalMutex.RLock() - defer fake.setRawTerminalMutex.RUnlock() - fake.stdStreamsMutex.RLock() - defer fake.stdStreamsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/configv3/configv3fakes/fake_user_config.go b/util/configv3/configv3fakes/fake_user_config.go index 6cd582d04fe..325604374ec 100644 --- a/util/configv3/configv3fakes/fake_user_config.go +++ b/util/configv3/configv3fakes/fake_user_config.go @@ -151,10 +151,6 @@ func (fake *FakeUserConfig) CurrentUserNameReturnsOnCall(i int, result1 string, func (fake *FakeUserConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.currentUserMutex.RLock() - defer fake.currentUserMutex.RUnlock() - fake.currentUserNameMutex.RLock() - defer fake.currentUserNameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/download/downloadfakes/fake_httpclient.go b/util/download/downloadfakes/fake_httpclient.go index 9dcab50b963..29dc734349a 100644 --- a/util/download/downloadfakes/fake_httpclient.go +++ b/util/download/downloadfakes/fake_httpclient.go @@ -93,8 +93,6 @@ func (fake *FakeHTTPClient) GetReturnsOnCall(i int, result1 *http.Response, resu func (fake *FakeHTTPClient) 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/util/download/downloadfakes/fake_progress_bar.go b/util/download/downloadfakes/fake_progress_bar.go index 8d70e369ce8..ae52a8e0e00 100644 --- a/util/download/downloadfakes/fake_progress_bar.go +++ b/util/download/downloadfakes/fake_progress_bar.go @@ -252,14 +252,6 @@ func (fake *FakeProgressBar) StartReturnsOnCall(i int, result1 *pb.ProgressBar) func (fake *FakeProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.finishMutex.RLock() - defer fake.finishMutex.RUnlock() - fake.newProxyReaderMutex.RLock() - defer fake.newProxyReaderMutex.RUnlock() - fake.setTotalMutex.RLock() - defer fake.setTotalMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_config.go b/util/ui/uifakes/fake_config.go index b4844f0d963..7be4cf8abe1 100644 --- a/util/ui/uifakes/fake_config.go +++ b/util/ui/uifakes/fake_config.go @@ -268,14 +268,6 @@ func (fake *FakeConfig) TerminalWidthReturnsOnCall(i int, result1 int) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.colorEnabledMutex.RLock() - defer fake.colorEnabledMutex.RUnlock() - fake.isTTYMutex.RLock() - defer fake.isTTYMutex.RUnlock() - fake.localeMutex.RLock() - defer fake.localeMutex.RUnlock() - fake.terminalWidthMutex.RLock() - defer fake.terminalWidthMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_exiter.go b/util/ui/uifakes/fake_exiter.go index ce558bdbef1..139367ffe1c 100644 --- a/util/ui/uifakes/fake_exiter.go +++ b/util/ui/uifakes/fake_exiter.go @@ -52,8 +52,6 @@ func (fake *FakeExiter) ExitArgsForCall(i int) int { func (fake *FakeExiter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.exitMutex.RLock() - defer fake.exitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_interactor.go b/util/ui/uifakes/fake_interactor.go index 2c86eaa9e23..fcaa1067704 100644 --- a/util/ui/uifakes/fake_interactor.go +++ b/util/ui/uifakes/fake_interactor.go @@ -90,8 +90,6 @@ func (fake *FakeInteractor) NewInteractionReturnsOnCall(i int, result1 ui.Resolv func (fake *FakeInteractor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.newInteractionMutex.RLock() - defer fake.newInteractionMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_log_message.go b/util/ui/uifakes/fake_log_message.go index 3e05a8b6b5d..819aaa62575 100644 --- a/util/ui/uifakes/fake_log_message.go +++ b/util/ui/uifakes/fake_log_message.go @@ -331,16 +331,6 @@ func (fake *FakeLogMessage) TypeReturnsOnCall(i int, result1 string) { func (fake *FakeLogMessage) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.messageMutex.RLock() - defer fake.messageMutex.RUnlock() - fake.sourceInstanceMutex.RLock() - defer fake.sourceInstanceMutex.RUnlock() - fake.sourceTypeMutex.RLock() - defer fake.sourceTypeMutex.RUnlock() - fake.timestampMutex.RLock() - defer fake.timestampMutex.RUnlock() - fake.typeMutex.RLock() - defer fake.typeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_resolver.go b/util/ui/uifakes/fake_resolver.go index e92be1e8916..686ff57b5fe 100644 --- a/util/ui/uifakes/fake_resolver.go +++ b/util/ui/uifakes/fake_resolver.go @@ -162,12 +162,6 @@ func (fake *FakeResolver) SetOutArgsForCall(i int) io.Writer { func (fake *FakeResolver) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.resolveMutex.RLock() - defer fake.resolveMutex.RUnlock() - fake.setInMutex.RLock() - defer fake.setInMutex.RUnlock() - fake.setOutMutex.RLock() - defer fake.setOutMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/utilfakes/fake_sha1checksum.go b/util/utilfakes/fake_sha1checksum.go index 97903534db5..657551ee47d 100644 --- a/util/utilfakes/fake_sha1checksum.go +++ b/util/utilfakes/fake_sha1checksum.go @@ -192,12 +192,6 @@ func (fake *FakeSha1Checksum) SetFilePathArgsForCall(i int) string { func (fake *FakeSha1Checksum) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.checkSha1Mutex.RLock() - defer fake.checkSha1Mutex.RUnlock() - fake.computeFileSha1Mutex.RLock() - defer fake.computeFileSha1Mutex.RUnlock() - fake.setFilePathMutex.RLock() - defer fake.setFilePathMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value