Skip to main content

@terascope/job-components / job-schemas

job-schemas

Variables

apiSchema

const apiSchema: convict.Schema<any>

Defined in: packages/job-components/src/job-schemas.ts:434

This is the schema for a Teraslice API.


opSchema

const opSchema: convict.Schema<any>

Defined in: packages/job-components/src/job-schemas.ts:405

This is the schema for a Teraslice Operation.

Functions

jobSchema()

jobSchema(context): Schema<any>

Defined in: packages/job-components/src/job-schemas.ts:19

This schema is for a Teraslice Job definition.

Parameters

ParameterTypeDescription
contextContextTeraslice context object

Returns

Schema<any>

Complete convict schema for the Teraslice Job


makeJobSchema()

makeJobSchema(context): Schema<any>

Defined in: packages/job-components/src/job-schemas.ts:400

This schema is for a Teraslice Job definition.

Parameters

ParameterTypeDescription
contextContextTeraslice context object

Returns

Schema<any>

Complete convict schema for the Teraslice Job