Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateComponentDescriptor ¶
func CreateComponentDescriptor(name, version string) *compdesc.ComponentDescriptor
CreateComponentDescriptor creates a new component descriptor for testing purposes. This exists due to the fact that the ocm compdesc package is using init functions in /versions/v2 that need to be called for certain functions of ocm/compdesc to work properly, like Convert(), Validate(), etc. If you got "schema not found" error, saying that v2 is unsupported, use this function to create a component descriptor in tests!
func RandomName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.