talos/api/buf.gen.yaml
Andrey Smirnov c079119337
chore: refactor how tools are being installed
Move stuff into `tools/go.mod`.

Also fix linting issues on the way (updating golangci-lint).

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-08-14 17:45:39 +04:00

33 lines
832 B
YAML

version: v2
plugins:
- local: ["go", "tool", "google.golang.org/protobuf/cmd/protoc-gen-go"]
out: ./machinery/api
opt:
- paths=source_relative
- local: ["go", "tool", "google.golang.org/grpc/cmd/protoc-gen-go-grpc"]
out: ./machinery/api
opt:
- paths=source_relative
- local: ["go", "tool", "github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto"]
out: ./machinery/api
opt:
- paths=source_relative
- features=marshal+unmarshal+size
- local: ["go", "tool", "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"]
strategy: all
out: ./docs/
opt:
- docs.markdown.tmpl
- api.md
inputs:
- directory: .
paths:
- cluster/
- common/
- inspect/
- machine/
- resource/
- security/
- storage/
- time/