Files
magistrala/tools/config/.mockery.yaml
T
Steve Munene 7f03134d8e
Property Based Tests / api-test (push) Has been cancelled
Continuous Delivery / lint-and-build (push) Has been cancelled
Deploy GitHub Pages / swagger-ui (push) Has been cancelled
CI Pipeline / Lint Proto (push) Has been cancelled
CI Pipeline / Detect Changes (push) Has been cancelled
Continuous Delivery / Build and Push Docker Images (push) Has been cancelled
CI Pipeline / lint-and-build (push) Has been cancelled
CI Pipeline / Test ${{ matrix.module }} (push) Has been cancelled
CI Pipeline / Upload Coverage (push) Has been cancelled
NOISSUE - Update bootstrap and provision service (#3476)
Signed-off-by: nyagamunene <stevenyaga2014@gmail.com>
Signed-off-by: JeffMboya <jangina.mboya@gmail.com>
Co-authored-by: JeffMboya <jangina.mboya@gmail.com>
2026-05-08 10:35:00 +02:00

200 lines
5.0 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"
template-data:
boilerplate-file: ./tools/config/boilerplate.txt
force-file-write: true
include-auto-generated: true
packages:
github.com/absmach/magistrala/api/grpc/clients/v1:
interfaces:
ClientsServiceClient:
config:
dir: "./clients/mocks"
structname: "ClientsServiceClient"
filename: "clients_client.go"
github.com/absmach/magistrala/api/grpc/domains/v1:
interfaces:
DomainsServiceClient:
config:
dir: "./domains/mocks"
structname: "DomainsServiceClient"
filename: "domains_client.go"
github.com/absmach/magistrala/api/grpc/token/v1:
interfaces:
TokenServiceClient:
config:
dir: "./auth/mocks"
structname: "TokenServiceClient"
filename: "token_client.go"
github.com/absmach/magistrala/api/grpc/channels/v1:
interfaces:
ChannelsServiceClient:
config:
dir: "./channels/mocks"
structname: "ChannelsServiceClient"
filename: "channels_client.go"
github.com/absmach/magistrala/api/grpc/groups/v1:
interfaces:
GroupsServiceClient:
config:
dir: "./groups/mocks"
structname: "GroupsServiceClient"
filename: "groups_client.go"
github.com/absmach/magistrala/api/grpc/certs/v1:
interfaces:
CertsServiceClient:
config:
dir: "./certs/mocks"
structname: "CertsServiceClient"
filename: "certs_client.go"
github.com/absmach/magistrala/api/grpc/readers/v1:
interfaces:
ReadersServiceClient:
config:
dir: "./readers/mocks"
structname: "ReadersServiceClient"
filename: "readers_client.go"
github.com/absmach/magistrala/pkg/sdk:
interfaces:
SDK:
config:
dir: "./pkg/sdk/mocks"
structname: "SDK"
filename: "sdk.go"
github.com/absmach/magistrala/auth:
interfaces:
Authz:
Cache:
Hasher:
KeyRepository:
UserActiveTokensCache:
Tokenizer:
PATS:
PATSRepository:
Service:
github.com/absmach/magistrala/channels:
interfaces:
Cache:
Repository:
Service:
github.com/absmach/magistrala/channels/private:
interfaces:
Service:
github.com/absmach/magistrala/clients:
interfaces:
Repository:
Cache:
Service:
github.com/absmach/magistrala/clients/private:
interfaces:
Service:
github.com/absmach/magistrala/certs:
interfaces:
Agent:
Service:
Repository:
github.com/absmach/magistrala/consumers:
interfaces:
Notifier:
github.com/absmach/magistrala/consumers/notifiers:
interfaces:
Service:
SubscriptionsRepository:
github.com/absmach/magistrala/domains:
interfaces:
Repository:
Cache:
Service:
github.com/absmach/magistrala/domains/private:
interfaces:
Service:
github.com/absmach/magistrala/groups:
interfaces:
Repository:
Service:
github.com/absmach/magistrala/groups/private:
interfaces:
Service:
github.com/absmach/magistrala/journal:
interfaces:
Repository:
Service:
github.com/absmach/magistrala/pkg/authn:
interfaces:
Authentication:
AuthNMiddleware:
github.com/absmach/magistrala/pkg/authz:
interfaces:
Authorization:
github.com/absmach/magistrala/pkg/emailer:
interfaces:
Emailer:
github.com/absmach/magistrala/pkg/events:
interfaces:
Publisher:
Subscriber:
github.com/absmach/magistrala/pkg/messaging:
interfaces:
PubSub:
github.com/absmach/magistrala/pkg/oauth2:
interfaces:
Provider:
github.com/absmach/magistrala/pkg/policies:
interfaces:
Evaluator:
Service:
github.com/absmach/magistrala/pkg/roles:
interfaces:
Provisioner:
RoleManager:
Repository:
github.com/absmach/magistrala/pkg/callout:
interfaces:
Callout:
github.com/absmach/magistrala/pkg/ticker:
interfaces:
Ticker:
github.com/absmach/magistrala/readers:
interfaces:
MessageRepository:
github.com/absmach/magistrala/re:
interfaces:
Repository:
Service:
github.com/absmach/magistrala/bootstrap:
interfaces:
ConfigRepository:
ConfigReader:
Service:
ProfileRepository:
BindingStore:
BindingResolver:
Renderer:
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/users:
interfaces:
Emailer:
Hasher:
Repository:
Service:
github.com/absmach/magistrala/notifications:
interfaces:
Notifier: