compat

command
v0.26.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

compat

This tool can be used to check compatibility between two CRD definitions, and generate the Least-Common-Denominator (LCD) CRD YAML if requested.

Usage

Check compatibility of two files
go run ./cmd/compat old-crd.yaml new-crd.yaml

If the --lcd flag is passed, compat will print the LCD CRD YAML to stdout.

Check compatibility between a CRD in a cluster and configuration in a local file
go run ./cmd/compat <(kubectl get crd foos.foo.example.dev -oyaml) foo-crd.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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