Skip to content

Commit 3164c17

Browse files
authored
Rename Upstream type to Backend (#10702)
1 parent 86d1768 commit 3164c17

File tree

74 files changed

+1097
-1280
lines changed

Some content is hidden

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

74 files changed

+1097
-1280
lines changed

Makefile

+10-12
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,17 @@ package-kgateway-chart: ## Package the new kgateway helm chart for testing
257257
clean:
258258
rm -rf _output
259259
rm -rf _test
260-
rm -rf docs/site*
261-
rm -rf docs/themes
262-
rm -rf docs/resources
263260
git clean -f -X install
264261

262+
# Clean generated code
263+
# see hack/generate.sh for source of truth of dirs to clean
264+
.PHONY: clean-gen
265+
clean-gen:
266+
rm -rf api/applyconfiguration
267+
rm -rf pkg/generated/openapi
268+
rm -rf pkg/client
269+
rm -rf install/helm/kgateway/crds
270+
265271
.PHONY: clean-tests
266272
clean-tests:
267273
find * -type f -name '*.test' -exec rm {} \;
@@ -287,17 +293,9 @@ verify: generate-all ## Verify that generated code is up to date
287293
.PHONY: generate-all
288294
generate-all: generated-code
289295

290-
# Run codegen with debug logs
291-
# DEBUG=1 controls the debug level in the logger used by solo-kit
292-
# ref: https://github.com/solo-io/solo-kit/blob/main/pkg/code-generator/codegen/generator.go#L14
293-
# ref: https://github.com/solo-io/go-utils/blob/main/log/log.go#L14
294-
.PHONY: generate-all-debug
295-
generate-all-debug: export DEBUG = 1
296-
generate-all-debug: generate-all
297-
298296
# Generates all required code, cleaning and formatting as well; this target is executed in CI
299297
.PHONY: generated-code
300-
generated-code: go-generate-all getter-check mod-tidy
298+
generated-code: clean-gen go-generate-all getter-check mod-tidy
301299
generated-code: update-licenses
302300
# generated-code: generate-crd-reference-docs
303301
generated-code: fmt

api/applyconfiguration/api/v1alpha1/aiupstream.go api/applyconfiguration/api/v1alpha1/aibackend.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/applyconfiguration/api/v1alpha1/awsupstream.go api/applyconfiguration/api/v1alpha1/awsbackend.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)