Files
supermq/tools/config/.mockery.yaml
T
2026-03-11 09:54:10 +01:00

57 lines
1.4 KiB
YAML

# Copyright (c) Abstract Machines
# SPDX-License-Identifier: Apache-2.0
pkgname: mocks
template: testify
structname: "{{.InterfaceName}}"
filename: "{{snakecase .InterfaceName}}.go"
dir: "{{.InterfaceDirRelative}}/mocks"
force-file-write: true
include-auto-generated: true
template-data:
boilerplate-file: ./tools/config/boilerplate.txt
packages:
github.com/absmach/magistrala/pkg/sdk:
interfaces:
SDK:
config:
structname: "SDK"
filename: "sdk.go"
github.com/absmach/magistrala/re:
interfaces:
Repository:
Service:
github.com/absmach/magistrala/bootstrap:
interfaces:
ConfigRepository:
ConfigReader:
Service:
github.com/absmach/magistrala/consumers/notifiers:
interfaces:
Service:
SubscriptionsRepository:
github.com/absmach/magistrala/provision:
interfaces:
Service:
github.com/absmach/magistrala/alarms:
interfaces:
Service:
Repository:
github.com/absmach/magistrala/reports:
interfaces:
Service:
Repository:
github.com/absmach/magistrala/pkg/emailer:
interfaces:
Emailer:
github.com/absmach/magistrala/pkg/ticker:
interfaces:
Ticker:
github.com/absmach/magistrala/api/grpc/readers/v1:
interfaces:
ReadersServiceClient:
config:
dir: "./readers/mocks"
structname: "ReadersServiceClient"
filename: "readers_client.go"