Skip to content

Commit

Permalink
Migrate to connectrpc.com/connect (#38381)
Browse files Browse the repository at this point in the history
  • Loading branch information
espadolini authored Feb 19, 2024
1 parent 4c6c249 commit 77f017a
Show file tree
Hide file tree
Showing 14 changed files with 137 additions and 99 deletions.
2 changes: 1 addition & 1 deletion buf-connect-go.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ plugins:
path:
- go
- run
- github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go
- connectrpc.com/connect/cmd/protoc-gen-connect-go
out: .
opt: module=github.com/gravitational/teleport
2 changes: 1 addition & 1 deletion build.assets/Dockerfile-grpcbox
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ RUN VERSION="$BUF_VERSION"; \
# branch.
COPY go.mod go.sum /teleport-module/
RUN cd /teleport-module; \
go install github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go && \
go install connectrpc.com/connect/cmd/protoc-gen-connect-go && \
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc && \
go install google.golang.org/protobuf/cmd/protoc-gen-go
2 changes: 1 addition & 1 deletion e_imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ xargs go list -find -f '{{if (and
*/

import (
_ "connectrpc.com/connect"
_ "github.com/alecthomas/kingpin/v2"
_ "github.com/aws/aws-sdk-go-v2/aws"
_ "github.com/aws/aws-sdk-go-v2/config"
Expand All @@ -58,7 +59,6 @@ import (
_ "github.com/aws/aws-sdk-go-v2/service/sts"
_ "github.com/aws/aws-sdk-go-v2/service/sts/types"
_ "github.com/beevik/etree"
_ "github.com/bufbuild/connect-go"
_ "github.com/coreos/go-oidc/jose"
_ "github.com/coreos/go-oidc/oauth2"
_ "github.com/coreos/go-oidc/oidc"
Expand Down
36 changes: 22 additions & 14 deletions gen/proto/go/prehog/v1/prehogv1connect/teleport.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 22 additions & 14 deletions gen/proto/go/prehog/v1alpha/prehogv1alphaconnect/connect.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 22 additions & 14 deletions gen/proto/go/prehog/v1alpha/prehogv1alphaconnect/tbot.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 77f017a

Please sign in to comment.