Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(crd-generator): Add CRD-Generator CLI #9

Closed
wants to merge 47 commits into from

Conversation

baloo42
Copy link
Owner

@baloo42 baloo42 commented May 3, 2024

Usage: crd-gen [-hVv] [--force-index] [--force-scan]
               [--implicit-preserve-unknown-fields] [--no-parallel]
               [-o=<outputDirectory>] [--classpath=<classpathElements>]...
               [--exclude-package=<excludedPackages>]...
               [--include-package=<includedPackages>]... <source>...

Fabric8 CRD-Generator:
Generate Custom Resource Definitions (CRD) for Kubernetes from Java model.

      <source>...     A directory or JAR file to scan for Custom Resource
                        classes, or a full qualified Custom Resource class name.
      --classpath=<classpathElements>
                      Additional classpath elements, e.g. a dependency packaged
                        as JAR file or a directory of class files.
  -o, --output-dir=<outputDirectory>
                      The output directory for the generated CRDs.
                        Default: .
      --force-index   Create Jandex index even if the directory or JAR file
                        contains an existing index.
      --force-scan    Create Jandex index even if the directory or JAR file
                        contains an existing index.
      --no-parallel   Disable parallel generation.
      --implicit-preserve-unknown-fields
                      `x-kubernetes-preserve-unknown-fields: true` will be
                        added to objects which contain an any-setter or
                        any-getter
      --include-package=<includedPackages>
                      Use only Custom Resource classes of one or more packages.
      --exclude-package=<excludedPackages>
                      Exclude Custom Resource classes by package.
  -v                  Verbose mode. Helpful for troubleshooting. Multiple -v
                        options increase the verbosity.
  -h, --help          Show this help message and exit.
  -V, --version       Print version information and exit.

@baloo42 baloo42 force-pushed the crd-generator-cli branch from 69ea042 to 8687b4b Compare May 4, 2024 13:09
@baloo42 baloo42 force-pushed the crd-generator-maven-plugin branch from c412662 to fa9d221 Compare May 7, 2024 15:14
@baloo42 baloo42 force-pushed the crd-generator-cli branch from 4c2b66e to ec3834e Compare May 7, 2024 15:23
@baloo42 baloo42 force-pushed the crd-generator-maven-plugin branch from fa9d221 to dc50235 Compare May 8, 2024 06:59
@baloo42 baloo42 force-pushed the crd-generator-cli branch from ec3834e to 9e6889b Compare May 8, 2024 07:00
@baloo42 baloo42 force-pushed the crd-generator-maven-plugin branch from 3705e74 to 2842f0d Compare May 9, 2024 18:56
@baloo42 baloo42 force-pushed the crd-generator-cli branch 4 times, most recently from 5d5c7c8 to 4a3b072 Compare May 16, 2024 13:31
@baloo42 baloo42 force-pushed the crd-generator-maven-plugin branch 2 times, most recently from 98c50e7 to f216529 Compare May 30, 2024 13:30
@baloo42 baloo42 force-pushed the crd-generator-cli branch 2 times, most recently from cb3d01e to 7001304 Compare May 31, 2024 11:25
@baloo42 baloo42 force-pushed the crd-generator-maven-plugin branch from 4cf2ca5 to 706915d Compare July 2, 2024 16:41
@baloo42 baloo42 force-pushed the crd-generator-maven-plugin branch from bfc5064 to 0fe8b70 Compare August 5, 2024 16:42
@baloo42 baloo42 force-pushed the crd-generator-cli branch from 7001304 to 425fc3d Compare August 5, 2024 17:52
@manusa manusa force-pushed the crd-generator-maven-plugin branch from 45d1027 to 310fcaf Compare August 14, 2024 14:15
@baloo42 baloo42 force-pushed the crd-generator-maven-plugin branch from 310fcaf to 18839b6 Compare August 27, 2024 12:55
@baloo42 baloo42 force-pushed the crd-generator-cli branch from 425fc3d to ef5172d Compare August 27, 2024 20:50
@manusa manusa force-pushed the crd-generator-maven-plugin branch from c1e0f06 to 04228c9 Compare August 30, 2024 10:11
@baloo42 baloo42 closed this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant