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 ¶
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.
Click to show internal directories.
Click to hide internal directories.