mirror of
https://github.com/SigNoz/signoz.git
synced 2026-02-03 08:33:26 +00:00
Some checks failed
build-staging / prepare (push) Has been cancelled
build-staging / js-build (push) Has been cancelled
build-staging / go-build (push) Has been cancelled
build-staging / staging (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
## Description - add mocks for tokenizer - rename mocks in alertmanager to alertmanagertest - add makefile command for generating mocks
18 lines
595 B
YAML
18 lines
595 B
YAML
# Link to template variables: https://pkg.go.dev/github.com/vektra/mockery/v3/config#TemplateData
|
|
template: testify
|
|
packages:
|
|
github.com/SigNoz/signoz/pkg/alertmanager:
|
|
config:
|
|
all: true
|
|
dir: '{{.InterfaceDir}}/alertmanagertest'
|
|
filename: "alertmanager.go"
|
|
structname: 'Mock{{.InterfaceName}}'
|
|
pkgname: '{{.SrcPackageName}}test'
|
|
github.com/SigNoz/signoz/pkg/tokenizer:
|
|
config:
|
|
all: true
|
|
dir: '{{.InterfaceDir}}/tokenizertest'
|
|
filename: "tokenizer.go"
|
|
structname: 'Mock{{.InterfaceName}}'
|
|
pkgname: '{{.SrcPackageName}}test'
|