gengok8s.io/gengo/examples Directories

examples/ directory

Directories

PathSynopsis
examples/deepcopy-gendeepcopy-gen is a tool for auto-generating DeepCopy functions.
examples/deepcopy-gen/generators
examples/deepcopy-gen/output_tests
examples/deepcopy-gen/output_tests/aliasesThis is a test package.
examples/deepcopy-gen/output_tests/builtinsThis is a test package.
examples/deepcopy-gen/output_tests/interfacesThis is a test package.
examples/deepcopy-gen/output_tests/mapsThis is a test package.
examples/deepcopy-gen/output_tests/otherpkg
examples/deepcopy-gen/output_tests/pointerThis is a test package.
examples/deepcopy-gen/output_tests/slicesThis is a test package.
examples/deepcopy-gen/output_tests/structsThis is a test package.
examples/deepcopy-gen/output_tests/wholepkgThis is a test package.
examples/defaulter-gendefaulter-gen is a tool for auto-generating Defaulter functions.
examples/defaulter-gen/generators
examples/import-bossimport-boss enforces import restrictions in a given repository.
examples/import-boss/generatorsPackage generators has the generators for the import-boss utility.
examples/import-boss/tests
examples/import-boss/tests/inverse
examples/import-boss/tests/inverse/aa only imports public packages.
examples/import-boss/tests/inverse/bb only imports public and private packages.
examples/import-boss/tests/inverse/cc imports the library root, which in turn imports the public and private packages.
examples/import-boss/tests/inverse/dc imports non-prod code.
examples/import-boss/tests/inverse/lib
examples/import-boss/tests/inverse/lib/nonprodnonprod is non-production code that should not be linked into any outside package.
examples/import-boss/tests/inverse/lib/private
examples/import-boss/tests/inverse/lib/public
examples/import-boss/tests/inverse/lib/quarantinequarantine is inside the library, but should not import the private package.
examples/import-boss/tests/rules
examples/import-boss/tests/rules/a
examples/import-boss/tests/rules/bb only public and private packages.
examples/import-boss/tests/rules/c
examples/import-boss/tests/rules/nested
examples/import-boss/tests/rules/nested/nested
examples/import-boss/tests/rules/nested/nested/nested
examples/import-boss/tests/rules/nested/nested/nested/inherit
examples/set-genset-gen is an example usage of go2idl.
examples/set-gen/generatorsPackage generators has the generators for the set-gen utility.
examples/set-gen/setsPackage sets has auto-generated set types.
examples/set-gen/sets/typesPackage types just provides input types to the set generator.
Version
v0.0.0-20250704022524-ddb642e17a28 (latest)
Published
Jul 4, 2025
Platform
linux/amd64
Last checked
2 days ago

Tools for package owners.