Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTest ¶
func RunTest(testContent commonUtils.TestContent, t *testing.T)
RunTest : Runs a test to create and verify a devfile based on the content of the specified TestContent
Types ¶
type DevfileValidator ¶
type DevfileValidator struct{}
DevfileValidator struct for DevfileValidator interface defined in common utils.
func (DevfileValidator) WriteAndValidate ¶
func (devfileValidator DevfileValidator) WriteAndValidate(devfile *commonUtils.TestDevfile) error
WriteAndValidate implements Saved.DevfileValidator interface. writes to disk and validates the specified devfile
type SchemaFile ¶
type SchemaFile struct {
Schema *jsonschema.Schema
}
SchemaFile - represents the schema stucture
Click to show internal directories.
Click to hide internal directories.