Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CRDContainsValidation ¶ added in v0.5.2
func CRDContainsValidation(crd *apiextensions.CustomResourceDefinition) bool
func GetSpecs ¶ added in v0.5.2
GetSpecs retrieves specifications from the given GenOpts and returns a list of temporary file paths for the generated OpenAPI specs. It returns an error if there is any issue in fetching and generating the specs. Parameters: - opts: a GenOpts struct that contains the options and parameters required for generating the specs Returns: - []string: a list of temporary file paths for the generated OpenAPI specs - error: an error message if any error occurs.
Types ¶
Click to show internal directories.
Click to hide internal directories.