crdify

package
v0.0.0-...-6a0c921 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenerator

func NewGenerator(opts ...generatorOption) generation.Generator

NewGenerator returns a new generation.Generator that runs crdify validations. Optionally, callers can provide configuration options to change the default behavior of the generator.

func WithComparisonBase

func WithComparisonBase(base string) generatorOption

WithComparisonBase configures the git base used by the crdify generator to load the "old" CRD.

func WithConfig

func WithConfig(cfg *config.Config) generatorOption

WithConfig configures the crdify configuration used by the crdify generator.

func WithDisabled

func WithDisabled(disabled bool) generatorOption

WithDisabled configures whether or not the crdify generator is disabled.

func WithValidationRegistry

func WithValidationRegistry(registry validations.Registry) generatorOption

WithValidationRegistry configures the validation registry used by the crdify generator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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