package
0.12.1
Repository: https://github.com/upbound/uptest.git
Documentation: pkg.go.dev

# Functions

GetDiffReport is a utility function to format the specified diff as a string.
NewRevisionDiff returns a new RevisionDiff initialized with the base and revision CRDs loaded from the specified base and revision CRD paths.
NewSelfDiff returns a new SelfDiff initialized with a CRD loaded from the specified path.
WithRevisionDiffCommonOptions configures the common diff options for a RevisionDiff.
WithSelfDiffCommonOptions configures the common diff options for a SelfDiff.

# Structs

CommonOptions declares the common configuration options that customize how the diff between two OpenAPIv3 schemas are calculated.
RevisionDiff can compute schema changes between the base CRD found at `basePath` and the revision CRD found at `revisionPath`.
SelfDiff can compute schema changes between the consecutive versions declared for a CRD.

# Interfaces

SchemaCheck represents a schema checker that can return the set of breaking API changes between schemas.

# Type aliases

RevisionDiffOption is a functional option to configure the behavior of a RevisionDiff.
SelfDiffOption is a functional option to configure the behavior of a SelfDiff.