api

package
v0.0.0-...-2024368 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: EPL-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL