Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(ctx context.Context, cl client.Client, newCrd *apiextensionsv1.CustomResourceDefinition) error
Validate is a wrapper for doing four things:
- Retrieving the existing version of the specified CRD where it exists.
- Calling validateCRDCompatibility() on the newCrd.
- Calling safeStorageVersionUpgrade() on the newCrd.
- Reporting any errors that it encounters along the way.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.