-
Notifications
You must be signed in to change notification settings - Fork 154
/
buf.gen.yaml
18 lines (18 loc) · 1.34 KB
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: v1
plugins:
- name: go
out: protos
# appending ",M<path/to/protofile>=<package name in current project after compilation>"
# is required for protoc-gen-go to provide what the import path for a given
# proto file should be.
# This is necessary while importing a proto file foo/a.proto from another
# directory, e.g. bar/b.proto
opt: paths=source_relative,Mraystack/optimus/core/v1beta1/job_run.proto=github.com/raystack/optimus/protos/raystack/optimus/core/v1beta1,Mraystack/optimus/core/v1beta1/project.proto=github.com/raystack/optimus/protos/raystack/optimus/core/v1beta1,Mraystack/optimus/core/v1beta1/namespace.proto=github.com/raystack/optimus/protos/raystack/optimus/core/v1beta1,Mraystack/optimus/core/v1beta1/job_spec.proto=github.com/raystack/optimus/protos/raystack/optimus/core/v1beta1,Mraystack/optimus/core/v1beta1/scheduler.proto=github.com/raystack/optimus/protos/raystack/optimus/core/v1beta1,Mraystack/optimus/core/v1beta1/status.proto=github.com/raystack/optimus/protos/raystack/optimus/core/v1beta1,Mraystack/optimus/core/v1beta1/resource.proto=github.com/raystack/optimus/protos/raystack/optimus/core/v1beta1
- name: go-grpc
out: protos
opt: paths=source_relative,require_unimplemented_servers=true
- name: grpc-gateway
out: protos
opt: paths=source_relative
- name: openapiv2
out: protos