Skip to content

Commit 0a3b9ce

Browse files
committed
Added quota management package to the generation
1 parent 5530dfc commit 0a3b9ce

File tree

29 files changed

+973
-17
lines changed

29 files changed

+973
-17
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ verify-tag-name: print-global-variables
7777
t=${TAG} && [ $${#t} -le 128 ] || { echo "Target name $$t has 128 or more chars"; false; }
7878
.PHONY: generate-client ## Generate client packages
7979
generate-client: code-generator
80-
rm -rf pkg/client/clientset/versioned pkg/client/informers/externalversions pkg/client/listers/controller/v1beta1
80+
rm -rf pkg/client/clientset/versioned pkg/client/informers/externalversions pkg/client/listers/controller/v1beta1 pkg/client/listers/quotasubtree/v1
8181
# TODO: add this back when the version of the tool has been updated and supports this executable
8282
# $(APPLYCONFIGURATION_GEN) \
8383
# --input-dirs="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/controller/v1beta1" \
@@ -86,6 +86,7 @@ generate-client: code-generator
8686
# --trim-path-prefix "github.com/project-codeflare/multi-cluster-app-dispatcher"
8787
$(CLIENT_GEN) \
8888
--input="pkg/apis/controller/v1beta1" \
89+
--input="pkg/apis/quotaplugins/quotasubtree/v1" \
8990
--input-base="github.com/project-codeflare/multi-cluster-app-dispatcher" \
9091
--go-header-file="hack/boilerplate/boilerplate.go.txt" \
9192
--clientset-name "versioned" \
@@ -95,13 +96,15 @@ generate-client: code-generator
9596
# --trim-path-prefix "github.com/project-codeflare/multi-cluster-app-dispatcher"
9697
$(LISTER_GEN) \
9798
--input-dirs="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/controller/v1beta1" \
99+
--input-dirs="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/quotaplugins/quotasubtree/v1" \
98100
--go-header-file="hack/boilerplate/boilerplate.go.txt" \
99101
--output-base="." \
100102
--output-package="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client/listers"
101103
# TODO: add the following line back once the tool has been upgraded
102104
# --trim-path-prefix "github.com/project-codeflare/multi-cluster-app-dispatcher"
103105
$(INFORMER_GEN) \
104106
--input-dirs="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/controller/v1beta1" \
107+
--input-dirs="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/quotaplugins/quotasubtree/v1" \
105108
--versioned-clientset-package="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client/clientset/versioned" \
106109
--listers-package="github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client/listers" \
107110
--go-header-file="hack/boilerplate/boilerplate.go.txt" \
@@ -114,7 +117,8 @@ generate-client: code-generator
114117
mv -f github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client/clientset/versioned pkg/client/clientset/versioned
115118
mv -f github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client/informers/externalversions pkg/client/informers/externalversions
116119
mv -f github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client/listers/controller/v1beta1 pkg/client/listers/controller/v1beta1
117-
rm -rf github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client
120+
mv -f github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/client/listers/quotasubtree/v1 pkg/client/listers/quotasubtree/v1
121+
rm -rf github.com
118122

119123
.PHONY: controller-gen
120124
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary.

pkg/client/clientset/versioned/clientset.go

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

pkg/client/clientset/versioned/fake/clientset_generated.go

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

pkg/client/clientset/versioned/fake/register.go

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

pkg/client/clientset/versioned/scheme/register.go

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

pkg/client/clientset/versioned/typed/quotasubtree/v1/doc.go

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

pkg/client/clientset/versioned/typed/quotasubtree/v1/fake/doc.go

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

pkg/client/clientset/versioned/typed/quotasubtree/v1/fake/fake_quotasubtree.go

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

pkg/client/clientset/versioned/typed/quotasubtree/v1/fake/fake_quotasubtree_client.go

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

0 commit comments

Comments
 (0)