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 AsyncProcessor

type AsyncProcessor struct {
	mock.Mock
}

AsyncProcessor is an autogenerated mock type for the AsyncProcessor type

func NewAsyncProcessor

func NewAsyncProcessor(t mockConstructorTestingTNewAsyncProcessor) *AsyncProcessor

NewAsyncProcessor creates a new instance of AsyncProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AsyncProcessor) ProcessTMRequest

func (_m *AsyncProcessor) ProcessTMRequest(ctx context.Context, tenantMapping types.TenantMapping)

ProcessTMRequest provides a mock function with given fields: ctx, tenantMapping

func (*AsyncProcessor) ReportStatus

func (_m *AsyncProcessor) ReportStatus(ctx context.Context, statusReport ucl.StatusReport)

ReportStatus provides a mock function with given fields: ctx, statusReport

type HealthService

type HealthService struct {
	mock.Mock
}

HealthService is an autogenerated mock type for the HealthService type

func NewHealthService

func NewHealthService(t mockConstructorTestingTNewHealthService) *HealthService

NewHealthService creates a new instance of HealthService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*HealthService) CheckHealth

func (_m *HealthService) CheckHealth(ctx context.Context) (types.HealthStatus, error)

CheckHealth provides a mock function with given fields: ctx

type TenantMappingsService

type TenantMappingsService struct {
	mock.Mock
}

TenantMappingsService is an autogenerated mock type for the TenantMappingsService type

func NewTenantMappingsService

func NewTenantMappingsService(t mockConstructorTestingTNewTenantMappingsService) *TenantMappingsService

NewTenantMappingsService creates a new instance of TenantMappingsService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TenantMappingsService) CanSafelyRemoveTenantMapping

func (_m *TenantMappingsService) CanSafelyRemoveTenantMapping(ctx context.Context, formationID string) (bool, error)

CanSafelyRemoveTenantMapping provides a mock function with given fields: ctx, formationID

func (*TenantMappingsService) ProcessTenantMapping

func (_m *TenantMappingsService) ProcessTenantMapping(ctx context.Context, tenantMapping types.TenantMapping) error

ProcessTenantMapping provides a mock function with given fields: ctx, tenantMapping

func (*TenantMappingsService) RemoveTenantMapping

func (_m *TenantMappingsService) RemoveTenantMapping(ctx context.Context, tenantMapping types.TenantMapping) error

RemoveTenantMapping provides a mock function with given fields: ctx, tenantMapping

Jump to

Keyboard shortcuts

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