crossbuilder

module
v0.0.0-...-57ccdc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: Apache-2.0

README

Crossbuilder

Crossbuilder is a tool that allows the generation of Crossplane XRDs and composition from go code.

XRD Generation

Crossbuilder's xrd-gen wraps around Kubebuilder and controller-gen but instead of generating CRDs (Custom Resource Definitions) it generates XRDs (Composite Resource Definitions) that are part of the Crossplane ecosystem.

Crossbuilder has every feature that Kubebuilder's CRD generator provides plus the ability to define XRD specific fields.

Take a look at the xrd-gen examples for more details.

Composition Generation

Crossbuilder provides a toolkit that allows building compositions from Go and write them out as YAML.

Since go is a statically typed language, Crossbuilder is able to perform additional validation checks, such as patch path validation, that is a common cause of errors when writing Crossplane compositions.

See the composition-gen examples to learn how to use it.

Directories

Path Synopsis
cmd
examples
xrd-gen/apis/v1alpha1
Package v1alpha1 contains API types that extend the Crossplane API.
Package v1alpha1 contains API types that extend the Crossplane API.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL