mocks

package
v0.42.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountClient

type MockAccountClient struct {
	AccountClient *databricks.AccountClient
}

func NewMockAccountClient

func NewMockAccountClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountClient

NewMockAccountClient creates new mocked version of Databricks SDK client for Accounts which can be used for testing.

func (*MockAccountClient) GetMockAccountAccessControlAPI

func (m *MockAccountClient) GetMockAccountAccessControlAPI() *iam.MockAccountAccessControlInterface

func (*MockAccountClient) GetMockAccountGroupsAPI

func (m *MockAccountClient) GetMockAccountGroupsAPI() *iam.MockAccountGroupsInterface

func (*MockAccountClient) GetMockAccountIpAccessListsAPI

func (m *MockAccountClient) GetMockAccountIpAccessListsAPI() *settings.MockAccountIpAccessListsInterface

func (*MockAccountClient) GetMockAccountMetastoreAssignmentsAPI

func (m *MockAccountClient) GetMockAccountMetastoreAssignmentsAPI() *catalog.MockAccountMetastoreAssignmentsInterface

func (*MockAccountClient) GetMockAccountMetastoresAPI

func (m *MockAccountClient) GetMockAccountMetastoresAPI() *catalog.MockAccountMetastoresInterface

func (*MockAccountClient) GetMockAccountServicePrincipalsAPI

func (m *MockAccountClient) GetMockAccountServicePrincipalsAPI() *iam.MockAccountServicePrincipalsInterface

func (*MockAccountClient) GetMockAccountSettingsAPI

func (m *MockAccountClient) GetMockAccountSettingsAPI() *settings.MockAccountSettingsInterface

func (*MockAccountClient) GetMockAccountStorageCredentialsAPI

func (m *MockAccountClient) GetMockAccountStorageCredentialsAPI() *catalog.MockAccountStorageCredentialsInterface

func (*MockAccountClient) GetMockAccountUsersAPI

func (m *MockAccountClient) GetMockAccountUsersAPI() *iam.MockAccountUsersInterface

func (*MockAccountClient) GetMockBillableUsageAPI

func (m *MockAccountClient) GetMockBillableUsageAPI() *billing.MockBillableUsageInterface

func (*MockAccountClient) GetMockBudgetsAPI

func (m *MockAccountClient) GetMockBudgetsAPI() *billing.MockBudgetsInterface

func (*MockAccountClient) GetMockCredentialsAPI

func (m *MockAccountClient) GetMockCredentialsAPI() *provisioning.MockCredentialsInterface

func (*MockAccountClient) GetMockCspEnablementAccountAPI added in v0.34.0

func (m *MockAccountClient) GetMockCspEnablementAccountAPI() *settings.MockCspEnablementAccountInterface

func (*MockAccountClient) GetMockCustomAppIntegrationAPI

func (m *MockAccountClient) GetMockCustomAppIntegrationAPI() *oauth2.MockCustomAppIntegrationInterface

func (*MockAccountClient) GetMockEncryptionKeysAPI

func (m *MockAccountClient) GetMockEncryptionKeysAPI() *provisioning.MockEncryptionKeysInterface

func (*MockAccountClient) GetMockEsmEnablementAccountAPI added in v0.34.0

func (m *MockAccountClient) GetMockEsmEnablementAccountAPI() *settings.MockEsmEnablementAccountInterface

func (*MockAccountClient) GetMockLogDeliveryAPI

func (m *MockAccountClient) GetMockLogDeliveryAPI() *billing.MockLogDeliveryInterface

func (*MockAccountClient) GetMockNetworkConnectivityAPI

func (m *MockAccountClient) GetMockNetworkConnectivityAPI() *settings.MockNetworkConnectivityInterface

func (*MockAccountClient) GetMockNetworksAPI

func (m *MockAccountClient) GetMockNetworksAPI() *provisioning.MockNetworksInterface

func (*MockAccountClient) GetMockOAuthPublishedAppsAPI

func (m *MockAccountClient) GetMockOAuthPublishedAppsAPI() *oauth2.MockOAuthPublishedAppsInterface

func (*MockAccountClient) GetMockPersonalComputeAPI added in v0.34.0

func (m *MockAccountClient) GetMockPersonalComputeAPI() *settings.MockPersonalComputeInterface

func (*MockAccountClient) GetMockPrivateAccessAPI

func (m *MockAccountClient) GetMockPrivateAccessAPI() *provisioning.MockPrivateAccessInterface

func (*MockAccountClient) GetMockPublishedAppIntegrationAPI

func (m *MockAccountClient) GetMockPublishedAppIntegrationAPI() *oauth2.MockPublishedAppIntegrationInterface

func (*MockAccountClient) GetMockServicePrincipalSecretsAPI

func (m *MockAccountClient) GetMockServicePrincipalSecretsAPI() *oauth2.MockServicePrincipalSecretsInterface

func (*MockAccountClient) GetMockStorageAPI

func (m *MockAccountClient) GetMockStorageAPI() *provisioning.MockStorageInterface

func (*MockAccountClient) GetMockVpcEndpointsAPI

func (m *MockAccountClient) GetMockVpcEndpointsAPI() *provisioning.MockVpcEndpointsInterface

func (*MockAccountClient) GetMockWorkspaceAssignmentAPI

func (m *MockAccountClient) GetMockWorkspaceAssignmentAPI() *iam.MockWorkspaceAssignmentInterface

func (*MockAccountClient) GetMockWorkspacesAPI

func (m *MockAccountClient) GetMockWorkspacesAPI() *provisioning.MockWorkspacesInterface

type MockWorkspaceClient

type MockWorkspaceClient struct {
	WorkspaceClient *databricks.WorkspaceClient
}

func NewMockWorkspaceClient

func NewMockWorkspaceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWorkspaceClient

NewMockWorkspaceClient creates new mocked version of Databricks SDK client for Workspaces which can be used for testing.

func (*MockWorkspaceClient) GetMockAccountAccessControlProxyAPI

func (m *MockWorkspaceClient) GetMockAccountAccessControlProxyAPI() *iam.MockAccountAccessControlProxyInterface

func (*MockWorkspaceClient) GetMockAlertsAPI

func (m *MockWorkspaceClient) GetMockAlertsAPI() *sql.MockAlertsInterface

func (*MockWorkspaceClient) GetMockAppsAPI

func (m *MockWorkspaceClient) GetMockAppsAPI() *serving.MockAppsInterface

func (*MockWorkspaceClient) GetMockArtifactAllowlistsAPI

func (m *MockWorkspaceClient) GetMockArtifactAllowlistsAPI() *catalog.MockArtifactAllowlistsInterface

func (*MockWorkspaceClient) GetMockAutomaticClusterUpdateAPI added in v0.34.0

func (m *MockWorkspaceClient) GetMockAutomaticClusterUpdateAPI() *settings.MockAutomaticClusterUpdateInterface

func (*MockWorkspaceClient) GetMockCatalogsAPI

func (m *MockWorkspaceClient) GetMockCatalogsAPI() *catalog.MockCatalogsInterface

func (*MockWorkspaceClient) GetMockCleanRoomsAPI

func (m *MockWorkspaceClient) GetMockCleanRoomsAPI() *sharing.MockCleanRoomsInterface

func (*MockWorkspaceClient) GetMockClusterPoliciesAPI

func (m *MockWorkspaceClient) GetMockClusterPoliciesAPI() *compute.MockClusterPoliciesInterface

func (*MockWorkspaceClient) GetMockClustersAPI

func (m *MockWorkspaceClient) GetMockClustersAPI() *compute.MockClustersInterface

func (*MockWorkspaceClient) GetMockCommandExecutionAPI

func (m *MockWorkspaceClient) GetMockCommandExecutionAPI() *compute.MockCommandExecutionInterface

func (*MockWorkspaceClient) GetMockComplianceSecurityProfileAPI added in v0.40.0

func (m *MockWorkspaceClient) GetMockComplianceSecurityProfileAPI() *settings.MockComplianceSecurityProfileInterface

func (*MockWorkspaceClient) GetMockConnectionsAPI

func (m *MockWorkspaceClient) GetMockConnectionsAPI() *catalog.MockConnectionsInterface

func (*MockWorkspaceClient) GetMockConsumerFulfillmentsAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockConsumerFulfillmentsAPI() *marketplace.MockConsumerFulfillmentsInterface

func (*MockWorkspaceClient) GetMockConsumerInstallationsAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockConsumerInstallationsAPI() *marketplace.MockConsumerInstallationsInterface

func (*MockWorkspaceClient) GetMockConsumerListingsAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockConsumerListingsAPI() *marketplace.MockConsumerListingsInterface

func (*MockWorkspaceClient) GetMockConsumerPersonalizationRequestsAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockConsumerPersonalizationRequestsAPI() *marketplace.MockConsumerPersonalizationRequestsInterface

func (*MockWorkspaceClient) GetMockConsumerProvidersAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockConsumerProvidersAPI() *marketplace.MockConsumerProvidersInterface

func (*MockWorkspaceClient) GetMockCredentialsManagerAPI

func (m *MockWorkspaceClient) GetMockCredentialsManagerAPI() *settings.MockCredentialsManagerInterface

func (*MockWorkspaceClient) GetMockCurrentUserAPI

func (m *MockWorkspaceClient) GetMockCurrentUserAPI() *iam.MockCurrentUserInterface

func (*MockWorkspaceClient) GetMockDashboardWidgetsAPI

func (m *MockWorkspaceClient) GetMockDashboardWidgetsAPI() *sql.MockDashboardWidgetsInterface

func (*MockWorkspaceClient) GetMockDashboardsAPI

func (m *MockWorkspaceClient) GetMockDashboardsAPI() *sql.MockDashboardsInterface

func (*MockWorkspaceClient) GetMockDataSourcesAPI

func (m *MockWorkspaceClient) GetMockDataSourcesAPI() *sql.MockDataSourcesInterface

func (*MockWorkspaceClient) GetMockDbfsAPI

func (m *MockWorkspaceClient) GetMockDbfsAPI() *files.MockDbfsInterface

func (*MockWorkspaceClient) GetMockDbsqlPermissionsAPI

func (m *MockWorkspaceClient) GetMockDbsqlPermissionsAPI() *sql.MockDbsqlPermissionsInterface

func (*MockWorkspaceClient) GetMockDefaultNamespaceAPI added in v0.34.0

func (m *MockWorkspaceClient) GetMockDefaultNamespaceAPI() *settings.MockDefaultNamespaceInterface

func (*MockWorkspaceClient) GetMockEnhancedSecurityMonitoringAPI added in v0.40.0

func (m *MockWorkspaceClient) GetMockEnhancedSecurityMonitoringAPI() *settings.MockEnhancedSecurityMonitoringInterface

func (*MockWorkspaceClient) GetMockExperimentsAPI

func (m *MockWorkspaceClient) GetMockExperimentsAPI() *ml.MockExperimentsInterface

func (*MockWorkspaceClient) GetMockExternalLocationsAPI

func (m *MockWorkspaceClient) GetMockExternalLocationsAPI() *catalog.MockExternalLocationsInterface

func (*MockWorkspaceClient) GetMockFilesAPI

func (m *MockWorkspaceClient) GetMockFilesAPI() *files.MockFilesInterface

func (*MockWorkspaceClient) GetMockFunctionsAPI

func (m *MockWorkspaceClient) GetMockFunctionsAPI() *catalog.MockFunctionsInterface

func (*MockWorkspaceClient) GetMockGitCredentialsAPI

func (m *MockWorkspaceClient) GetMockGitCredentialsAPI() *workspace.MockGitCredentialsInterface

func (*MockWorkspaceClient) GetMockGlobalInitScriptsAPI

func (m *MockWorkspaceClient) GetMockGlobalInitScriptsAPI() *compute.MockGlobalInitScriptsInterface

func (*MockWorkspaceClient) GetMockGrantsAPI

func (m *MockWorkspaceClient) GetMockGrantsAPI() *catalog.MockGrantsInterface

func (*MockWorkspaceClient) GetMockGroupsAPI

func (m *MockWorkspaceClient) GetMockGroupsAPI() *iam.MockGroupsInterface

func (*MockWorkspaceClient) GetMockInstancePoolsAPI

func (m *MockWorkspaceClient) GetMockInstancePoolsAPI() *compute.MockInstancePoolsInterface

func (*MockWorkspaceClient) GetMockInstanceProfilesAPI

func (m *MockWorkspaceClient) GetMockInstanceProfilesAPI() *compute.MockInstanceProfilesInterface

func (*MockWorkspaceClient) GetMockIpAccessListsAPI

func (m *MockWorkspaceClient) GetMockIpAccessListsAPI() *settings.MockIpAccessListsInterface

func (*MockWorkspaceClient) GetMockJobsAPI

func (m *MockWorkspaceClient) GetMockJobsAPI() *jobs.MockJobsInterface

func (*MockWorkspaceClient) GetMockLakeviewAPI

func (m *MockWorkspaceClient) GetMockLakeviewAPI() *dashboards.MockLakeviewInterface

func (*MockWorkspaceClient) GetMockLibrariesAPI

func (m *MockWorkspaceClient) GetMockLibrariesAPI() *compute.MockLibrariesInterface

func (*MockWorkspaceClient) GetMockMetastoresAPI

func (m *MockWorkspaceClient) GetMockMetastoresAPI() *catalog.MockMetastoresInterface

func (*MockWorkspaceClient) GetMockModelRegistryAPI

func (m *MockWorkspaceClient) GetMockModelRegistryAPI() *ml.MockModelRegistryInterface

func (*MockWorkspaceClient) GetMockModelVersionsAPI

func (m *MockWorkspaceClient) GetMockModelVersionsAPI() *catalog.MockModelVersionsInterface

func (*MockWorkspaceClient) GetMockOnlineTablesAPI added in v0.33.0

func (m *MockWorkspaceClient) GetMockOnlineTablesAPI() *catalog.MockOnlineTablesInterface

func (*MockWorkspaceClient) GetMockPermissionMigrationAPI added in v0.34.0

func (m *MockWorkspaceClient) GetMockPermissionMigrationAPI() *iam.MockPermissionMigrationInterface

func (*MockWorkspaceClient) GetMockPermissionsAPI

func (m *MockWorkspaceClient) GetMockPermissionsAPI() *iam.MockPermissionsInterface

func (*MockWorkspaceClient) GetMockPipelinesAPI

func (m *MockWorkspaceClient) GetMockPipelinesAPI() *pipelines.MockPipelinesInterface

func (*MockWorkspaceClient) GetMockPolicyFamiliesAPI

func (m *MockWorkspaceClient) GetMockPolicyFamiliesAPI() *compute.MockPolicyFamiliesInterface

func (*MockWorkspaceClient) GetMockProviderExchangeFiltersAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockProviderExchangeFiltersAPI() *marketplace.MockProviderExchangeFiltersInterface

func (*MockWorkspaceClient) GetMockProviderExchangesAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockProviderExchangesAPI() *marketplace.MockProviderExchangesInterface

func (*MockWorkspaceClient) GetMockProviderFilesAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockProviderFilesAPI() *marketplace.MockProviderFilesInterface

func (*MockWorkspaceClient) GetMockProviderListingsAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockProviderListingsAPI() *marketplace.MockProviderListingsInterface

func (*MockWorkspaceClient) GetMockProviderPersonalizationRequestsAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockProviderPersonalizationRequestsAPI() *marketplace.MockProviderPersonalizationRequestsInterface

func (*MockWorkspaceClient) GetMockProviderProviderAnalyticsDashboardsAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockProviderProviderAnalyticsDashboardsAPI() *marketplace.MockProviderProviderAnalyticsDashboardsInterface

func (*MockWorkspaceClient) GetMockProviderProvidersAPI added in v0.38.0

func (m *MockWorkspaceClient) GetMockProviderProvidersAPI() *marketplace.MockProviderProvidersInterface

func (*MockWorkspaceClient) GetMockProvidersAPI

func (m *MockWorkspaceClient) GetMockProvidersAPI() *sharing.MockProvidersInterface

func (*MockWorkspaceClient) GetMockQualityMonitorsAPI added in v0.41.0

func (m *MockWorkspaceClient) GetMockQualityMonitorsAPI() *catalog.MockQualityMonitorsInterface

func (*MockWorkspaceClient) GetMockQueriesAPI

func (m *MockWorkspaceClient) GetMockQueriesAPI() *sql.MockQueriesInterface

func (*MockWorkspaceClient) GetMockQueryHistoryAPI

func (m *MockWorkspaceClient) GetMockQueryHistoryAPI() *sql.MockQueryHistoryInterface

func (*MockWorkspaceClient) GetMockQueryVisualizationsAPI

func (m *MockWorkspaceClient) GetMockQueryVisualizationsAPI() *sql.MockQueryVisualizationsInterface

func (*MockWorkspaceClient) GetMockRecipientActivationAPI

func (m *MockWorkspaceClient) GetMockRecipientActivationAPI() *sharing.MockRecipientActivationInterface

func (*MockWorkspaceClient) GetMockRecipientsAPI

func (m *MockWorkspaceClient) GetMockRecipientsAPI() *sharing.MockRecipientsInterface

func (*MockWorkspaceClient) GetMockRegisteredModelsAPI

func (m *MockWorkspaceClient) GetMockRegisteredModelsAPI() *catalog.MockRegisteredModelsInterface

func (*MockWorkspaceClient) GetMockReposAPI

func (m *MockWorkspaceClient) GetMockReposAPI() *workspace.MockReposInterface

func (*MockWorkspaceClient) GetMockRestrictWorkspaceAdminsAPI added in v0.34.0

func (m *MockWorkspaceClient) GetMockRestrictWorkspaceAdminsAPI() *settings.MockRestrictWorkspaceAdminsInterface

func (*MockWorkspaceClient) GetMockSchemasAPI

func (m *MockWorkspaceClient) GetMockSchemasAPI() *catalog.MockSchemasInterface

func (*MockWorkspaceClient) GetMockSecretsAPI

func (m *MockWorkspaceClient) GetMockSecretsAPI() *workspace.MockSecretsInterface

func (*MockWorkspaceClient) GetMockServicePrincipalsAPI

func (m *MockWorkspaceClient) GetMockServicePrincipalsAPI() *iam.MockServicePrincipalsInterface

func (*MockWorkspaceClient) GetMockServingEndpointsAPI

func (m *MockWorkspaceClient) GetMockServingEndpointsAPI() *serving.MockServingEndpointsInterface

func (*MockWorkspaceClient) GetMockSettingsAPI

func (m *MockWorkspaceClient) GetMockSettingsAPI() *settings.MockSettingsInterface

func (*MockWorkspaceClient) GetMockSharesAPI

func (m *MockWorkspaceClient) GetMockSharesAPI() *sharing.MockSharesInterface

func (*MockWorkspaceClient) GetMockStatementExecutionAPI

func (m *MockWorkspaceClient) GetMockStatementExecutionAPI() *sql.MockStatementExecutionInterface

func (*MockWorkspaceClient) GetMockStorageCredentialsAPI

func (m *MockWorkspaceClient) GetMockStorageCredentialsAPI() *catalog.MockStorageCredentialsInterface

func (*MockWorkspaceClient) GetMockSystemSchemasAPI

func (m *MockWorkspaceClient) GetMockSystemSchemasAPI() *catalog.MockSystemSchemasInterface

func (*MockWorkspaceClient) GetMockTableConstraintsAPI

func (m *MockWorkspaceClient) GetMockTableConstraintsAPI() *catalog.MockTableConstraintsInterface

func (*MockWorkspaceClient) GetMockTablesAPI

func (m *MockWorkspaceClient) GetMockTablesAPI() *catalog.MockTablesInterface

func (*MockWorkspaceClient) GetMockTokenManagementAPI

func (m *MockWorkspaceClient) GetMockTokenManagementAPI() *settings.MockTokenManagementInterface

func (*MockWorkspaceClient) GetMockTokensAPI

func (m *MockWorkspaceClient) GetMockTokensAPI() *settings.MockTokensInterface

func (*MockWorkspaceClient) GetMockUsersAPI

func (m *MockWorkspaceClient) GetMockUsersAPI() *iam.MockUsersInterface

func (*MockWorkspaceClient) GetMockVectorSearchEndpointsAPI

func (m *MockWorkspaceClient) GetMockVectorSearchEndpointsAPI() *vectorsearch.MockVectorSearchEndpointsInterface

func (*MockWorkspaceClient) GetMockVectorSearchIndexesAPI

func (m *MockWorkspaceClient) GetMockVectorSearchIndexesAPI() *vectorsearch.MockVectorSearchIndexesInterface

func (*MockWorkspaceClient) GetMockVolumesAPI

func (m *MockWorkspaceClient) GetMockVolumesAPI() *catalog.MockVolumesInterface

func (*MockWorkspaceClient) GetMockWarehousesAPI

func (m *MockWorkspaceClient) GetMockWarehousesAPI() *sql.MockWarehousesInterface

func (*MockWorkspaceClient) GetMockWorkspaceAPI

func (m *MockWorkspaceClient) GetMockWorkspaceAPI() *workspace.MockWorkspaceInterface

func (*MockWorkspaceClient) GetMockWorkspaceBindingsAPI

func (m *MockWorkspaceClient) GetMockWorkspaceBindingsAPI() *catalog.MockWorkspaceBindingsInterface

func (*MockWorkspaceClient) GetMockWorkspaceConfAPI

func (m *MockWorkspaceClient) GetMockWorkspaceConfAPI() *settings.MockWorkspaceConfInterface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL