Module: devopspec-validator

Methods

(static) validateDevOp(devOp) → {Array.<String>}

Validates an object against the schema of a devop
Parameters:
Name Type Description
devOp Object The object to validate
Properties
Name Type Description
name String
tasks Object.<String, Object>
variables Object.<String, Object> *
Source:
Returns:
Any errors found by the validator
Type
Array.<String>

(static) validateDevOpConfiguration(devOpConfiguration) → {Array.<String>}

Validates an object against the schema of a devop
Parameters:
Name Type Description
devOpConfiguration Object The object to validate
Properties
Name Type Description
name String
tasks Object.<String, Object>
variables Object.<String, Object>
Source:
Returns:
Any errors found by the validator
Type
Array.<String>