mocks

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAzureClient

type MockAzureClient struct {
	// contains filtered or unexported fields
}

MockAzureClient is a mock of AzureClient interface.

func NewMockAzureClient

func NewMockAzureClient(ctrl *gomock.Controller) *MockAzureClient

NewMockAzureClient creates a new mock instance.

func (*MockAzureClient) CloseIdleConnections added in v2.1.4

func (m *MockAzureClient) CloseIdleConnections()

CloseIdleConnections mocks base method.

func (*MockAzureClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAzureClient) GetAzureADOrganization

func (m *MockAzureClient) GetAzureADOrganization(arg0 context.Context, arg1 []string) (*azure.Organization, error)

GetAzureADOrganization mocks base method.

func (*MockAzureClient) GetAzureADTenants

func (m *MockAzureClient) GetAzureADTenants(arg0 context.Context, arg1 bool) (azure.TenantList, error)

GetAzureADTenants mocks base method.

func (*MockAzureClient) ListAzureADAppOwners

func (m *MockAzureClient) ListAzureADAppOwners(arg0 context.Context, arg1 string, arg2 query.GraphParams) <-chan client.AzureResult[json.RawMessage]

ListAzureADAppOwners mocks base method.

func (*MockAzureClient) ListAzureADAppRoleAssignments

func (m *MockAzureClient) ListAzureADAppRoleAssignments(arg0 context.Context, arg1 string, arg2 query.GraphParams) <-chan client.AzureResult[azure.AppRoleAssignment]

ListAzureADAppRoleAssignments mocks base method.

func (*MockAzureClient) ListAzureADApps

func (m *MockAzureClient) ListAzureADApps(arg0 context.Context, arg1 query.GraphParams) <-chan client.AzureResult[azure.Application]

ListAzureADApps mocks base method.

func (*MockAzureClient) ListAzureADGroupMembers

func (m *MockAzureClient) ListAzureADGroupMembers(arg0 context.Context, arg1 string, arg2 query.GraphParams) <-chan client.AzureResult[json.RawMessage]

ListAzureADGroupMembers mocks base method.

func (*MockAzureClient) ListAzureADGroupOwners

func (m *MockAzureClient) ListAzureADGroupOwners(arg0 context.Context, arg1 string, arg2 query.GraphParams) <-chan client.AzureResult[json.RawMessage]

ListAzureADGroupOwners mocks base method.

func (*MockAzureClient) ListAzureADGroups

func (m *MockAzureClient) ListAzureADGroups(arg0 context.Context, arg1 query.GraphParams) <-chan client.AzureResult[azure.Group]

ListAzureADGroups mocks base method.

func (*MockAzureClient) ListAzureADRoleAssignments

func (m *MockAzureClient) ListAzureADRoleAssignments(arg0 context.Context, arg1 query.GraphParams) <-chan client.AzureResult[azure.UnifiedRoleAssignment]

ListAzureADRoleAssignments mocks base method.

func (*MockAzureClient) ListAzureADRoles

func (m *MockAzureClient) ListAzureADRoles(arg0 context.Context, arg1 query.GraphParams) <-chan client.AzureResult[azure.Role]

ListAzureADRoles mocks base method.

func (*MockAzureClient) ListAzureADServicePrincipalOwners

func (m *MockAzureClient) ListAzureADServicePrincipalOwners(arg0 context.Context, arg1 string, arg2 query.GraphParams) <-chan client.AzureResult[json.RawMessage]

ListAzureADServicePrincipalOwners mocks base method.

func (*MockAzureClient) ListAzureADServicePrincipals

func (m *MockAzureClient) ListAzureADServicePrincipals(arg0 context.Context, arg1 query.GraphParams) <-chan client.AzureResult[azure.ServicePrincipal]

ListAzureADServicePrincipals mocks base method.

func (*MockAzureClient) ListAzureADTenants

func (m *MockAzureClient) ListAzureADTenants(arg0 context.Context, arg1 bool) <-chan client.AzureResult[azure.Tenant]

ListAzureADTenants mocks base method.

func (*MockAzureClient) ListAzureADUsers

func (m *MockAzureClient) ListAzureADUsers(arg0 context.Context, arg1 query.GraphParams) <-chan client.AzureResult[azure.User]

ListAzureADUsers mocks base method.

func (*MockAzureClient) ListAzureAutomationAccounts

func (m *MockAzureClient) ListAzureAutomationAccounts(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.AutomationAccount]

ListAzureAutomationAccounts mocks base method.

func (*MockAzureClient) ListAzureContainerRegistries

func (m *MockAzureClient) ListAzureContainerRegistries(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.ContainerRegistry]

ListAzureContainerRegistries mocks base method.

func (*MockAzureClient) ListAzureDeviceRegisteredOwners

func (m *MockAzureClient) ListAzureDeviceRegisteredOwners(arg0 context.Context, arg1 string, arg2 query.GraphParams) <-chan client.AzureResult[json.RawMessage]

ListAzureDeviceRegisteredOwners mocks base method.

func (*MockAzureClient) ListAzureDevices

func (m *MockAzureClient) ListAzureDevices(arg0 context.Context, arg1 query.GraphParams) <-chan client.AzureResult[azure.Device]

ListAzureDevices mocks base method.

func (*MockAzureClient) ListAzureFunctionApps

func (m *MockAzureClient) ListAzureFunctionApps(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.FunctionApp]

ListAzureFunctionApps mocks base method.

func (*MockAzureClient) ListAzureKeyVaults

func (m *MockAzureClient) ListAzureKeyVaults(arg0 context.Context, arg1 string, arg2 query.RMParams) <-chan client.AzureResult[azure.KeyVault]

ListAzureKeyVaults mocks base method.

func (*MockAzureClient) ListAzureLogicApps

func (m *MockAzureClient) ListAzureLogicApps(arg0 context.Context, arg1, arg2 string, arg3 int32) <-chan client.AzureResult[azure.LogicApp]

ListAzureLogicApps mocks base method.

func (*MockAzureClient) ListAzureManagedClusters

func (m *MockAzureClient) ListAzureManagedClusters(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.ManagedCluster]

ListAzureManagedClusters mocks base method.

func (*MockAzureClient) ListAzureManagementGroupDescendants

func (m *MockAzureClient) ListAzureManagementGroupDescendants(arg0 context.Context, arg1 string, arg2 int32) <-chan client.AzureResult[azure.DescendantInfo]

ListAzureManagementGroupDescendants mocks base method.

func (*MockAzureClient) ListAzureManagementGroups

func (m *MockAzureClient) ListAzureManagementGroups(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.ManagementGroup]

ListAzureManagementGroups mocks base method.

func (*MockAzureClient) ListAzureResourceGroups

func (m *MockAzureClient) ListAzureResourceGroups(arg0 context.Context, arg1 string, arg2 query.RMParams) <-chan client.AzureResult[azure.ResourceGroup]

ListAzureResourceGroups mocks base method.

func (*MockAzureClient) ListAzureStorageAccounts

func (m *MockAzureClient) ListAzureStorageAccounts(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.StorageAccount]

ListAzureStorageAccounts mocks base method.

func (*MockAzureClient) ListAzureStorageContainers

func (m *MockAzureClient) ListAzureStorageContainers(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string) <-chan client.AzureResult[azure.StorageContainer]

ListAzureStorageContainers mocks base method.

func (*MockAzureClient) ListAzureSubscriptions

func (m *MockAzureClient) ListAzureSubscriptions(arg0 context.Context) <-chan client.AzureResult[azure.Subscription]

ListAzureSubscriptions mocks base method.

func (*MockAzureClient) ListAzureVMScaleSets

func (m *MockAzureClient) ListAzureVMScaleSets(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.VMScaleSet]

ListAzureVMScaleSets mocks base method.

func (*MockAzureClient) ListAzureVirtualMachines

func (m *MockAzureClient) ListAzureVirtualMachines(arg0 context.Context, arg1 string, arg2 query.RMParams) <-chan client.AzureResult[azure.VirtualMachine]

ListAzureVirtualMachines mocks base method.

func (*MockAzureClient) ListAzureWebApps

func (m *MockAzureClient) ListAzureWebApps(arg0 context.Context, arg1 string) <-chan client.AzureResult[azure.WebApp]

ListAzureWebApps mocks base method.

func (*MockAzureClient) ListRoleAssignmentsForResource

func (m *MockAzureClient) ListRoleAssignmentsForResource(arg0 context.Context, arg1, arg2, arg3 string) <-chan client.AzureResult[azure.RoleAssignment]

ListRoleAssignmentsForResource mocks base method.

func (*MockAzureClient) TenantInfo

func (m *MockAzureClient) TenantInfo() azure.Tenant

TenantInfo mocks base method.

type MockAzureClientMockRecorder

type MockAzureClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockAzureClientMockRecorder is the mock recorder for MockAzureClient.

func (*MockAzureClientMockRecorder) CloseIdleConnections added in v2.1.4

func (mr *MockAzureClientMockRecorder) CloseIdleConnections() *gomock.Call

CloseIdleConnections indicates an expected call of CloseIdleConnections.

func (*MockAzureClientMockRecorder) GetAzureADOrganization

func (mr *MockAzureClientMockRecorder) GetAzureADOrganization(arg0, arg1 interface{}) *gomock.Call

GetAzureADOrganization indicates an expected call of GetAzureADOrganization.

func (*MockAzureClientMockRecorder) GetAzureADTenants

func (mr *MockAzureClientMockRecorder) GetAzureADTenants(arg0, arg1 interface{}) *gomock.Call

GetAzureADTenants indicates an expected call of GetAzureADTenants.

func (*MockAzureClientMockRecorder) ListAzureADAppOwners

func (mr *MockAzureClientMockRecorder) ListAzureADAppOwners(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureADAppOwners indicates an expected call of ListAzureADAppOwners.

func (*MockAzureClientMockRecorder) ListAzureADAppRoleAssignments

func (mr *MockAzureClientMockRecorder) ListAzureADAppRoleAssignments(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureADAppRoleAssignments indicates an expected call of ListAzureADAppRoleAssignments.

func (*MockAzureClientMockRecorder) ListAzureADApps

func (mr *MockAzureClientMockRecorder) ListAzureADApps(arg0, arg1 interface{}) *gomock.Call

ListAzureADApps indicates an expected call of ListAzureADApps.

func (*MockAzureClientMockRecorder) ListAzureADGroupMembers

func (mr *MockAzureClientMockRecorder) ListAzureADGroupMembers(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureADGroupMembers indicates an expected call of ListAzureADGroupMembers.

func (*MockAzureClientMockRecorder) ListAzureADGroupOwners

func (mr *MockAzureClientMockRecorder) ListAzureADGroupOwners(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureADGroupOwners indicates an expected call of ListAzureADGroupOwners.

func (*MockAzureClientMockRecorder) ListAzureADGroups

func (mr *MockAzureClientMockRecorder) ListAzureADGroups(arg0, arg1 interface{}) *gomock.Call

ListAzureADGroups indicates an expected call of ListAzureADGroups.

func (*MockAzureClientMockRecorder) ListAzureADRoleAssignments

func (mr *MockAzureClientMockRecorder) ListAzureADRoleAssignments(arg0, arg1 interface{}) *gomock.Call

ListAzureADRoleAssignments indicates an expected call of ListAzureADRoleAssignments.

func (*MockAzureClientMockRecorder) ListAzureADRoles

func (mr *MockAzureClientMockRecorder) ListAzureADRoles(arg0, arg1 interface{}) *gomock.Call

ListAzureADRoles indicates an expected call of ListAzureADRoles.

func (*MockAzureClientMockRecorder) ListAzureADServicePrincipalOwners

func (mr *MockAzureClientMockRecorder) ListAzureADServicePrincipalOwners(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureADServicePrincipalOwners indicates an expected call of ListAzureADServicePrincipalOwners.

func (*MockAzureClientMockRecorder) ListAzureADServicePrincipals

func (mr *MockAzureClientMockRecorder) ListAzureADServicePrincipals(arg0, arg1 interface{}) *gomock.Call

ListAzureADServicePrincipals indicates an expected call of ListAzureADServicePrincipals.

func (*MockAzureClientMockRecorder) ListAzureADTenants

func (mr *MockAzureClientMockRecorder) ListAzureADTenants(arg0, arg1 interface{}) *gomock.Call

ListAzureADTenants indicates an expected call of ListAzureADTenants.

func (*MockAzureClientMockRecorder) ListAzureADUsers

func (mr *MockAzureClientMockRecorder) ListAzureADUsers(arg0, arg1 interface{}) *gomock.Call

ListAzureADUsers indicates an expected call of ListAzureADUsers.

func (*MockAzureClientMockRecorder) ListAzureAutomationAccounts

func (mr *MockAzureClientMockRecorder) ListAzureAutomationAccounts(arg0, arg1 interface{}) *gomock.Call

ListAzureAutomationAccounts indicates an expected call of ListAzureAutomationAccounts.

func (*MockAzureClientMockRecorder) ListAzureContainerRegistries

func (mr *MockAzureClientMockRecorder) ListAzureContainerRegistries(arg0, arg1 interface{}) *gomock.Call

ListAzureContainerRegistries indicates an expected call of ListAzureContainerRegistries.

func (*MockAzureClientMockRecorder) ListAzureDeviceRegisteredOwners

func (mr *MockAzureClientMockRecorder) ListAzureDeviceRegisteredOwners(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureDeviceRegisteredOwners indicates an expected call of ListAzureDeviceRegisteredOwners.

func (*MockAzureClientMockRecorder) ListAzureDevices

func (mr *MockAzureClientMockRecorder) ListAzureDevices(arg0, arg1 interface{}) *gomock.Call

ListAzureDevices indicates an expected call of ListAzureDevices.

func (*MockAzureClientMockRecorder) ListAzureFunctionApps

func (mr *MockAzureClientMockRecorder) ListAzureFunctionApps(arg0, arg1 interface{}) *gomock.Call

ListAzureFunctionApps indicates an expected call of ListAzureFunctionApps.

func (*MockAzureClientMockRecorder) ListAzureKeyVaults

func (mr *MockAzureClientMockRecorder) ListAzureKeyVaults(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureKeyVaults indicates an expected call of ListAzureKeyVaults.

func (*MockAzureClientMockRecorder) ListAzureLogicApps

func (mr *MockAzureClientMockRecorder) ListAzureLogicApps(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListAzureLogicApps indicates an expected call of ListAzureLogicApps.

func (*MockAzureClientMockRecorder) ListAzureManagedClusters

func (mr *MockAzureClientMockRecorder) ListAzureManagedClusters(arg0, arg1 interface{}) *gomock.Call

ListAzureManagedClusters indicates an expected call of ListAzureManagedClusters.

func (*MockAzureClientMockRecorder) ListAzureManagementGroupDescendants

func (mr *MockAzureClientMockRecorder) ListAzureManagementGroupDescendants(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureManagementGroupDescendants indicates an expected call of ListAzureManagementGroupDescendants.

func (*MockAzureClientMockRecorder) ListAzureManagementGroups

func (mr *MockAzureClientMockRecorder) ListAzureManagementGroups(arg0, arg1 interface{}) *gomock.Call

ListAzureManagementGroups indicates an expected call of ListAzureManagementGroups.

func (*MockAzureClientMockRecorder) ListAzureResourceGroups

func (mr *MockAzureClientMockRecorder) ListAzureResourceGroups(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureResourceGroups indicates an expected call of ListAzureResourceGroups.

func (*MockAzureClientMockRecorder) ListAzureStorageAccounts

func (mr *MockAzureClientMockRecorder) ListAzureStorageAccounts(arg0, arg1 interface{}) *gomock.Call

ListAzureStorageAccounts indicates an expected call of ListAzureStorageAccounts.

func (*MockAzureClientMockRecorder) ListAzureStorageContainers

func (mr *MockAzureClientMockRecorder) ListAzureStorageContainers(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

ListAzureStorageContainers indicates an expected call of ListAzureStorageContainers.

func (*MockAzureClientMockRecorder) ListAzureSubscriptions

func (mr *MockAzureClientMockRecorder) ListAzureSubscriptions(arg0 interface{}) *gomock.Call

ListAzureSubscriptions indicates an expected call of ListAzureSubscriptions.

func (*MockAzureClientMockRecorder) ListAzureVMScaleSets

func (mr *MockAzureClientMockRecorder) ListAzureVMScaleSets(arg0, arg1 interface{}) *gomock.Call

ListAzureVMScaleSets indicates an expected call of ListAzureVMScaleSets.

func (*MockAzureClientMockRecorder) ListAzureVirtualMachines

func (mr *MockAzureClientMockRecorder) ListAzureVirtualMachines(arg0, arg1, arg2 interface{}) *gomock.Call

ListAzureVirtualMachines indicates an expected call of ListAzureVirtualMachines.

func (*MockAzureClientMockRecorder) ListAzureWebApps

func (mr *MockAzureClientMockRecorder) ListAzureWebApps(arg0, arg1 interface{}) *gomock.Call

ListAzureWebApps indicates an expected call of ListAzureWebApps.

func (*MockAzureClientMockRecorder) ListRoleAssignmentsForResource

func (mr *MockAzureClientMockRecorder) ListRoleAssignmentsForResource(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListRoleAssignmentsForResource indicates an expected call of ListRoleAssignmentsForResource.

func (*MockAzureClientMockRecorder) TenantInfo

func (mr *MockAzureClientMockRecorder) TenantInfo() *gomock.Call

TenantInfo indicates an expected call of TenantInfo.

Jump to

Keyboard shortcuts

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