Documentation ¶
Index ¶
- Constants
- type MockProviderAPI
- func (_m *MockProviderAPI) EXPECT() *MockProviderAPI_Expecter
- func (_m *MockProviderAPI) GetAppServiceAuthSettings(ctx context.Context, webApp inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) GetAppServiceSiteConfig(ctx context.Context, webApp inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) GetFlexibleTLSVersionConfiguration(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) GetSQLBlobAuditingPolicies(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) GetSubscriptions(ctx context.Context, cycleMetadata cycle.Metadata) (map[string]governance.Subscription, error)
- func (_m *MockProviderAPI) ListAllAssetTypesByName(ctx context.Context, assetsGroup string, assets []string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListAutoProvisioningSettings(ctx context.Context, subscriptionID string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListDiagnosticSettingsAssetTypes(ctx context.Context, cycleMetadata cycle.Metadata, subscriptionIDs []string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListFlexiblePostgresConfigurations(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListFlexiblePostgresFirewallRules(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListKeyVaultDiagnosticSettings(ctx context.Context, vault inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListKeyVaultKeys(ctx context.Context, vault inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListKeyVaultSecrets(ctx context.Context, vault inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListLocations(ctx context.Context, subID string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSQLAdvancedThreatProtectionSettings(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSQLEncryptionProtector(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSQLFirewallRules(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSQLTransparentDataEncryptions(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSecurityContacts(ctx context.Context, subscriptionID string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSinglePostgresConfigurations(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSinglePostgresFirewallRules(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListStorageAccountBlobServices(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListStorageAccountQueueServices(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListStorageAccountQueues(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListStorageAccounts(ctx context.Context, storageAccountsSubscriptionsIds []string) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListStorageAccountsBlobDiagnosticSettings(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListStorageAccountsQueueDiagnosticSettings(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListStorageAccountsTableDiagnosticSettings(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListSubscriptions(ctx context.Context) ([]inventory.AzureAsset, error)
- func (_m *MockProviderAPI) ListTenants(ctx context.Context) ([]inventory.AzureAsset, error)
- type MockProviderAPI_Expecter
- func (_e *MockProviderAPI_Expecter) GetAppServiceAuthSettings(ctx interface{}, webApp interface{}) *MockProviderAPI_GetAppServiceAuthSettings_Call
- func (_e *MockProviderAPI_Expecter) GetAppServiceSiteConfig(ctx interface{}, webApp interface{}) *MockProviderAPI_GetAppServiceSiteConfig_Call
- func (_e *MockProviderAPI_Expecter) GetFlexibleTLSVersionConfiguration(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
- func (_e *MockProviderAPI_Expecter) GetSQLBlobAuditingPolicies(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
- func (_e *MockProviderAPI_Expecter) GetSubscriptions(ctx interface{}, cycleMetadata interface{}) *MockProviderAPI_GetSubscriptions_Call
- func (_e *MockProviderAPI_Expecter) ListAllAssetTypesByName(ctx interface{}, assetsGroup interface{}, assets interface{}) *MockProviderAPI_ListAllAssetTypesByName_Call
- func (_e *MockProviderAPI_Expecter) ListAutoProvisioningSettings(ctx interface{}, subscriptionID interface{}) *MockProviderAPI_ListAutoProvisioningSettings_Call
- func (_e *MockProviderAPI_Expecter) ListDiagnosticSettingsAssetTypes(ctx interface{}, cycleMetadata interface{}, subscriptionIDs interface{}) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
- func (_e *MockProviderAPI_Expecter) ListFlexiblePostgresConfigurations(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
- func (_e *MockProviderAPI_Expecter) ListFlexiblePostgresFirewallRules(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
- func (_e *MockProviderAPI_Expecter) ListKeyVaultDiagnosticSettings(ctx interface{}, vault interface{}) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
- func (_e *MockProviderAPI_Expecter) ListKeyVaultKeys(ctx interface{}, vault interface{}) *MockProviderAPI_ListKeyVaultKeys_Call
- func (_e *MockProviderAPI_Expecter) ListKeyVaultSecrets(ctx interface{}, vault interface{}) *MockProviderAPI_ListKeyVaultSecrets_Call
- func (_e *MockProviderAPI_Expecter) ListLocations(ctx interface{}, subID interface{}) *MockProviderAPI_ListLocations_Call
- func (_e *MockProviderAPI_Expecter) ListSQLAdvancedThreatProtectionSettings(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
- func (_e *MockProviderAPI_Expecter) ListSQLEncryptionProtector(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListSQLEncryptionProtector_Call
- func (_e *MockProviderAPI_Expecter) ListSQLFirewallRules(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListSQLFirewallRules_Call
- func (_e *MockProviderAPI_Expecter) ListSQLTransparentDataEncryptions(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
- func (_e *MockProviderAPI_Expecter) ListSecurityContacts(ctx interface{}, subscriptionID interface{}) *MockProviderAPI_ListSecurityContacts_Call
- func (_e *MockProviderAPI_Expecter) ListSinglePostgresConfigurations(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListSinglePostgresConfigurations_Call
- func (_e *MockProviderAPI_Expecter) ListSinglePostgresFirewallRules(ctx interface{}, subID interface{}, resourceGroup interface{}, ...) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
- func (_e *MockProviderAPI_Expecter) ListStorageAccountBlobServices(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountBlobServices_Call
- func (_e *MockProviderAPI_Expecter) ListStorageAccountQueueServices(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountQueueServices_Call
- func (_e *MockProviderAPI_Expecter) ListStorageAccountQueues(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountQueues_Call
- func (_e *MockProviderAPI_Expecter) ListStorageAccounts(ctx interface{}, storageAccountsSubscriptionsIds interface{}) *MockProviderAPI_ListStorageAccounts_Call
- func (_e *MockProviderAPI_Expecter) ListStorageAccountsBlobDiagnosticSettings(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
- func (_e *MockProviderAPI_Expecter) ListStorageAccountsQueueDiagnosticSettings(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
- func (_e *MockProviderAPI_Expecter) ListStorageAccountsTableDiagnosticSettings(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
- func (_e *MockProviderAPI_Expecter) ListSubscriptions(ctx interface{}) *MockProviderAPI_ListSubscriptions_Call
- func (_e *MockProviderAPI_Expecter) ListTenants(ctx interface{}) *MockProviderAPI_ListTenants_Call
- type MockProviderAPI_GetAppServiceAuthSettings_Call
- func (_c *MockProviderAPI_GetAppServiceAuthSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetAppServiceAuthSettings_Call
- func (_c *MockProviderAPI_GetAppServiceAuthSettings_Call) Run(run func(ctx context.Context, webApp inventory.AzureAsset)) *MockProviderAPI_GetAppServiceAuthSettings_Call
- func (_c *MockProviderAPI_GetAppServiceAuthSettings_Call) RunAndReturn(...) *MockProviderAPI_GetAppServiceAuthSettings_Call
- type MockProviderAPI_GetAppServiceSiteConfig_Call
- func (_c *MockProviderAPI_GetAppServiceSiteConfig_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetAppServiceSiteConfig_Call
- func (_c *MockProviderAPI_GetAppServiceSiteConfig_Call) Run(run func(ctx context.Context, webApp inventory.AzureAsset)) *MockProviderAPI_GetAppServiceSiteConfig_Call
- func (_c *MockProviderAPI_GetAppServiceSiteConfig_Call) RunAndReturn(...) *MockProviderAPI_GetAppServiceSiteConfig_Call
- type MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
- func (_c *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
- func (_c *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) Run(...) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
- func (_c *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) RunAndReturn(...) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
- type MockProviderAPI_GetSQLBlobAuditingPolicies_Call
- func (_c *MockProviderAPI_GetSQLBlobAuditingPolicies_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
- func (_c *MockProviderAPI_GetSQLBlobAuditingPolicies_Call) Run(...) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
- func (_c *MockProviderAPI_GetSQLBlobAuditingPolicies_Call) RunAndReturn(...) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
- type MockProviderAPI_GetSubscriptions_Call
- func (_c *MockProviderAPI_GetSubscriptions_Call) Return(_a0 map[string]governance.Subscription, _a1 error) *MockProviderAPI_GetSubscriptions_Call
- func (_c *MockProviderAPI_GetSubscriptions_Call) Run(run func(ctx context.Context, cycleMetadata cycle.Metadata)) *MockProviderAPI_GetSubscriptions_Call
- func (_c *MockProviderAPI_GetSubscriptions_Call) RunAndReturn(...) *MockProviderAPI_GetSubscriptions_Call
- type MockProviderAPI_ListAllAssetTypesByName_Call
- func (_c *MockProviderAPI_ListAllAssetTypesByName_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListAllAssetTypesByName_Call
- func (_c *MockProviderAPI_ListAllAssetTypesByName_Call) Run(run func(ctx context.Context, assetsGroup string, assets []string)) *MockProviderAPI_ListAllAssetTypesByName_Call
- func (_c *MockProviderAPI_ListAllAssetTypesByName_Call) RunAndReturn(run func(context.Context, string, []string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListAllAssetTypesByName_Call
- type MockProviderAPI_ListAutoProvisioningSettings_Call
- func (_c *MockProviderAPI_ListAutoProvisioningSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListAutoProvisioningSettings_Call
- func (_c *MockProviderAPI_ListAutoProvisioningSettings_Call) Run(run func(ctx context.Context, subscriptionID string)) *MockProviderAPI_ListAutoProvisioningSettings_Call
- func (_c *MockProviderAPI_ListAutoProvisioningSettings_Call) RunAndReturn(run func(context.Context, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListAutoProvisioningSettings_Call
- type MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
- func (_c *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
- func (_c *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) Run(...) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
- func (_c *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) RunAndReturn(...) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
- type MockProviderAPI_ListFlexiblePostgresConfigurations_Call
- func (_c *MockProviderAPI_ListFlexiblePostgresConfigurations_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
- func (_c *MockProviderAPI_ListFlexiblePostgresConfigurations_Call) Run(...) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
- func (_c *MockProviderAPI_ListFlexiblePostgresConfigurations_Call) RunAndReturn(...) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
- type MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
- func (_c *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
- func (_c *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) Run(...) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
- func (_c *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) RunAndReturn(...) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
- type MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) Run(run func(ctx context.Context, vault inventory.AzureAsset)) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) RunAndReturn(...) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
- type MockProviderAPI_ListKeyVaultKeys_Call
- func (_c *MockProviderAPI_ListKeyVaultKeys_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListKeyVaultKeys_Call
- func (_c *MockProviderAPI_ListKeyVaultKeys_Call) Run(run func(ctx context.Context, vault inventory.AzureAsset)) *MockProviderAPI_ListKeyVaultKeys_Call
- func (_c *MockProviderAPI_ListKeyVaultKeys_Call) RunAndReturn(...) *MockProviderAPI_ListKeyVaultKeys_Call
- type MockProviderAPI_ListKeyVaultSecrets_Call
- func (_c *MockProviderAPI_ListKeyVaultSecrets_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListKeyVaultSecrets_Call
- func (_c *MockProviderAPI_ListKeyVaultSecrets_Call) Run(run func(ctx context.Context, vault inventory.AzureAsset)) *MockProviderAPI_ListKeyVaultSecrets_Call
- func (_c *MockProviderAPI_ListKeyVaultSecrets_Call) RunAndReturn(...) *MockProviderAPI_ListKeyVaultSecrets_Call
- type MockProviderAPI_ListLocations_Call
- func (_c *MockProviderAPI_ListLocations_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListLocations_Call
- func (_c *MockProviderAPI_ListLocations_Call) Run(run func(ctx context.Context, subID string)) *MockProviderAPI_ListLocations_Call
- func (_c *MockProviderAPI_ListLocations_Call) RunAndReturn(run func(context.Context, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListLocations_Call
- type MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
- func (_c *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
- func (_c *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call) Run(...) *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
- func (_c *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call) RunAndReturn(...) *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
- type MockProviderAPI_ListSQLEncryptionProtector_Call
- func (_c *MockProviderAPI_ListSQLEncryptionProtector_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSQLEncryptionProtector_Call
- func (_c *MockProviderAPI_ListSQLEncryptionProtector_Call) Run(...) *MockProviderAPI_ListSQLEncryptionProtector_Call
- func (_c *MockProviderAPI_ListSQLEncryptionProtector_Call) RunAndReturn(...) *MockProviderAPI_ListSQLEncryptionProtector_Call
- type MockProviderAPI_ListSQLFirewallRules_Call
- func (_c *MockProviderAPI_ListSQLFirewallRules_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSQLFirewallRules_Call
- func (_c *MockProviderAPI_ListSQLFirewallRules_Call) Run(...) *MockProviderAPI_ListSQLFirewallRules_Call
- func (_c *MockProviderAPI_ListSQLFirewallRules_Call) RunAndReturn(...) *MockProviderAPI_ListSQLFirewallRules_Call
- type MockProviderAPI_ListSQLTransparentDataEncryptions_Call
- func (_c *MockProviderAPI_ListSQLTransparentDataEncryptions_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
- func (_c *MockProviderAPI_ListSQLTransparentDataEncryptions_Call) Run(...) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
- func (_c *MockProviderAPI_ListSQLTransparentDataEncryptions_Call) RunAndReturn(...) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
- type MockProviderAPI_ListSecurityContacts_Call
- func (_c *MockProviderAPI_ListSecurityContacts_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSecurityContacts_Call
- func (_c *MockProviderAPI_ListSecurityContacts_Call) Run(run func(ctx context.Context, subscriptionID string)) *MockProviderAPI_ListSecurityContacts_Call
- func (_c *MockProviderAPI_ListSecurityContacts_Call) RunAndReturn(run func(context.Context, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSecurityContacts_Call
- type MockProviderAPI_ListSinglePostgresConfigurations_Call
- func (_c *MockProviderAPI_ListSinglePostgresConfigurations_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSinglePostgresConfigurations_Call
- func (_c *MockProviderAPI_ListSinglePostgresConfigurations_Call) Run(...) *MockProviderAPI_ListSinglePostgresConfigurations_Call
- func (_c *MockProviderAPI_ListSinglePostgresConfigurations_Call) RunAndReturn(...) *MockProviderAPI_ListSinglePostgresConfigurations_Call
- type MockProviderAPI_ListSinglePostgresFirewallRules_Call
- func (_c *MockProviderAPI_ListSinglePostgresFirewallRules_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
- func (_c *MockProviderAPI_ListSinglePostgresFirewallRules_Call) Run(...) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
- func (_c *MockProviderAPI_ListSinglePostgresFirewallRules_Call) RunAndReturn(...) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
- type MockProviderAPI_ListStorageAccountBlobServices_Call
- func (_c *MockProviderAPI_ListStorageAccountBlobServices_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountBlobServices_Call
- func (_c *MockProviderAPI_ListStorageAccountBlobServices_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountBlobServices_Call
- func (_c *MockProviderAPI_ListStorageAccountBlobServices_Call) RunAndReturn(...) *MockProviderAPI_ListStorageAccountBlobServices_Call
- type MockProviderAPI_ListStorageAccountQueueServices_Call
- func (_c *MockProviderAPI_ListStorageAccountQueueServices_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountQueueServices_Call
- func (_c *MockProviderAPI_ListStorageAccountQueueServices_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountQueueServices_Call
- func (_c *MockProviderAPI_ListStorageAccountQueueServices_Call) RunAndReturn(...) *MockProviderAPI_ListStorageAccountQueueServices_Call
- type MockProviderAPI_ListStorageAccountQueues_Call
- func (_c *MockProviderAPI_ListStorageAccountQueues_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountQueues_Call
- func (_c *MockProviderAPI_ListStorageAccountQueues_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountQueues_Call
- func (_c *MockProviderAPI_ListStorageAccountQueues_Call) RunAndReturn(...) *MockProviderAPI_ListStorageAccountQueues_Call
- type MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call) RunAndReturn(...) *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
- type MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call) RunAndReturn(...) *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
- type MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
- func (_c *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call) RunAndReturn(...) *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
- type MockProviderAPI_ListStorageAccounts_Call
- func (_c *MockProviderAPI_ListStorageAccounts_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccounts_Call
- func (_c *MockProviderAPI_ListStorageAccounts_Call) Run(run func(ctx context.Context, storageAccountsSubscriptionsIds []string)) *MockProviderAPI_ListStorageAccounts_Call
- func (_c *MockProviderAPI_ListStorageAccounts_Call) RunAndReturn(run func(context.Context, []string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccounts_Call
- type MockProviderAPI_ListSubscriptions_Call
- func (_c *MockProviderAPI_ListSubscriptions_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSubscriptions_Call
- func (_c *MockProviderAPI_ListSubscriptions_Call) Run(run func(ctx context.Context)) *MockProviderAPI_ListSubscriptions_Call
- func (_c *MockProviderAPI_ListSubscriptions_Call) RunAndReturn(run func(context.Context) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSubscriptions_Call
- type MockProviderAPI_ListTenants_Call
- func (_c *MockProviderAPI_ListTenants_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListTenants_Call
- func (_c *MockProviderAPI_ListTenants_Call) Run(run func(ctx context.Context)) *MockProviderAPI_ListTenants_Call
- func (_c *MockProviderAPI_ListTenants_Call) RunAndReturn(run func(context.Context) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListTenants_Call
- type MockProviderInitializerAPI
- type MockProviderInitializerAPI_Expecter
- type MockProviderInitializerAPI_Init_Call
- func (_c *MockProviderInitializerAPI_Init_Call) Return(_a0 ProviderAPI, _a1 error) *MockProviderInitializerAPI_Init_Call
- func (_c *MockProviderInitializerAPI_Init_Call) Run(run func(log *logp.Logger, azureConfig auth.AzureFactoryConfig)) *MockProviderInitializerAPI_Init_Call
- func (_c *MockProviderInitializerAPI_Init_Call) RunAndReturn(run func(*logp.Logger, auth.AzureFactoryConfig) (ProviderAPI, error)) *MockProviderInitializerAPI_Init_Call
- type ProviderAPI
- type ProviderInitializer
- type ProviderInitializerAPI
Constants ¶
const GlobalRegion = "global"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProviderAPI ¶
MockProviderAPI is an autogenerated mock type for the ProviderAPI type
func NewMockProviderAPI ¶
func NewMockProviderAPI(t interface { mock.TestingT Cleanup(func()) }) *MockProviderAPI
NewMockProviderAPI creates a new instance of MockProviderAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockProviderAPI) EXPECT ¶
func (_m *MockProviderAPI) EXPECT() *MockProviderAPI_Expecter
func (*MockProviderAPI) GetAppServiceAuthSettings ¶
func (_m *MockProviderAPI) GetAppServiceAuthSettings(ctx context.Context, webApp inventory.AzureAsset) ([]inventory.AzureAsset, error)
GetAppServiceAuthSettings provides a mock function with given fields: ctx, webApp
func (*MockProviderAPI) GetAppServiceSiteConfig ¶
func (_m *MockProviderAPI) GetAppServiceSiteConfig(ctx context.Context, webApp inventory.AzureAsset) ([]inventory.AzureAsset, error)
GetAppServiceSiteConfig provides a mock function with given fields: ctx, webApp
func (*MockProviderAPI) GetFlexibleTLSVersionConfiguration ¶
func (_m *MockProviderAPI) GetFlexibleTLSVersionConfiguration(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
GetFlexibleTLSVersionConfiguration provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) GetSQLBlobAuditingPolicies ¶
func (_m *MockProviderAPI) GetSQLBlobAuditingPolicies(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
GetSQLBlobAuditingPolicies provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) GetSubscriptions ¶
func (_m *MockProviderAPI) GetSubscriptions(ctx context.Context, cycleMetadata cycle.Metadata) (map[string]governance.Subscription, error)
GetSubscriptions provides a mock function with given fields: ctx, cycleMetadata
func (*MockProviderAPI) ListAllAssetTypesByName ¶
func (_m *MockProviderAPI) ListAllAssetTypesByName(ctx context.Context, assetsGroup string, assets []string) ([]inventory.AzureAsset, error)
ListAllAssetTypesByName provides a mock function with given fields: ctx, assetsGroup, assets
func (*MockProviderAPI) ListAutoProvisioningSettings ¶
func (_m *MockProviderAPI) ListAutoProvisioningSettings(ctx context.Context, subscriptionID string) ([]inventory.AzureAsset, error)
ListAutoProvisioningSettings provides a mock function with given fields: ctx, subscriptionID
func (*MockProviderAPI) ListDiagnosticSettingsAssetTypes ¶
func (_m *MockProviderAPI) ListDiagnosticSettingsAssetTypes(ctx context.Context, cycleMetadata cycle.Metadata, subscriptionIDs []string) ([]inventory.AzureAsset, error)
ListDiagnosticSettingsAssetTypes provides a mock function with given fields: ctx, cycleMetadata, subscriptionIDs
func (*MockProviderAPI) ListFlexiblePostgresConfigurations ¶
func (_m *MockProviderAPI) ListFlexiblePostgresConfigurations(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListFlexiblePostgresConfigurations provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListFlexiblePostgresFirewallRules ¶
func (_m *MockProviderAPI) ListFlexiblePostgresFirewallRules(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListFlexiblePostgresFirewallRules provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListKeyVaultDiagnosticSettings ¶
func (_m *MockProviderAPI) ListKeyVaultDiagnosticSettings(ctx context.Context, vault inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListKeyVaultDiagnosticSettings provides a mock function with given fields: ctx, vault
func (*MockProviderAPI) ListKeyVaultKeys ¶
func (_m *MockProviderAPI) ListKeyVaultKeys(ctx context.Context, vault inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListKeyVaultKeys provides a mock function with given fields: ctx, vault
func (*MockProviderAPI) ListKeyVaultSecrets ¶
func (_m *MockProviderAPI) ListKeyVaultSecrets(ctx context.Context, vault inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListKeyVaultSecrets provides a mock function with given fields: ctx, vault
func (*MockProviderAPI) ListLocations ¶
func (_m *MockProviderAPI) ListLocations(ctx context.Context, subID string) ([]inventory.AzureAsset, error)
ListLocations provides a mock function with given fields: ctx, subID
func (*MockProviderAPI) ListSQLAdvancedThreatProtectionSettings ¶
func (_m *MockProviderAPI) ListSQLAdvancedThreatProtectionSettings(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListSQLAdvancedThreatProtectionSettings provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListSQLEncryptionProtector ¶
func (_m *MockProviderAPI) ListSQLEncryptionProtector(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListSQLEncryptionProtector provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListSQLFirewallRules ¶
func (_m *MockProviderAPI) ListSQLFirewallRules(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListSQLFirewallRules provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListSQLTransparentDataEncryptions ¶
func (_m *MockProviderAPI) ListSQLTransparentDataEncryptions(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListSQLTransparentDataEncryptions provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListSecurityContacts ¶
func (_m *MockProviderAPI) ListSecurityContacts(ctx context.Context, subscriptionID string) ([]inventory.AzureAsset, error)
ListSecurityContacts provides a mock function with given fields: ctx, subscriptionID
func (*MockProviderAPI) ListSinglePostgresConfigurations ¶
func (_m *MockProviderAPI) ListSinglePostgresConfigurations(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListSinglePostgresConfigurations provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListSinglePostgresFirewallRules ¶
func (_m *MockProviderAPI) ListSinglePostgresFirewallRules(ctx context.Context, subID string, resourceGroup string, serverName string) ([]inventory.AzureAsset, error)
ListSinglePostgresFirewallRules provides a mock function with given fields: ctx, subID, resourceGroup, serverName
func (*MockProviderAPI) ListStorageAccountBlobServices ¶
func (_m *MockProviderAPI) ListStorageAccountBlobServices(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListStorageAccountBlobServices provides a mock function with given fields: ctx, storageAccounts
func (*MockProviderAPI) ListStorageAccountQueueServices ¶
func (_m *MockProviderAPI) ListStorageAccountQueueServices(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListStorageAccountQueueServices provides a mock function with given fields: ctx, storageAccounts
func (*MockProviderAPI) ListStorageAccountQueues ¶
func (_m *MockProviderAPI) ListStorageAccountQueues(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListStorageAccountQueues provides a mock function with given fields: ctx, storageAccounts
func (*MockProviderAPI) ListStorageAccounts ¶
func (_m *MockProviderAPI) ListStorageAccounts(ctx context.Context, storageAccountsSubscriptionsIds []string) ([]inventory.AzureAsset, error)
ListStorageAccounts provides a mock function with given fields: ctx, storageAccountsSubscriptionsIds
func (*MockProviderAPI) ListStorageAccountsBlobDiagnosticSettings ¶
func (_m *MockProviderAPI) ListStorageAccountsBlobDiagnosticSettings(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListStorageAccountsBlobDiagnosticSettings provides a mock function with given fields: ctx, storageAccounts
func (*MockProviderAPI) ListStorageAccountsQueueDiagnosticSettings ¶
func (_m *MockProviderAPI) ListStorageAccountsQueueDiagnosticSettings(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListStorageAccountsQueueDiagnosticSettings provides a mock function with given fields: ctx, storageAccounts
func (*MockProviderAPI) ListStorageAccountsTableDiagnosticSettings ¶
func (_m *MockProviderAPI) ListStorageAccountsTableDiagnosticSettings(ctx context.Context, storageAccounts []inventory.AzureAsset) ([]inventory.AzureAsset, error)
ListStorageAccountsTableDiagnosticSettings provides a mock function with given fields: ctx, storageAccounts
func (*MockProviderAPI) ListSubscriptions ¶
func (_m *MockProviderAPI) ListSubscriptions(ctx context.Context) ([]inventory.AzureAsset, error)
ListSubscriptions provides a mock function with given fields: ctx
func (*MockProviderAPI) ListTenants ¶
func (_m *MockProviderAPI) ListTenants(ctx context.Context) ([]inventory.AzureAsset, error)
ListTenants provides a mock function with given fields: ctx
type MockProviderAPI_Expecter ¶
type MockProviderAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*MockProviderAPI_Expecter) GetAppServiceAuthSettings ¶
func (_e *MockProviderAPI_Expecter) GetAppServiceAuthSettings(ctx interface{}, webApp interface{}) *MockProviderAPI_GetAppServiceAuthSettings_Call
GetAppServiceAuthSettings is a helper method to define mock.On call
- ctx context.Context
- webApp inventory.AzureAsset
func (*MockProviderAPI_Expecter) GetAppServiceSiteConfig ¶
func (_e *MockProviderAPI_Expecter) GetAppServiceSiteConfig(ctx interface{}, webApp interface{}) *MockProviderAPI_GetAppServiceSiteConfig_Call
GetAppServiceSiteConfig is a helper method to define mock.On call
- ctx context.Context
- webApp inventory.AzureAsset
func (*MockProviderAPI_Expecter) GetFlexibleTLSVersionConfiguration ¶
func (_e *MockProviderAPI_Expecter) GetFlexibleTLSVersionConfiguration(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
GetFlexibleTLSVersionConfiguration is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) GetSQLBlobAuditingPolicies ¶
func (_e *MockProviderAPI_Expecter) GetSQLBlobAuditingPolicies(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
GetSQLBlobAuditingPolicies is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) GetSubscriptions ¶
func (_e *MockProviderAPI_Expecter) GetSubscriptions(ctx interface{}, cycleMetadata interface{}) *MockProviderAPI_GetSubscriptions_Call
GetSubscriptions is a helper method to define mock.On call
- ctx context.Context
- cycleMetadata cycle.Metadata
func (*MockProviderAPI_Expecter) ListAllAssetTypesByName ¶
func (_e *MockProviderAPI_Expecter) ListAllAssetTypesByName(ctx interface{}, assetsGroup interface{}, assets interface{}) *MockProviderAPI_ListAllAssetTypesByName_Call
ListAllAssetTypesByName is a helper method to define mock.On call
- ctx context.Context
- assetsGroup string
- assets []string
func (*MockProviderAPI_Expecter) ListAutoProvisioningSettings ¶
func (_e *MockProviderAPI_Expecter) ListAutoProvisioningSettings(ctx interface{}, subscriptionID interface{}) *MockProviderAPI_ListAutoProvisioningSettings_Call
ListAutoProvisioningSettings is a helper method to define mock.On call
- ctx context.Context
- subscriptionID string
func (*MockProviderAPI_Expecter) ListDiagnosticSettingsAssetTypes ¶
func (_e *MockProviderAPI_Expecter) ListDiagnosticSettingsAssetTypes(ctx interface{}, cycleMetadata interface{}, subscriptionIDs interface{}) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
ListDiagnosticSettingsAssetTypes is a helper method to define mock.On call
- ctx context.Context
- cycleMetadata cycle.Metadata
- subscriptionIDs []string
func (*MockProviderAPI_Expecter) ListFlexiblePostgresConfigurations ¶
func (_e *MockProviderAPI_Expecter) ListFlexiblePostgresConfigurations(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
ListFlexiblePostgresConfigurations is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListFlexiblePostgresFirewallRules ¶
func (_e *MockProviderAPI_Expecter) ListFlexiblePostgresFirewallRules(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
ListFlexiblePostgresFirewallRules is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListKeyVaultDiagnosticSettings ¶
func (_e *MockProviderAPI_Expecter) ListKeyVaultDiagnosticSettings(ctx interface{}, vault interface{}) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
ListKeyVaultDiagnosticSettings is a helper method to define mock.On call
- ctx context.Context
- vault inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListKeyVaultKeys ¶
func (_e *MockProviderAPI_Expecter) ListKeyVaultKeys(ctx interface{}, vault interface{}) *MockProviderAPI_ListKeyVaultKeys_Call
ListKeyVaultKeys is a helper method to define mock.On call
- ctx context.Context
- vault inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListKeyVaultSecrets ¶
func (_e *MockProviderAPI_Expecter) ListKeyVaultSecrets(ctx interface{}, vault interface{}) *MockProviderAPI_ListKeyVaultSecrets_Call
ListKeyVaultSecrets is a helper method to define mock.On call
- ctx context.Context
- vault inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListLocations ¶
func (_e *MockProviderAPI_Expecter) ListLocations(ctx interface{}, subID interface{}) *MockProviderAPI_ListLocations_Call
ListLocations is a helper method to define mock.On call
- ctx context.Context
- subID string
func (*MockProviderAPI_Expecter) ListSQLAdvancedThreatProtectionSettings ¶
func (_e *MockProviderAPI_Expecter) ListSQLAdvancedThreatProtectionSettings(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
ListSQLAdvancedThreatProtectionSettings is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListSQLEncryptionProtector ¶
func (_e *MockProviderAPI_Expecter) ListSQLEncryptionProtector(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListSQLEncryptionProtector_Call
ListSQLEncryptionProtector is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListSQLFirewallRules ¶
func (_e *MockProviderAPI_Expecter) ListSQLFirewallRules(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListSQLFirewallRules_Call
ListSQLFirewallRules is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListSQLTransparentDataEncryptions ¶
func (_e *MockProviderAPI_Expecter) ListSQLTransparentDataEncryptions(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
ListSQLTransparentDataEncryptions is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListSecurityContacts ¶
func (_e *MockProviderAPI_Expecter) ListSecurityContacts(ctx interface{}, subscriptionID interface{}) *MockProviderAPI_ListSecurityContacts_Call
ListSecurityContacts is a helper method to define mock.On call
- ctx context.Context
- subscriptionID string
func (*MockProviderAPI_Expecter) ListSinglePostgresConfigurations ¶
func (_e *MockProviderAPI_Expecter) ListSinglePostgresConfigurations(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListSinglePostgresConfigurations_Call
ListSinglePostgresConfigurations is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListSinglePostgresFirewallRules ¶
func (_e *MockProviderAPI_Expecter) ListSinglePostgresFirewallRules(ctx interface{}, subID interface{}, resourceGroup interface{}, serverName interface{}) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
ListSinglePostgresFirewallRules is a helper method to define mock.On call
- ctx context.Context
- subID string
- resourceGroup string
- serverName string
func (*MockProviderAPI_Expecter) ListStorageAccountBlobServices ¶
func (_e *MockProviderAPI_Expecter) ListStorageAccountBlobServices(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountBlobServices_Call
ListStorageAccountBlobServices is a helper method to define mock.On call
- ctx context.Context
- storageAccounts []inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListStorageAccountQueueServices ¶
func (_e *MockProviderAPI_Expecter) ListStorageAccountQueueServices(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountQueueServices_Call
ListStorageAccountQueueServices is a helper method to define mock.On call
- ctx context.Context
- storageAccounts []inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListStorageAccountQueues ¶
func (_e *MockProviderAPI_Expecter) ListStorageAccountQueues(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountQueues_Call
ListStorageAccountQueues is a helper method to define mock.On call
- ctx context.Context
- storageAccounts []inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListStorageAccounts ¶
func (_e *MockProviderAPI_Expecter) ListStorageAccounts(ctx interface{}, storageAccountsSubscriptionsIds interface{}) *MockProviderAPI_ListStorageAccounts_Call
ListStorageAccounts is a helper method to define mock.On call
- ctx context.Context
- storageAccountsSubscriptionsIds []string
func (*MockProviderAPI_Expecter) ListStorageAccountsBlobDiagnosticSettings ¶
func (_e *MockProviderAPI_Expecter) ListStorageAccountsBlobDiagnosticSettings(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
ListStorageAccountsBlobDiagnosticSettings is a helper method to define mock.On call
- ctx context.Context
- storageAccounts []inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListStorageAccountsQueueDiagnosticSettings ¶
func (_e *MockProviderAPI_Expecter) ListStorageAccountsQueueDiagnosticSettings(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
ListStorageAccountsQueueDiagnosticSettings is a helper method to define mock.On call
- ctx context.Context
- storageAccounts []inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListStorageAccountsTableDiagnosticSettings ¶
func (_e *MockProviderAPI_Expecter) ListStorageAccountsTableDiagnosticSettings(ctx interface{}, storageAccounts interface{}) *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
ListStorageAccountsTableDiagnosticSettings is a helper method to define mock.On call
- ctx context.Context
- storageAccounts []inventory.AzureAsset
func (*MockProviderAPI_Expecter) ListSubscriptions ¶
func (_e *MockProviderAPI_Expecter) ListSubscriptions(ctx interface{}) *MockProviderAPI_ListSubscriptions_Call
ListSubscriptions is a helper method to define mock.On call
- ctx context.Context
func (*MockProviderAPI_Expecter) ListTenants ¶
func (_e *MockProviderAPI_Expecter) ListTenants(ctx interface{}) *MockProviderAPI_ListTenants_Call
ListTenants is a helper method to define mock.On call
- ctx context.Context
type MockProviderAPI_GetAppServiceAuthSettings_Call ¶
MockProviderAPI_GetAppServiceAuthSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAppServiceAuthSettings'
func (*MockProviderAPI_GetAppServiceAuthSettings_Call) Return ¶
func (_c *MockProviderAPI_GetAppServiceAuthSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetAppServiceAuthSettings_Call
func (*MockProviderAPI_GetAppServiceAuthSettings_Call) Run ¶
func (_c *MockProviderAPI_GetAppServiceAuthSettings_Call) Run(run func(ctx context.Context, webApp inventory.AzureAsset)) *MockProviderAPI_GetAppServiceAuthSettings_Call
func (*MockProviderAPI_GetAppServiceAuthSettings_Call) RunAndReturn ¶
func (_c *MockProviderAPI_GetAppServiceAuthSettings_Call) RunAndReturn(run func(context.Context, inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_GetAppServiceAuthSettings_Call
type MockProviderAPI_GetAppServiceSiteConfig_Call ¶
MockProviderAPI_GetAppServiceSiteConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAppServiceSiteConfig'
func (*MockProviderAPI_GetAppServiceSiteConfig_Call) Return ¶
func (_c *MockProviderAPI_GetAppServiceSiteConfig_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetAppServiceSiteConfig_Call
func (*MockProviderAPI_GetAppServiceSiteConfig_Call) Run ¶
func (_c *MockProviderAPI_GetAppServiceSiteConfig_Call) Run(run func(ctx context.Context, webApp inventory.AzureAsset)) *MockProviderAPI_GetAppServiceSiteConfig_Call
func (*MockProviderAPI_GetAppServiceSiteConfig_Call) RunAndReturn ¶
func (_c *MockProviderAPI_GetAppServiceSiteConfig_Call) RunAndReturn(run func(context.Context, inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_GetAppServiceSiteConfig_Call
type MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call ¶
MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFlexibleTLSVersionConfiguration'
func (*MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) Return ¶
func (_c *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
func (*MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) Run ¶
func (_c *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
func (*MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) RunAndReturn ¶
func (_c *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_GetFlexibleTLSVersionConfiguration_Call
type MockProviderAPI_GetSQLBlobAuditingPolicies_Call ¶
MockProviderAPI_GetSQLBlobAuditingPolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSQLBlobAuditingPolicies'
func (*MockProviderAPI_GetSQLBlobAuditingPolicies_Call) Return ¶
func (_c *MockProviderAPI_GetSQLBlobAuditingPolicies_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
func (*MockProviderAPI_GetSQLBlobAuditingPolicies_Call) Run ¶
func (_c *MockProviderAPI_GetSQLBlobAuditingPolicies_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
func (*MockProviderAPI_GetSQLBlobAuditingPolicies_Call) RunAndReturn ¶
func (_c *MockProviderAPI_GetSQLBlobAuditingPolicies_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_GetSQLBlobAuditingPolicies_Call
type MockProviderAPI_GetSubscriptions_Call ¶
MockProviderAPI_GetSubscriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSubscriptions'
func (*MockProviderAPI_GetSubscriptions_Call) Return ¶
func (_c *MockProviderAPI_GetSubscriptions_Call) Return(_a0 map[string]governance.Subscription, _a1 error) *MockProviderAPI_GetSubscriptions_Call
func (*MockProviderAPI_GetSubscriptions_Call) Run ¶
func (_c *MockProviderAPI_GetSubscriptions_Call) Run(run func(ctx context.Context, cycleMetadata cycle.Metadata)) *MockProviderAPI_GetSubscriptions_Call
func (*MockProviderAPI_GetSubscriptions_Call) RunAndReturn ¶
func (_c *MockProviderAPI_GetSubscriptions_Call) RunAndReturn(run func(context.Context, cycle.Metadata) (map[string]governance.Subscription, error)) *MockProviderAPI_GetSubscriptions_Call
type MockProviderAPI_ListAllAssetTypesByName_Call ¶
MockProviderAPI_ListAllAssetTypesByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllAssetTypesByName'
func (*MockProviderAPI_ListAllAssetTypesByName_Call) Return ¶
func (_c *MockProviderAPI_ListAllAssetTypesByName_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListAllAssetTypesByName_Call
func (*MockProviderAPI_ListAllAssetTypesByName_Call) Run ¶
func (_c *MockProviderAPI_ListAllAssetTypesByName_Call) Run(run func(ctx context.Context, assetsGroup string, assets []string)) *MockProviderAPI_ListAllAssetTypesByName_Call
func (*MockProviderAPI_ListAllAssetTypesByName_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListAllAssetTypesByName_Call) RunAndReturn(run func(context.Context, string, []string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListAllAssetTypesByName_Call
type MockProviderAPI_ListAutoProvisioningSettings_Call ¶
MockProviderAPI_ListAutoProvisioningSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAutoProvisioningSettings'
func (*MockProviderAPI_ListAutoProvisioningSettings_Call) Return ¶
func (_c *MockProviderAPI_ListAutoProvisioningSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListAutoProvisioningSettings_Call
func (*MockProviderAPI_ListAutoProvisioningSettings_Call) Run ¶
func (_c *MockProviderAPI_ListAutoProvisioningSettings_Call) Run(run func(ctx context.Context, subscriptionID string)) *MockProviderAPI_ListAutoProvisioningSettings_Call
func (*MockProviderAPI_ListAutoProvisioningSettings_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListAutoProvisioningSettings_Call) RunAndReturn(run func(context.Context, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListAutoProvisioningSettings_Call
type MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call ¶
MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDiagnosticSettingsAssetTypes'
func (*MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) Return ¶
func (_c *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
func (*MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) Run ¶
func (_c *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) Run(run func(ctx context.Context, cycleMetadata cycle.Metadata, subscriptionIDs []string)) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
func (*MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call) RunAndReturn(run func(context.Context, cycle.Metadata, []string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListDiagnosticSettingsAssetTypes_Call
type MockProviderAPI_ListFlexiblePostgresConfigurations_Call ¶
MockProviderAPI_ListFlexiblePostgresConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFlexiblePostgresConfigurations'
func (*MockProviderAPI_ListFlexiblePostgresConfigurations_Call) Return ¶
func (_c *MockProviderAPI_ListFlexiblePostgresConfigurations_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
func (*MockProviderAPI_ListFlexiblePostgresConfigurations_Call) Run ¶
func (_c *MockProviderAPI_ListFlexiblePostgresConfigurations_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
func (*MockProviderAPI_ListFlexiblePostgresConfigurations_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListFlexiblePostgresConfigurations_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListFlexiblePostgresConfigurations_Call
type MockProviderAPI_ListFlexiblePostgresFirewallRules_Call ¶
MockProviderAPI_ListFlexiblePostgresFirewallRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFlexiblePostgresFirewallRules'
func (*MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) Return ¶
func (_c *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
func (*MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) Run ¶
func (_c *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
func (*MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListFlexiblePostgresFirewallRules_Call
type MockProviderAPI_ListKeyVaultDiagnosticSettings_Call ¶
MockProviderAPI_ListKeyVaultDiagnosticSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKeyVaultDiagnosticSettings'
func (*MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) Return ¶
func (_c *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
func (*MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) Run ¶
func (_c *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) Run(run func(ctx context.Context, vault inventory.AzureAsset)) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
func (*MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call) RunAndReturn(run func(context.Context, inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListKeyVaultDiagnosticSettings_Call
type MockProviderAPI_ListKeyVaultKeys_Call ¶
MockProviderAPI_ListKeyVaultKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKeyVaultKeys'
func (*MockProviderAPI_ListKeyVaultKeys_Call) Return ¶
func (_c *MockProviderAPI_ListKeyVaultKeys_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListKeyVaultKeys_Call
func (*MockProviderAPI_ListKeyVaultKeys_Call) Run ¶
func (_c *MockProviderAPI_ListKeyVaultKeys_Call) Run(run func(ctx context.Context, vault inventory.AzureAsset)) *MockProviderAPI_ListKeyVaultKeys_Call
func (*MockProviderAPI_ListKeyVaultKeys_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListKeyVaultKeys_Call) RunAndReturn(run func(context.Context, inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListKeyVaultKeys_Call
type MockProviderAPI_ListKeyVaultSecrets_Call ¶
MockProviderAPI_ListKeyVaultSecrets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKeyVaultSecrets'
func (*MockProviderAPI_ListKeyVaultSecrets_Call) Return ¶
func (_c *MockProviderAPI_ListKeyVaultSecrets_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListKeyVaultSecrets_Call
func (*MockProviderAPI_ListKeyVaultSecrets_Call) Run ¶
func (_c *MockProviderAPI_ListKeyVaultSecrets_Call) Run(run func(ctx context.Context, vault inventory.AzureAsset)) *MockProviderAPI_ListKeyVaultSecrets_Call
func (*MockProviderAPI_ListKeyVaultSecrets_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListKeyVaultSecrets_Call) RunAndReturn(run func(context.Context, inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListKeyVaultSecrets_Call
type MockProviderAPI_ListLocations_Call ¶
MockProviderAPI_ListLocations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLocations'
func (*MockProviderAPI_ListLocations_Call) Return ¶
func (_c *MockProviderAPI_ListLocations_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListLocations_Call
func (*MockProviderAPI_ListLocations_Call) Run ¶
func (_c *MockProviderAPI_ListLocations_Call) Run(run func(ctx context.Context, subID string)) *MockProviderAPI_ListLocations_Call
func (*MockProviderAPI_ListLocations_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListLocations_Call) RunAndReturn(run func(context.Context, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListLocations_Call
type MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call ¶
MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSQLAdvancedThreatProtectionSettings'
func (*MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call) Run ¶
func (_c *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
func (*MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSQLAdvancedThreatProtectionSettings_Call
type MockProviderAPI_ListSQLEncryptionProtector_Call ¶
MockProviderAPI_ListSQLEncryptionProtector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSQLEncryptionProtector'
func (*MockProviderAPI_ListSQLEncryptionProtector_Call) Return ¶
func (_c *MockProviderAPI_ListSQLEncryptionProtector_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSQLEncryptionProtector_Call
func (*MockProviderAPI_ListSQLEncryptionProtector_Call) Run ¶
func (_c *MockProviderAPI_ListSQLEncryptionProtector_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListSQLEncryptionProtector_Call
func (*MockProviderAPI_ListSQLEncryptionProtector_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSQLEncryptionProtector_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSQLEncryptionProtector_Call
type MockProviderAPI_ListSQLFirewallRules_Call ¶
MockProviderAPI_ListSQLFirewallRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSQLFirewallRules'
func (*MockProviderAPI_ListSQLFirewallRules_Call) Return ¶
func (_c *MockProviderAPI_ListSQLFirewallRules_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSQLFirewallRules_Call
func (*MockProviderAPI_ListSQLFirewallRules_Call) Run ¶
func (_c *MockProviderAPI_ListSQLFirewallRules_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListSQLFirewallRules_Call
func (*MockProviderAPI_ListSQLFirewallRules_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSQLFirewallRules_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSQLFirewallRules_Call
type MockProviderAPI_ListSQLTransparentDataEncryptions_Call ¶
MockProviderAPI_ListSQLTransparentDataEncryptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSQLTransparentDataEncryptions'
func (*MockProviderAPI_ListSQLTransparentDataEncryptions_Call) Return ¶
func (_c *MockProviderAPI_ListSQLTransparentDataEncryptions_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
func (*MockProviderAPI_ListSQLTransparentDataEncryptions_Call) Run ¶
func (_c *MockProviderAPI_ListSQLTransparentDataEncryptions_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
func (*MockProviderAPI_ListSQLTransparentDataEncryptions_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSQLTransparentDataEncryptions_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSQLTransparentDataEncryptions_Call
type MockProviderAPI_ListSecurityContacts_Call ¶
MockProviderAPI_ListSecurityContacts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecurityContacts'
func (*MockProviderAPI_ListSecurityContacts_Call) Return ¶
func (_c *MockProviderAPI_ListSecurityContacts_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSecurityContacts_Call
func (*MockProviderAPI_ListSecurityContacts_Call) Run ¶
func (_c *MockProviderAPI_ListSecurityContacts_Call) Run(run func(ctx context.Context, subscriptionID string)) *MockProviderAPI_ListSecurityContacts_Call
func (*MockProviderAPI_ListSecurityContacts_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSecurityContacts_Call) RunAndReturn(run func(context.Context, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSecurityContacts_Call
type MockProviderAPI_ListSinglePostgresConfigurations_Call ¶
MockProviderAPI_ListSinglePostgresConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSinglePostgresConfigurations'
func (*MockProviderAPI_ListSinglePostgresConfigurations_Call) Return ¶
func (_c *MockProviderAPI_ListSinglePostgresConfigurations_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSinglePostgresConfigurations_Call
func (*MockProviderAPI_ListSinglePostgresConfigurations_Call) Run ¶
func (_c *MockProviderAPI_ListSinglePostgresConfigurations_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListSinglePostgresConfigurations_Call
func (*MockProviderAPI_ListSinglePostgresConfigurations_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSinglePostgresConfigurations_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSinglePostgresConfigurations_Call
type MockProviderAPI_ListSinglePostgresFirewallRules_Call ¶
MockProviderAPI_ListSinglePostgresFirewallRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSinglePostgresFirewallRules'
func (*MockProviderAPI_ListSinglePostgresFirewallRules_Call) Return ¶
func (_c *MockProviderAPI_ListSinglePostgresFirewallRules_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
func (*MockProviderAPI_ListSinglePostgresFirewallRules_Call) Run ¶
func (_c *MockProviderAPI_ListSinglePostgresFirewallRules_Call) Run(run func(ctx context.Context, subID string, resourceGroup string, serverName string)) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
func (*MockProviderAPI_ListSinglePostgresFirewallRules_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSinglePostgresFirewallRules_Call) RunAndReturn(run func(context.Context, string, string, string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSinglePostgresFirewallRules_Call
type MockProviderAPI_ListStorageAccountBlobServices_Call ¶
MockProviderAPI_ListStorageAccountBlobServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageAccountBlobServices'
func (*MockProviderAPI_ListStorageAccountBlobServices_Call) Return ¶
func (_c *MockProviderAPI_ListStorageAccountBlobServices_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountBlobServices_Call
func (*MockProviderAPI_ListStorageAccountBlobServices_Call) Run ¶
func (_c *MockProviderAPI_ListStorageAccountBlobServices_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountBlobServices_Call
func (*MockProviderAPI_ListStorageAccountBlobServices_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListStorageAccountBlobServices_Call) RunAndReturn(run func(context.Context, []inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccountBlobServices_Call
type MockProviderAPI_ListStorageAccountQueueServices_Call ¶
MockProviderAPI_ListStorageAccountQueueServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageAccountQueueServices'
func (*MockProviderAPI_ListStorageAccountQueueServices_Call) Return ¶
func (_c *MockProviderAPI_ListStorageAccountQueueServices_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountQueueServices_Call
func (*MockProviderAPI_ListStorageAccountQueueServices_Call) Run ¶
func (_c *MockProviderAPI_ListStorageAccountQueueServices_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountQueueServices_Call
func (*MockProviderAPI_ListStorageAccountQueueServices_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListStorageAccountQueueServices_Call) RunAndReturn(run func(context.Context, []inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccountQueueServices_Call
type MockProviderAPI_ListStorageAccountQueues_Call ¶
MockProviderAPI_ListStorageAccountQueues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageAccountQueues'
func (*MockProviderAPI_ListStorageAccountQueues_Call) Return ¶
func (_c *MockProviderAPI_ListStorageAccountQueues_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccountQueues_Call
func (*MockProviderAPI_ListStorageAccountQueues_Call) Run ¶
func (_c *MockProviderAPI_ListStorageAccountQueues_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountQueues_Call
func (*MockProviderAPI_ListStorageAccountQueues_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListStorageAccountQueues_Call) RunAndReturn(run func(context.Context, []inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccountQueues_Call
type MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call ¶
MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageAccountsBlobDiagnosticSettings'
func (*MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call) Run ¶
func (_c *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
func (*MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call) RunAndReturn(run func(context.Context, []inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccountsBlobDiagnosticSettings_Call
type MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call ¶
MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageAccountsQueueDiagnosticSettings'
func (*MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call) Run ¶
func (_c *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
func (*MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call) RunAndReturn(run func(context.Context, []inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccountsQueueDiagnosticSettings_Call
type MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call ¶
MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageAccountsTableDiagnosticSettings'
func (*MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call) Run ¶
func (_c *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call) Run(run func(ctx context.Context, storageAccounts []inventory.AzureAsset)) *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
func (*MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call) RunAndReturn(run func(context.Context, []inventory.AzureAsset) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccountsTableDiagnosticSettings_Call
type MockProviderAPI_ListStorageAccounts_Call ¶
MockProviderAPI_ListStorageAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageAccounts'
func (*MockProviderAPI_ListStorageAccounts_Call) Return ¶
func (_c *MockProviderAPI_ListStorageAccounts_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListStorageAccounts_Call
func (*MockProviderAPI_ListStorageAccounts_Call) Run ¶
func (_c *MockProviderAPI_ListStorageAccounts_Call) Run(run func(ctx context.Context, storageAccountsSubscriptionsIds []string)) *MockProviderAPI_ListStorageAccounts_Call
func (*MockProviderAPI_ListStorageAccounts_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListStorageAccounts_Call) RunAndReturn(run func(context.Context, []string) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListStorageAccounts_Call
type MockProviderAPI_ListSubscriptions_Call ¶
MockProviderAPI_ListSubscriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSubscriptions'
func (*MockProviderAPI_ListSubscriptions_Call) Return ¶
func (_c *MockProviderAPI_ListSubscriptions_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListSubscriptions_Call
func (*MockProviderAPI_ListSubscriptions_Call) Run ¶
func (_c *MockProviderAPI_ListSubscriptions_Call) Run(run func(ctx context.Context)) *MockProviderAPI_ListSubscriptions_Call
func (*MockProviderAPI_ListSubscriptions_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListSubscriptions_Call) RunAndReturn(run func(context.Context) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListSubscriptions_Call
type MockProviderAPI_ListTenants_Call ¶
MockProviderAPI_ListTenants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTenants'
func (*MockProviderAPI_ListTenants_Call) Return ¶
func (_c *MockProviderAPI_ListTenants_Call) Return(_a0 []inventory.AzureAsset, _a1 error) *MockProviderAPI_ListTenants_Call
func (*MockProviderAPI_ListTenants_Call) Run ¶
func (_c *MockProviderAPI_ListTenants_Call) Run(run func(ctx context.Context)) *MockProviderAPI_ListTenants_Call
func (*MockProviderAPI_ListTenants_Call) RunAndReturn ¶
func (_c *MockProviderAPI_ListTenants_Call) RunAndReturn(run func(context.Context) ([]inventory.AzureAsset, error)) *MockProviderAPI_ListTenants_Call
type MockProviderInitializerAPI ¶
MockProviderInitializerAPI is an autogenerated mock type for the ProviderInitializerAPI type
func NewMockProviderInitializerAPI ¶
func NewMockProviderInitializerAPI(t interface { mock.TestingT Cleanup(func()) }) *MockProviderInitializerAPI
NewMockProviderInitializerAPI creates a new instance of MockProviderInitializerAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockProviderInitializerAPI) EXPECT ¶
func (_m *MockProviderInitializerAPI) EXPECT() *MockProviderInitializerAPI_Expecter
func (*MockProviderInitializerAPI) Init ¶
func (_m *MockProviderInitializerAPI) Init(log *logp.Logger, azureConfig auth.AzureFactoryConfig) (ProviderAPI, error)
Init provides a mock function with given fields: log, azureConfig
type MockProviderInitializerAPI_Expecter ¶
type MockProviderInitializerAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*MockProviderInitializerAPI_Expecter) Init ¶
func (_e *MockProviderInitializerAPI_Expecter) Init(log interface{}, azureConfig interface{}) *MockProviderInitializerAPI_Init_Call
Init is a helper method to define mock.On call
- log *logp.Logger
- azureConfig auth.AzureFactoryConfig
type MockProviderInitializerAPI_Init_Call ¶
MockProviderInitializerAPI_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*MockProviderInitializerAPI_Init_Call) Return ¶
func (_c *MockProviderInitializerAPI_Init_Call) Return(_a0 ProviderAPI, _a1 error) *MockProviderInitializerAPI_Init_Call
func (*MockProviderInitializerAPI_Init_Call) Run ¶
func (_c *MockProviderInitializerAPI_Init_Call) Run(run func(log *logp.Logger, azureConfig auth.AzureFactoryConfig)) *MockProviderInitializerAPI_Init_Call
func (*MockProviderInitializerAPI_Init_Call) RunAndReturn ¶
func (_c *MockProviderInitializerAPI_Init_Call) RunAndReturn(run func(*logp.Logger, auth.AzureFactoryConfig) (ProviderAPI, error)) *MockProviderInitializerAPI_Init_Call
type ProviderAPI ¶
type ProviderAPI interface { governance.ProviderAPI inventory.AppServiceProviderAPI inventory.KeyVaultProviderAPI inventory.MysqlProviderAPI inventory.PostgresqlProviderAPI inventory.ResourceGraphProviderAPI inventory.SQLProviderAPI inventory.SecurityContactsProviderAPI inventory.StorageAccountProviderAPI inventory.SubscriptionProviderAPI }
type ProviderInitializer ¶
type ProviderInitializer struct{}
func (*ProviderInitializer) Init ¶
func (p *ProviderInitializer) Init(log *logp.Logger, azureConfig auth.AzureFactoryConfig) (ProviderAPI, error)
type ProviderInitializerAPI ¶
type ProviderInitializerAPI interface { // Init initializes the Azure clients Init(log *logp.Logger, azureConfig auth.AzureFactoryConfig) (ProviderAPI, error) }