Permalink
Browse files

cleanup kubebulder-gen

  • Loading branch information...
mengqiy committed Oct 12, 2018
1 parent 9ae8640 commit c4a61e06db1a9e24154f2581e908525d5427d9e5
Showing with 19 additions and 3,174 deletions.
  1. +1 −1 .travis.yml
  2. +2 −11 build/.goreleaser.yml
  3. 0 cmd/{kubebuilder → }/alpha.go
  4. +1 −1 cmd/{kubebuilder → }/api.go
  5. 0 cmd/{kubebuilder → }/docs.go
  6. +1 −1 cmd/{kubebuilder → }/init_project.go
  7. +0 −285 cmd/internal/codegen/parse/apis.go
  8. +0 −41 cmd/internal/codegen/parse/context.go
  9. +0 −82 cmd/internal/codegen/parse/controllers.go
  10. +0 −566 cmd/internal/codegen/parse/crd.go
  11. +0 −239 cmd/internal/codegen/parse/index.go
  12. +0 −240 cmd/internal/codegen/parse/parser.go
  13. +0 −97 cmd/internal/codegen/parse/parser_test.go
  14. +0 −134 cmd/internal/codegen/parse/rbac.go
  15. +0 −306 cmd/internal/codegen/parse/util.go
  16. +0 −206 cmd/internal/codegen/types.go
  17. +0 −37 cmd/kubebuilder-gen/codegen/generators.go
  18. +0 −128 cmd/kubebuilder-gen/codegen/run/generator.go
  19. +0 −62 cmd/kubebuilder-gen/codegen/run/util.go
  20. +0 −33 cmd/kubebuilder-gen/internal/controllergen/generator.go
  21. +0 −182 cmd/kubebuilder-gen/internal/controllergen/inject.go
  22. +0 −113 cmd/kubebuilder-gen/internal/resourcegen/apis_generator.go
  23. +0 −58 cmd/kubebuilder-gen/internal/resourcegen/generator.go
  24. +0 −61 cmd/kubebuilder-gen/internal/resourcegen/install_generator.go
  25. +0 −53 cmd/kubebuilder-gen/internal/resourcegen/unversioned_generator.go
  26. +0 −155 cmd/kubebuilder-gen/internal/resourcegen/versioned_generator.go
  27. +0 −37 cmd/kubebuilder-gen/main.go
  28. +2 −3 cmd/{kubebuilder → }/main.go
  29. 0 cmd/{kubebuilder → }/util/stdin.go
  30. +0 −25 cmd/{kubebuilder → }/util/util.go
  31. 0 cmd/{kubebuilder → }/vendor_update.go
  32. 0 cmd/{kubebuilder → }/version/version.go
  33. 0 cmd/{kubebuilder → }/webhook.go
  34. +2 −4 common.sh
  35. +1 −1 generated_golden.sh
  36. 0 testv1.sh → test.sh
  37. 0 test/e2e/{e2e_v1.go → e2e.go}
  38. +9 −12 test/e2e/e2e_test.go
@@ -22,7 +22,7 @@ install:
-
script:
- TRACE=1 ./testv1.sh
- TRACE=1 ./test.sh
# TBD. Suppressing for now.
notifications:
@@ -1,18 +1,9 @@
# This is a GoReleaser configuration file for Kubebuilder release.
# Make sure to check the documentation at http://goreleaser.com
builds:
- main: ./cmd/kubebuilder
- main: ./cmd
binary: kubebuilder
ldflags: -s -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.kubeBuilderVersion={{.Version}} -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.gitCommit={{.Commit}} -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.buildDate={{.Date}} -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.kubernetesVendorVersion={{.Env.KUBERNETES_VERSION}}
goos:
- darwin
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- main: ./cmd/kubebuilder-gen
binary: kubebuilder-gen
ldflags: -s -X sigs.k8s.io/kubebuilder/cmd/version.kubeBuilderVersion={{.Version}} -X sigs.k8s.io/kubebuilder/cmd/version.gitCommit={{.Commit}} -X sigs.k8s.io/kubebuilder/cmd/version.buildDate={{.Date}} -X sigs.k8s.io/kubebuilder/cmd/version.kubernetesVendorVersion={{.Env.KUBERNETES_VERSION}}
goos:
- darwin
- linux
File renamed without changes.
@@ -28,7 +28,7 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"
"sigs.k8s.io/kubebuilder/cmd/kubebuilder/util"
"sigs.k8s.io/kubebuilder/cmd/util"
"sigs.k8s.io/kubebuilder/pkg/scaffold"
"sigs.k8s.io/kubebuilder/pkg/scaffold/controller"
"sigs.k8s.io/kubebuilder/pkg/scaffold/input"
File renamed without changes.
@@ -29,7 +29,7 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"
"sigs.k8s.io/kubebuilder/cmd/kubebuilder/util"
"sigs.k8s.io/kubebuilder/cmd/util"
"sigs.k8s.io/kubebuilder/pkg/scaffold"
"sigs.k8s.io/kubebuilder/pkg/scaffold/input"
"sigs.k8s.io/kubebuilder/pkg/scaffold/manager"

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit c4a61e0

Please sign in to comment.