This is a base object that represents a pipeline of image executions and REST requests to run on a schedule.

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
ogapi InternalOpenGateAPI ❌ Reference to the API object.

addImageExecution(imageExecution)

Adds an Image Execution to the pipeline

Parámetros

Nombre Tipo Opcional Descripción
imageExecution ImageExecution ❌

Retorna

Tip

Tipo: Pipeline


addRestResquest(restRequest)

Adds a rest request to the pipeline

Parámetros

Nombre Tipo Opcional Descripción
restRequest RestRequest ❌

Retorna

Tip

Tipo: Pipeline


withIdentifier(identifier)

Sets the identifier attribute

Parámetros

Nombre Tipo Opcional Descripción
identifier string ❌

Retorna

Tip

Tipo: Pipeline


withOrganization(organization)

Set the organization attribute

Parámetros

Nombre Tipo Opcional Descripción
organization string ❌

Retorna

Tip

Tipo: Pipeline


withScheduleCronExpression(cronExpression, timezone)

Sets the crontab expression for schedule

Parámetros

Nombre Tipo Opcional Descripción
cronExpression string ❌
timezone string ❌

Retorna

Tip

Tipo: Pipeline


withScheduleExecuteNow(executeNow)

Sets the executeNow attribute

Parámetros

Nombre Tipo Opcional Descripción
executeNow boolean ❌

Retorna

Tip

Tipo: Pipeline


withScheduleFrom(from)

Sets the from attribute

Parámetros

Nombre Tipo Opcional Descripción
from string ❌

Retorna

Tip

Tipo: Pipeline


withScheduleMinutesInterval(interval)

Sets the interval for schedule in minutes

Parámetros

Nombre Tipo Opcional Descripción
interval number ❌ in minutes

Retorna

Tip

Tipo: Pipeline


withScheduleTo(to)

Sets the to attribute

Parámetros

Nombre Tipo Opcional Descripción
to string ❌

Retorna

Tip

Tipo: Pipeline