Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidationError ¶
type ValidationError error
ValidationError is a validation error as defined by this package As of now, it simply equates to a stock Golang error
func Validate ¶
func Validate(schemaType string, bytes []byte) ([]ValidationError, error)
Validate validates the provided bytes against the provided CNAB-Spec schemaType
func ValidateBundle ¶
func ValidateBundle(bytes []byte) ([]ValidationError, error)
ValidateBundle validates the provided bundle bytes against the applicable CNAB-Spec schema
func ValidateClaim ¶
func ValidateClaim(bytes []byte) ([]ValidationError, error)
ValidateClaim validates the provided claim bytes against the applicable CNAB-Spec schema
Click to show internal directories.
Click to hide internal directories.