forked from quay/clair
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: v2 api with gRPC and gRPC-gateway
Newly designed API defines Ancestry as a set of layers and shrinked the api to only the most used apis: post ancestry, get layer, get notification, delete notification Fixes quay#98
- Loading branch information
1 parent
ed75f3f
commit e87240f
Showing
13 changed files
with
2,474 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
all: | ||
protoc -I/usr/local/include -I. \ | ||
-I${GOPATH}/src \ | ||
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ | ||
--go_out=plugins=grpc:. \ | ||
clair.proto | ||
protoc -I/usr/local/include -I. \ | ||
-I${GOPATH}/src \ | ||
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ | ||
--grpc-gateway_out=logtostderr=true:. \ | ||
clair.proto | ||
protoc -I/usr/local/include -I. \ | ||
-I${GOPATH}/src \ | ||
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ | ||
--swagger_out=logtostderr=true:. \ | ||
clair.proto | ||
go generate . |
Oops, something went wrong.