Skip to content

Commit

Permalink
Rename plugin.gateway-client to plugin/token-provider, plugin/gateway…
Browse files Browse the repository at this point in the history
…-server to plugin/token-info
  • Loading branch information
everesio committed Oct 21, 2018
1 parent c405aff commit 7a50ff5
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Makefile
Expand Up @@ -8,7 +8,7 @@ VERSION ?= $(shell git describe --tags --always --dirty)
GOPKGS = $(shell go list ./... | grep -v /vendor/)
BUILD_FLAGS ?=
LDFLAGS ?= -X github.com/grepplabs/kafka-proxy/config.Version=$(VERSION) -w -s
TAG ?= "v0.0.8"
TAG ?= "v0.1.0"
GOARCH ?= amd64
GOOS ?= linux

Expand Down Expand Up @@ -46,11 +46,11 @@ release: clean
protoc.local-auth:
protoc -I plugin/local-auth/proto/ plugin/local-auth/proto/auth.proto --go_out=plugins=grpc:plugin/local-auth/proto/

protoc.gateway-client:
protoc -I plugin/gateway-client/proto/ plugin/gateway-client/proto/token-provider.proto --go_out=plugins=grpc:plugin/gateway-client/proto/
protoc.token-provider:
protoc -I plugin/token-provider/proto/ plugin/token-provider/proto/token-provider.proto --go_out=plugins=grpc:plugin/token-provider/proto/

protoc.gateway-server:
protoc -I plugin/gateway-server/proto/ plugin/gateway-server/proto/token-info.proto --go_out=plugins=grpc:plugin/gateway-server/proto/
protoc.token-info:
protoc -I plugin/token-info/proto/ plugin/token-info/proto/token-info.proto --go_out=plugins=grpc:plugin/token-info/proto/

plugin.auth-user:
CGO_ENABLED=0 go build -o build/auth-user $(BUILD_FLAGS) -ldflags "$(LDFLAGS)" cmd/plugin-auth-user/main.go
Expand Down
4 changes: 2 additions & 2 deletions cmd/kafka-proxy/server.go
Expand Up @@ -21,8 +21,8 @@ import (

"errors"
"github.com/grepplabs/kafka-proxy/pkg/apis"
gatewayclient "github.com/grepplabs/kafka-proxy/plugin/gateway-client/shared"
gatewayserver "github.com/grepplabs/kafka-proxy/plugin/gateway-server/shared"
gatewayclient "github.com/grepplabs/kafka-proxy/plugin/token-provider/shared"
gatewayserver "github.com/grepplabs/kafka-proxy/plugin/token-info/shared"
localauth "github.com/grepplabs/kafka-proxy/plugin/local-auth/shared"
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-plugin"
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugin-googleid-info/main.go
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/grepplabs/kafka-proxy/pkg/libs/googleid-info"
"github.com/grepplabs/kafka-proxy/plugin/gateway-server/shared"
"github.com/grepplabs/kafka-proxy/plugin/token-info/shared"
"github.com/hashicorp/go-plugin"
"github.com/sirupsen/logrus"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugin-googleid-provider/main.go
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/grepplabs/kafka-proxy/pkg/libs/googleid-provider"
"github.com/grepplabs/kafka-proxy/plugin/gateway-client/shared"
"github.com/grepplabs/kafka-proxy/plugin/token-provider/shared"
"github.com/hashicorp/go-plugin"
"github.com/sirupsen/logrus"
"os"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@ package shared

import (
"github.com/grepplabs/kafka-proxy/pkg/apis"
"github.com/grepplabs/kafka-proxy/plugin/gateway-server/proto"
"github.com/grepplabs/kafka-proxy/plugin/token-info/proto"
"github.com/hashicorp/go-plugin"
"golang.org/x/net/context"
)
Expand Down
Expand Up @@ -6,7 +6,7 @@ import (
"google.golang.org/grpc"

"github.com/grepplabs/kafka-proxy/pkg/apis"
"github.com/grepplabs/kafka-proxy/plugin/gateway-server/proto"
"github.com/grepplabs/kafka-proxy/plugin/token-info/proto"
"github.com/hashicorp/go-plugin"
"net/rpc"
)
Expand Down
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@ package shared

import (
"github.com/grepplabs/kafka-proxy/pkg/apis"
"github.com/grepplabs/kafka-proxy/plugin/gateway-client/proto"
"github.com/grepplabs/kafka-proxy/plugin/token-provider/proto"
"github.com/hashicorp/go-plugin"
"golang.org/x/net/context"
)
Expand Down
Expand Up @@ -6,7 +6,7 @@ import (
"google.golang.org/grpc"

"github.com/grepplabs/kafka-proxy/pkg/apis"
"github.com/grepplabs/kafka-proxy/plugin/gateway-client/proto"
"github.com/grepplabs/kafka-proxy/plugin/token-provider/proto"
"github.com/hashicorp/go-plugin"
"net/rpc"
)
Expand Down
File renamed without changes.

0 comments on commit 7a50ff5

Please sign in to comment.