Skip to content

Commit

Permalink
feat: Cerbos Cloud bundle store driver
Browse files Browse the repository at this point in the history
Introduces a new storage driver that connectes to Cerbos Cloud to
receive optimized policy bundles.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
  • Loading branch information
charithe committed Apr 12, 2023
1 parent df020fb commit 84dc608
Show file tree
Hide file tree
Showing 40 changed files with 2,757 additions and 1,515 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
assets/ filter=lfs diff=lfs merge=lfs -text
**/*.svg filter=lfs diff=lfs merge=lfs -text
**/*.gif filter=lfs diff=lfs merge=lfs -text
**/*.crbp filter=lfs diff=lfs merge=lfs -text
**/*.zip filter=lfs diff=lfs merge=lfs -text
**/*.tar filter=lfs diff=lfs merge=lfs -text
**/*.tgz filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ unit.cover
integration.cover
junit.*.xml
test-times.json

go.work
go.work.sum
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ generate-mocks: $(MOCKERY)
@-rm -rf $(MOCK_DIR)
@ $(MOCKERY) --quiet --srcpkg=./internal/storage/index --name=Index --output=$(MOCK_DIR)
@ $(MOCKERY) --quiet --srcpkg=./internal/storage --name=Store --output=$(MOCK_DIR)
@ $(MOCKERY) --quiet --srcpkg=./internal/storage/bundle --name=CloudAPIClient --output=$(MOCK_DIR)
@ $(MOCKERY) --quiet --srcpkg=github.com/cerbos/cloud-api/bundle --name=WatchHandle --output=$(MOCK_DIR)

.PHONY: generate-notice
generate-notice: $(GO_LICENCE_DETECTOR)
Expand Down
262 changes: 0 additions & 262 deletions api/genpb/cerbos/bundle/v1/bundle.pb.go

This file was deleted.

0 comments on commit 84dc608

Please sign in to comment.