Documentation ¶
Index ¶
- func GetMetadataSchemaURL(val string) (string, error)
- func GetUIMetadataSchemaURL(val string) (string, error)
- func LoadMetadataSchema(schemaURL string) (string, []byte, error)
- func LoadUIMetadataSchema(schemaURL string) (string, []byte, error)
- func ValidateMetadata(metadataBytes []byte) error
- func ValidateMetadataWithVersion(metadataBytes []byte, versionString string) error
- func ValidateUIMetadata(uiMetadataBytes []byte) error
- func ValidateUIMetadataWithVersion(uiMetadataBytes []byte, versionString string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetadataSchemaURL ¶
GetMetadataSchemaURL returns URL of the metadata schema for given version string or url
func GetUIMetadataSchemaURL ¶
GetUIMetadataSchemaURL returns URL of the ui metadata schema for given version string or url
func LoadMetadataSchema ¶
LoadMetadataSchema loads metadata schema for given URL or version
func LoadUIMetadataSchema ¶
LoadUIMetadataSchema loads ui metadata schema for given URL or version
func ValidateMetadata ¶
ValidateMetadata validates Template Metadata bytes and returns error if error is raised
func ValidateMetadataWithVersion ¶
ValidateMetadataWithVersion validates Template Metadata bytes with specified version, and returns error if error is raised
func ValidateUIMetadata ¶
ValidateUIMetadata validates Template UI Metadata bytes and returns error if error is raised
func ValidateUIMetadataWithVersion ¶
ValidateUIMetadataWithVersion validates Template UI Metadata bytes with specified version, and returns error if error is raised
Types ¶
This section is empty.