Skip to content

Commit

Permalink
wip: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Mar 4, 2024
1 parent 074ed78 commit a1285f9
Show file tree
Hide file tree
Showing 94 changed files with 8 additions and 10,758 deletions.
26 changes: 0 additions & 26 deletions cmd/core-controller/main.go

This file was deleted.

89 changes: 0 additions & 89 deletions cmd/redis-broker/main.go

This file was deleted.

13 changes: 5 additions & 8 deletions hack/inc.codegen.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
# see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api_changes.md#generate-code

# Name of the Go package for this repository
PKG := github.com/zeiss/typhoon
PKG := github.com/zeiss/typhoon

# List of API groups to generate code for
# e.g. "sources/v1alpha1 sources/v1alpha2"
API_GROUPS := sources/v1alpha1 targets/v1alpha1 flow/v1alpha1 extensions/v1alpha1 routing/v1alpha1 eventing/v1alpha1
API_GROUPS := sources/v1alpha1 targets/v1alpha1 flow/v1alpha1 extensions/v1alpha1 routing/v1alpha1
# generates e.g. "PKG/apis/sources/v1alpha1 PKG/apis/sources/v1alpha2"
api-import-paths := $(foreach group,$(API_GROUPS),$(PKG)/pkg/apis/$(group))

generators := deepcopy client lister informer injection
generators := deepcopy client lister informer injection

.PHONY: codegen $(generators)

codegen: $(generators)

# http://blog.jgc.org/2007/06/escaping-comma-and-space-in-gnu-make.html
Expand Down Expand Up @@ -79,10 +78,8 @@ injection:
--listers-package $(PKG)/pkg/client/generated/listers \
--external-versions-informers-package $(PKG)/pkg/client/generated/informers/externalversions

# In environments where the project is located outside the GOPATH,
# codegen creates a nested $(PKG) directory right in the project's root.
# Until the codegen configuration gets fixed,
# this target can be used to move generated files where they belong.
# Cleanup codegen
.PHONY: codegen-cleanup
codegen-cleanup:
@if [ -d "./$(PKG)" ]; then \
cp -a ./$(PKG)/pkg/client/generated/ pkg/client/generated/ ;\
Expand Down
42 changes: 0 additions & 42 deletions pkg/apis/eventing/eventing.go

This file was deleted.

4 changes: 0 additions & 4 deletions pkg/apis/eventing/v1alpha1/doc.go

This file was deleted.

57 changes: 0 additions & 57 deletions pkg/apis/eventing/v1alpha1/interfaces.go

This file was deleted.

Loading

0 comments on commit a1285f9

Please sign in to comment.