automock

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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 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

type UCLService

type UCLService struct {
	mock.Mock
}

UCLService is an autogenerated mock type for the UCLService type

func NewUCLService

func NewUCLService(t mockConstructorTestingTNewUCLService) *UCLService

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

func (*UCLService) ReportStatus

func (_m *UCLService) ReportStatus(ctx context.Context, url string, statusReport ucl.StatusReport) error

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

Jump to

Keyboard shortcuts

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