From 701d23c05191dc676230c7e881b45419a85dc576 Mon Sep 17 00:00:00 2001 From: Omer Lachish Date: Mon, 7 Apr 2025 13:43:10 +0200 Subject: [PATCH] update test names --- service/billing/budgets_usage_test.go | 2 +- service/billing/log_delivery_usage_test.go | 2 +- service/catalog/catalogs_usage_test.go | 2 +- service/catalog/connections_usage_test.go | 2 +- service/catalog/external_locations_usage_test.go | 2 +- service/catalog/metastore_assignments_usage_test.go | 2 +- service/catalog/metastores_usage_test.go | 2 +- service/catalog/schemas_usage_test.go | 2 +- service/catalog/storage_credentials_usage_test.go | 2 +- service/catalog/tables_usage_test.go | 2 +- service/catalog/volumes_usage_test.go | 2 +- service/compute/cluster_policies_usage_test.go | 2 +- service/compute/clusters_usage_test.go | 2 +- service/compute/global_init_scripts_usage_test.go | 2 +- service/compute/instance_pools_usage_test.go | 2 +- service/compute/instance_profiles_usage_test.go | 2 +- service/compute/libraries_usage_test.go | 2 +- service/compute/policy_families_usage_test.go | 2 +- service/iam/service_principals_usage_test.go | 4 ++-- service/iam/users_usage_test.go | 2 +- service/iam/workspace_assignment_usage_test.go | 2 +- service/jobs/jobs_usage_test.go | 2 +- service/provisioning/credentials_usage_test.go | 2 +- service/provisioning/encryption_keys_usage_test.go | 2 +- service/provisioning/networks_usage_test.go | 2 +- service/provisioning/private_access_usage_test.go | 2 +- service/provisioning/storage_usage_test.go | 2 +- service/provisioning/vpc_endpoints_usage_test.go | 2 +- service/provisioning/workspaces_usage_test.go | 2 +- service/settings/ip_access_lists_usage_test.go | 2 +- service/settings/token_management_usage_test.go | 2 +- service/settings/tokens_usage_test.go | 4 ++-- service/sharing/providers_usage_test.go | 2 +- service/sharing/recipients_usage_test.go | 2 +- service/sharing/shares_usage_test.go | 2 +- service/sql/alerts_usage_test.go | 2 +- service/sql/dashboards_usage_test.go | 2 +- service/sql/data_sources_usage_test.go | 4 ++-- service/sql/query_history_usage_test.go | 2 +- service/sql/statement_execution_usage_test.go | 4 ++-- service/sql/warehouses_usage_test.go | 2 +- service/workspace/git_credentials_usage_test.go | 2 +- service/workspace/repos_usage_test.go | 2 +- service/workspace/workspace_usage_test.go | 2 +- 44 files changed, 48 insertions(+), 48 deletions(-) diff --git a/service/billing/budgets_usage_test.go b/service/billing/budgets_usage_test.go index da7b6cd8e..e0171227c 100755 --- a/service/billing/budgets_usage_test.go +++ b/service/billing/budgets_usage_test.go @@ -109,7 +109,7 @@ func ExampleBudgetsAPI_Get_budgets() { } -func ExampleBudgetsAPI_ListAll_budgets() { +func ExampleBudgetsAPI_List_budgets() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/billing/log_delivery_usage_test.go b/service/billing/log_delivery_usage_test.go index c5e9719f2..f9b100c88 100755 --- a/service/billing/log_delivery_usage_test.go +++ b/service/billing/log_delivery_usage_test.go @@ -151,7 +151,7 @@ func ExampleLogDeliveryAPI_Get_logDelivery() { } -func ExampleLogDeliveryAPI_ListAll_logDelivery() { +func ExampleLogDeliveryAPI_List_logDelivery() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/catalog/catalogs_usage_test.go b/service/catalog/catalogs_usage_test.go index ba634b8de..9879024aa 100755 --- a/service/catalog/catalogs_usage_test.go +++ b/service/catalog/catalogs_usage_test.go @@ -207,7 +207,7 @@ func ExampleCatalogsAPI_Get_catalogs() { } -func ExampleCatalogsAPI_ListAll_catalogs() { +func ExampleCatalogsAPI_List_catalogs() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/catalog/connections_usage_test.go b/service/catalog/connections_usage_test.go index 0dbe892ff..8888d368c 100755 --- a/service/catalog/connections_usage_test.go +++ b/service/catalog/connections_usage_test.go @@ -88,7 +88,7 @@ func ExampleConnectionsAPI_Get_connections() { } -func ExampleConnectionsAPI_ListAll_connections() { +func ExampleConnectionsAPI_List_connections() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/catalog/external_locations_usage_test.go b/service/catalog/external_locations_usage_test.go index abfaddb64..937c09d48 100755 --- a/service/catalog/external_locations_usage_test.go +++ b/service/catalog/external_locations_usage_test.go @@ -144,7 +144,7 @@ func ExampleExternalLocationsAPI_Get_externalLocationsOnAws() { } -func ExampleExternalLocationsAPI_ListAll_externalLocationsOnAws() { +func ExampleExternalLocationsAPI_List_externalLocationsOnAws() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/catalog/metastore_assignments_usage_test.go b/service/catalog/metastore_assignments_usage_test.go index b3c5b85c4..a1f6e075a 100755 --- a/service/catalog/metastore_assignments_usage_test.go +++ b/service/catalog/metastore_assignments_usage_test.go @@ -12,7 +12,7 @@ import ( "github.com/databricks/databricks-sdk-go/service/catalog" ) -func ExampleMetastoreAssignmentsAPI_ListAll_metastoreAssignments() { +func ExampleAccountMetastoreAssignmentsAPI_ListAll_metastoreAssignments() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/catalog/metastores_usage_test.go b/service/catalog/metastores_usage_test.go index 4c3752dfe..8304b2bbd 100755 --- a/service/catalog/metastores_usage_test.go +++ b/service/catalog/metastores_usage_test.go @@ -135,7 +135,7 @@ func ExampleMetastoresAPI_Get_metastores() { } -func ExampleMetastoresAPI_ListAll_metastores() { +func ExampleMetastoresAPI_List_metastores() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/catalog/schemas_usage_test.go b/service/catalog/schemas_usage_test.go index 4807b237b..53b9f0900 100755 --- a/service/catalog/schemas_usage_test.go +++ b/service/catalog/schemas_usage_test.go @@ -218,7 +218,7 @@ func ExampleSchemasAPI_Get_schemas() { } -func ExampleSchemasAPI_ListAll_schemas() { +func ExampleSchemasAPI_List_schemas() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/catalog/storage_credentials_usage_test.go b/service/catalog/storage_credentials_usage_test.go index 132ff8c65..a632fefb1 100755 --- a/service/catalog/storage_credentials_usage_test.go +++ b/service/catalog/storage_credentials_usage_test.go @@ -129,7 +129,7 @@ func ExampleStorageCredentialsAPI_Get_storageCredentialsOnAws() { } -func ExampleStorageCredentialsAPI_ListAll_storageCredentialsOnAws() { +func ExampleStorageCredentialsAPI_List_storageCredentialsOnAws() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/catalog/tables_usage_test.go b/service/catalog/tables_usage_test.go index 6bfc77296..f33525d67 100755 --- a/service/catalog/tables_usage_test.go +++ b/service/catalog/tables_usage_test.go @@ -79,7 +79,7 @@ func ExampleTablesAPI_Get_tables() { } -func ExampleTablesAPI_ListAll_tables() { +func ExampleTablesAPI_List_tables() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/catalog/volumes_usage_test.go b/service/catalog/volumes_usage_test.go index ddbfdce42..be1bf352f 100755 --- a/service/catalog/volumes_usage_test.go +++ b/service/catalog/volumes_usage_test.go @@ -101,7 +101,7 @@ func ExampleVolumesAPI_Create_volumes() { } -func ExampleVolumesAPI_ListAll_volumes() { +func ExampleVolumesAPI_List_volumes() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/compute/cluster_policies_usage_test.go b/service/compute/cluster_policies_usage_test.go index 207077560..9e205618b 100755 --- a/service/compute/cluster_policies_usage_test.go +++ b/service/compute/cluster_policies_usage_test.go @@ -133,7 +133,7 @@ func ExampleClusterPoliciesAPI_Get_clusterPolicies() { } -func ExampleClusterPoliciesAPI_ListAll_clusterPolicies() { +func ExampleClusterPoliciesAPI_List_clusterPolicies() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/compute/clusters_usage_test.go b/service/compute/clusters_usage_test.go index d2b1e6aed..6747273e0 100755 --- a/service/compute/clusters_usage_test.go +++ b/service/compute/clusters_usage_test.go @@ -335,7 +335,7 @@ func ExampleClustersAPI_Get_clustersApiIntegration() { } -func ExampleClustersAPI_ListAll_clustersApiIntegration() { +func ExampleClustersAPI_List_clustersApiIntegration() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/compute/global_init_scripts_usage_test.go b/service/compute/global_init_scripts_usage_test.go index 01f1b79af..afb7f380a 100755 --- a/service/compute/global_init_scripts_usage_test.go +++ b/service/compute/global_init_scripts_usage_test.go @@ -74,7 +74,7 @@ func ExampleGlobalInitScriptsAPI_Get_globalInitScripts() { } -func ExampleGlobalInitScriptsAPI_ListAll_globalInitScripts() { +func ExampleGlobalInitScriptsAPI_List_globalInitScripts() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/compute/instance_pools_usage_test.go b/service/compute/instance_pools_usage_test.go index e2dfe9ba1..5d08fb188 100755 --- a/service/compute/instance_pools_usage_test.go +++ b/service/compute/instance_pools_usage_test.go @@ -127,7 +127,7 @@ func ExampleInstancePoolsAPI_Get_instancePools() { } -func ExampleInstancePoolsAPI_ListAll_instancePools() { +func ExampleInstancePoolsAPI_List_instancePools() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/compute/instance_profiles_usage_test.go b/service/compute/instance_profiles_usage_test.go index d85aa3ab9..44823c7e0 100755 --- a/service/compute/instance_profiles_usage_test.go +++ b/service/compute/instance_profiles_usage_test.go @@ -50,7 +50,7 @@ func ExampleInstanceProfilesAPI_Edit_awsInstanceProfiles() { } -func ExampleInstanceProfilesAPI_ListAll_awsInstanceProfiles() { +func ExampleInstanceProfilesAPI_List_awsInstanceProfiles() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/compute/libraries_usage_test.go b/service/compute/libraries_usage_test.go index 538b4c827..4351b1d00 100755 --- a/service/compute/libraries_usage_test.go +++ b/service/compute/libraries_usage_test.go @@ -11,7 +11,7 @@ import ( "github.com/databricks/databricks-sdk-go/service/compute" ) -func ExampleLibrariesAPI_Update_libraries() { +func ExampleLibrariesAPI_UpdateAndWait_libraries() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/compute/policy_families_usage_test.go b/service/compute/policy_families_usage_test.go index 761fd125f..43f21080c 100755 --- a/service/compute/policy_families_usage_test.go +++ b/service/compute/policy_families_usage_test.go @@ -34,7 +34,7 @@ func ExamplePolicyFamiliesAPI_Get_clusterPolicyFamilies() { } -func ExamplePolicyFamiliesAPI_ListAll_clusterPolicyFamilies() { +func ExamplePolicyFamiliesAPI_List_clusterPolicyFamilies() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/iam/service_principals_usage_test.go b/service/iam/service_principals_usage_test.go index 159ecfc91..7ec3da4aa 100755 --- a/service/iam/service_principals_usage_test.go +++ b/service/iam/service_principals_usage_test.go @@ -177,7 +177,7 @@ func ExampleServicePrincipalsAPI_Get_servicePrincipalsOnAws() { } -func ExampleServicePrincipalsAPI_ListAll_accountServicePrincipal() { +func ExampleServicePrincipalsAPI_List_accountServicePrincipal() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { @@ -218,7 +218,7 @@ func ExampleServicePrincipalsAPI_ListAll_accountServicePrincipal() { } -func ExampleServicePrincipalsAPI_ListAll_servicePrincipalsOnAws() { +func ExampleServicePrincipalsAPI_List_servicePrincipalsOnAws() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/iam/users_usage_test.go b/service/iam/users_usage_test.go index c1326b45e..f7eb97825 100755 --- a/service/iam/users_usage_test.go +++ b/service/iam/users_usage_test.go @@ -203,7 +203,7 @@ func ExampleUsersAPI_Get_accountUsers() { } -func ExampleUsersAPI_ListAll_workspaceUsers() { +func ExampleUsersAPI_List_workspaceUsers() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/iam/workspace_assignment_usage_test.go b/service/iam/workspace_assignment_usage_test.go index 3ea024d3f..8b8f32d02 100755 --- a/service/iam/workspace_assignment_usage_test.go +++ b/service/iam/workspace_assignment_usage_test.go @@ -15,7 +15,7 @@ import ( "github.com/databricks/databricks-sdk-go/service/iam" ) -func ExampleWorkspaceAssignmentAPI_ListAll_workspaceAssignmentOnAws() { +func ExampleWorkspaceAssignmentAPI_List_workspaceAssignmentOnAws() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/jobs/jobs_usage_test.go b/service/jobs/jobs_usage_test.go index d05292d5b..8e3e690f8 100755 --- a/service/jobs/jobs_usage_test.go +++ b/service/jobs/jobs_usage_test.go @@ -365,7 +365,7 @@ func ExampleJobsAPI_GetRunOutput_jobsApiFullIntegration() { } -func ExampleJobsAPI_ListAll_jobsApiFullIntegration() { +func ExampleJobsAPI_List_jobsApiFullIntegration() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/provisioning/credentials_usage_test.go b/service/provisioning/credentials_usage_test.go index a3da09222..ae6e15797 100755 --- a/service/provisioning/credentials_usage_test.go +++ b/service/provisioning/credentials_usage_test.go @@ -136,7 +136,7 @@ func ExampleCredentialsAPI_Get_credentials() { } -func ExampleCredentialsAPI_ListAll_credentials() { +func ExampleCredentialsAPI_List_credentials() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/provisioning/encryption_keys_usage_test.go b/service/provisioning/encryption_keys_usage_test.go index 9b7918dfd..6730f9d3c 100755 --- a/service/provisioning/encryption_keys_usage_test.go +++ b/service/provisioning/encryption_keys_usage_test.go @@ -74,7 +74,7 @@ func ExampleEncryptionKeysAPI_Get_encryptionKeys() { } -func ExampleEncryptionKeysAPI_ListAll_encryptionKeys() { +func ExampleEncryptionKeysAPI_List_encryptionKeys() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/provisioning/networks_usage_test.go b/service/provisioning/networks_usage_test.go index bf3f34c4d..35acbc57d 100755 --- a/service/provisioning/networks_usage_test.go +++ b/service/provisioning/networks_usage_test.go @@ -59,7 +59,7 @@ func ExampleNetworksAPI_Get_networks() { } -func ExampleNetworksAPI_ListAll_networks() { +func ExampleNetworksAPI_List_networks() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/provisioning/private_access_usage_test.go b/service/provisioning/private_access_usage_test.go index 13d89ec7e..c15d96d9f 100755 --- a/service/provisioning/private_access_usage_test.go +++ b/service/provisioning/private_access_usage_test.go @@ -70,7 +70,7 @@ func ExamplePrivateAccessAPI_Get_privateAccess() { } -func ExamplePrivateAccessAPI_ListAll_privateAccess() { +func ExamplePrivateAccessAPI_List_privateAccess() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/provisioning/storage_usage_test.go b/service/provisioning/storage_usage_test.go index 0c2738918..c2ca34d13 100755 --- a/service/provisioning/storage_usage_test.go +++ b/service/provisioning/storage_usage_test.go @@ -114,7 +114,7 @@ func ExampleStorageAPI_Get_storage() { } -func ExampleStorageAPI_ListAll_storage() { +func ExampleStorageAPI_List_storage() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/provisioning/vpc_endpoints_usage_test.go b/service/provisioning/vpc_endpoints_usage_test.go index c13806d6a..1a776259b 100755 --- a/service/provisioning/vpc_endpoints_usage_test.go +++ b/service/provisioning/vpc_endpoints_usage_test.go @@ -72,7 +72,7 @@ func ExampleVpcEndpointsAPI_Get_vpcEndpoints() { } -func ExampleVpcEndpointsAPI_ListAll_vpcEndpoints() { +func ExampleVpcEndpointsAPI_List_vpcEndpoints() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/provisioning/workspaces_usage_test.go b/service/provisioning/workspaces_usage_test.go index e50e4c98c..813c40ca5 100755 --- a/service/provisioning/workspaces_usage_test.go +++ b/service/provisioning/workspaces_usage_test.go @@ -138,7 +138,7 @@ func ExampleWorkspacesAPI_Get_workspaces() { } -func ExampleWorkspacesAPI_ListAll_workspaces() { +func ExampleWorkspacesAPI_List_workspaces() { ctx := context.Background() a, err := databricks.NewAccountClient() if err != nil { diff --git a/service/settings/ip_access_lists_usage_test.go b/service/settings/ip_access_lists_usage_test.go index 55aa19fc1..e8359b696 100755 --- a/service/settings/ip_access_lists_usage_test.go +++ b/service/settings/ip_access_lists_usage_test.go @@ -71,7 +71,7 @@ func ExampleIpAccessListsAPI_Get_ipAccessLists() { } -func ExampleIpAccessListsAPI_ListAll_ipAccessLists() { +func ExampleIpAccessListsAPI_List_ipAccessLists() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/settings/token_management_usage_test.go b/service/settings/token_management_usage_test.go index cdc1baccb..388b4a7dc 100755 --- a/service/settings/token_management_usage_test.go +++ b/service/settings/token_management_usage_test.go @@ -112,7 +112,7 @@ func ExampleTokenManagementAPI_Get_createOboTokenOnAws() { } -func ExampleTokenManagementAPI_ListAll_createOboTokenOnAws() { +func ExampleTokenManagementAPI_List_createOboTokenOnAws() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/settings/tokens_usage_test.go b/service/settings/tokens_usage_test.go index ccd8983fe..190d0646c 100755 --- a/service/settings/tokens_usage_test.go +++ b/service/settings/tokens_usage_test.go @@ -38,7 +38,7 @@ func ExampleTokensAPI_Create_tokens() { } -func ExampleTokensAPI_Get_tokens() { +func ExampleTokensAPI_GetByComment_tokens() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { @@ -69,7 +69,7 @@ func ExampleTokensAPI_Get_tokens() { } -func ExampleTokensAPI_ListAll_tokens() { +func ExampleTokensAPI_List_tokens() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sharing/providers_usage_test.go b/service/sharing/providers_usage_test.go index d8ce5613e..9000a6abf 100755 --- a/service/sharing/providers_usage_test.go +++ b/service/sharing/providers_usage_test.go @@ -82,7 +82,7 @@ func ExampleProvidersAPI_Get_providers() { } -func ExampleProvidersAPI_ListAll_providers() { +func ExampleProvidersAPI_List_providers() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sharing/recipients_usage_test.go b/service/sharing/recipients_usage_test.go index 0d312454c..f01913bd3 100755 --- a/service/sharing/recipients_usage_test.go +++ b/service/sharing/recipients_usage_test.go @@ -66,7 +66,7 @@ func ExampleRecipientsAPI_Get_recipients() { } -func ExampleRecipientsAPI_ListAll_recipients() { +func ExampleRecipientsAPI_List_recipients() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sharing/shares_usage_test.go b/service/sharing/shares_usage_test.go index fe2015082..e3fdfc802 100755 --- a/service/sharing/shares_usage_test.go +++ b/service/sharing/shares_usage_test.go @@ -69,7 +69,7 @@ func ExampleSharesAPI_Get_shares() { } -func ExampleSharesAPI_ListAll_shares() { +func ExampleSharesAPI_List_shares() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sql/alerts_usage_test.go b/service/sql/alerts_usage_test.go index f919e7a11..e8156a24b 100755 --- a/service/sql/alerts_usage_test.go +++ b/service/sql/alerts_usage_test.go @@ -145,7 +145,7 @@ func ExampleAlertsAPI_Get_alerts() { } -func ExampleAlertsAPI_ListAll_alerts() { +func ExampleAlertsAPI_List_alerts() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sql/dashboards_usage_test.go b/service/sql/dashboards_usage_test.go index 19e3809cf..32c95a5ef 100755 --- a/service/sql/dashboards_usage_test.go +++ b/service/sql/dashboards_usage_test.go @@ -96,7 +96,7 @@ func ExampleDashboardsAPI_Get_dashboards() { } -func ExampleDashboardsAPI_ListAll_dashboards() { +func ExampleDashboardsAPI_List_dashboards() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sql/data_sources_usage_test.go b/service/sql/data_sources_usage_test.go index 7a683b48e..613b063e9 100755 --- a/service/sql/data_sources_usage_test.go +++ b/service/sql/data_sources_usage_test.go @@ -9,7 +9,7 @@ import ( "github.com/databricks/databricks-sdk-go/logger" ) -func ExampleDataSourcesAPI_ListAll_queries() { +func ExampleDataSourcesAPI_List_queries() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { @@ -24,7 +24,7 @@ func ExampleDataSourcesAPI_ListAll_queries() { } -func ExampleDataSourcesAPI_ListAll_alerts() { +func ExampleDataSourcesAPI_List_alerts() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sql/query_history_usage_test.go b/service/sql/query_history_usage_test.go index 6352821ee..5ef05920d 100755 --- a/service/sql/query_history_usage_test.go +++ b/service/sql/query_history_usage_test.go @@ -10,7 +10,7 @@ import ( "github.com/databricks/databricks-sdk-go/service/sql" ) -func ExampleQueryHistoryAPI_ListAll_sqlQueryHistory() { +func ExampleQueryHistoryAPI_List_sqlQueryHistory() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sql/statement_execution_usage_test.go b/service/sql/statement_execution_usage_test.go index a88bccf68..4a857d055 100755 --- a/service/sql/statement_execution_usage_test.go +++ b/service/sql/statement_execution_usage_test.go @@ -15,7 +15,7 @@ import ( "github.com/databricks/databricks-sdk-go/service/sql" ) -func ExampleStatementExecutionAPI_Execute_tables() { +func ExampleStatementExecutionAPI_ExecuteAndWait_tables() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { @@ -67,7 +67,7 @@ func ExampleStatementExecutionAPI_Execute_tables() { } -func ExampleStatementExecutionAPI_Execute_shares() { +func ExampleStatementExecutionAPI_ExecuteAndWait_shares() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/sql/warehouses_usage_test.go b/service/sql/warehouses_usage_test.go index 6eb2f60fc..d01855729 100755 --- a/service/sql/warehouses_usage_test.go +++ b/service/sql/warehouses_usage_test.go @@ -129,7 +129,7 @@ func ExampleWarehousesAPI_Get_sqlWarehouses() { } -func ExampleWarehousesAPI_ListAll_sqlWarehouses() { +func ExampleWarehousesAPI_List_sqlWarehouses() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/workspace/git_credentials_usage_test.go b/service/workspace/git_credentials_usage_test.go index 7a91ecbcf..53b6fd7c1 100755 --- a/service/workspace/git_credentials_usage_test.go +++ b/service/workspace/git_credentials_usage_test.go @@ -71,7 +71,7 @@ func ExampleGitCredentialsAPI_Get_gitCredentials() { } -func ExampleGitCredentialsAPI_ListAll_gitCredentials() { +func ExampleGitCredentialsAPI_List_gitCredentials() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/workspace/repos_usage_test.go b/service/workspace/repos_usage_test.go index 0aa2d3460..133b6e53d 100755 --- a/service/workspace/repos_usage_test.go +++ b/service/workspace/repos_usage_test.go @@ -75,7 +75,7 @@ func ExampleReposAPI_Get_repos() { } -func ExampleReposAPI_ListAll_repos() { +func ExampleReposAPI_List_repos() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil { diff --git a/service/workspace/workspace_usage_test.go b/service/workspace/workspace_usage_test.go index 083fe60b5..72b6f6570 100755 --- a/service/workspace/workspace_usage_test.go +++ b/service/workspace/workspace_usage_test.go @@ -203,7 +203,7 @@ func ExampleWorkspaceAPI_Import_workspaceIntegration() { } -func ExampleWorkspaceAPI_ListAll_workspaceIntegration() { +func ExampleWorkspaceAPI_List_workspaceIntegration() { ctx := context.Background() w, err := databricks.NewWorkspaceClient() if err != nil {