automock

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationService

type ApplicationService struct {
	mock.Mock
}

ApplicationService is an autogenerated mock type for the ApplicationService type

func NewApplicationService

func NewApplicationService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApplicationService

NewApplicationService creates a new instance of ApplicationService. 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 (*ApplicationService) ListAll

func (_m *ApplicationService) ListAll(ctx context.Context) ([]*model.Application, error)

ListAll provides a mock function with given fields: ctx

type BusinessTenantMappingService

type BusinessTenantMappingService struct {
	mock.Mock
}

BusinessTenantMappingService is an autogenerated mock type for the BusinessTenantMappingService type

func NewBusinessTenantMappingService

func NewBusinessTenantMappingService(t interface {
	mock.TestingT
	Cleanup(func())
}) *BusinessTenantMappingService

NewBusinessTenantMappingService creates a new instance of BusinessTenantMappingService. 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 (*BusinessTenantMappingService) CreateTenantAccessForResource

func (_m *BusinessTenantMappingService) CreateTenantAccessForResource(ctx context.Context, tenantAccess *model.TenantAccess) error

CreateTenantAccessForResource provides a mock function with given fields: ctx, tenantAccess

func (*BusinessTenantMappingService) GetParentsRecursivelyByExternalTenant

func (_m *BusinessTenantMappingService) GetParentsRecursivelyByExternalTenant(ctx context.Context, externalTenant string) ([]*model.BusinessTenantMapping, error)

GetParentsRecursivelyByExternalTenant provides a mock function with given fields: ctx, externalTenant

func (*BusinessTenantMappingService) GetTenantByID

GetTenantByID provides a mock function with given fields: ctx, id

func (*BusinessTenantMappingService) ListByIDs

ListByIDs provides a mock function with given fields: ctx, ids

func (*BusinessTenantMappingService) ListByParentAndType

func (_m *BusinessTenantMappingService) ListByParentAndType(ctx context.Context, parentID string, tenantType tenant.Type) ([]*model.BusinessTenantMapping, error)

ListByParentAndType provides a mock function with given fields: ctx, parentID, tenantType

Jump to

Keyboard shortcuts

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