Skip to content

Commit 031f205

Browse files
committed
change go vendor strategy
Change the strategy as to which submodules vendor go code. Submodules that support build binaries should be vendored. This is the controller and sidecar. Submodules that do not directly support built binaries should not be vendored. This is the client and proto. Signed-off-by: Blaine Gardner <[email protected]>
1 parent e9d5dfb commit 031f205

File tree

8,079 files changed

+1520093
-115220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,079 files changed

+1520093
-115220
lines changed

client/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# necessary for codegen tools, but do not want to git track this vendor dir
2+
vendor

client/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ help: ## Display this help.
1313
##@ Development
1414

1515
.PHONY: generate
16-
generate: crds codegen fmt ## Run all code generation/modification tools.
16+
generate: crds codegen ## Run all code generation/modification tools.
1717

1818
##@ Generators
1919

2020
.PHONY: crds
2121
crds: ## Generate CustomResourceDefinitions.
22-
go run -v ./vendor/sigs.k8s.io/controller-tools/cmd/controller-gen crd paths="./apis/objectstorage/..."
22+
go run -v sigs.k8s.io/controller-tools/cmd/controller-gen crd paths="./apis/objectstorage/..."
2323

2424
.PHONY:
2525
codegen: ## Generate deepcopy, client, informer, and lister implementations.

client/clientset/versioned/fake/clientset_generated.go

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/clientset/versioned/typed/objectstorage/v1alpha1/bucket.go

Lines changed: 10 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/clientset/versioned/typed/objectstorage/v1alpha1/bucketaccess.go

Lines changed: 10 additions & 136 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)