Documentation ¶
Index ¶
- type ApplicationService
- type BusinessTenantMappingService
- func (_m *BusinessTenantMappingService) CreateTenantAccessForResource(ctx context.Context, tenantAccess *model.TenantAccess) error
- func (_m *BusinessTenantMappingService) GetParentsRecursivelyByExternalTenant(ctx context.Context, externalTenant string) ([]*model.BusinessTenantMapping, error)
- func (_m *BusinessTenantMappingService) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
- func (_m *BusinessTenantMappingService) ListByIDs(ctx context.Context, ids []string) ([]*model.BusinessTenantMapping, error)
- func (_m *BusinessTenantMappingService) ListByParentAndType(ctx context.Context, parentID string, tenantType tenant.Type) ([]*model.BusinessTenantMapping, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationService ¶
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 ¶
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 ¶
func (_m *BusinessTenantMappingService) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByID provides a mock function with given fields: ctx, id
func (*BusinessTenantMappingService) ListByIDs ¶
func (_m *BusinessTenantMappingService) ListByIDs(ctx context.Context, ids []string) ([]*model.BusinessTenantMapping, error)
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