Pipeline

Pipeline

Pipeline Objects

class Pipeline()

This is a base object that contains all you can do about Bundles.

constructor
function constructor()

Constructor

Arguments:

  • Reference InternalOpenGateAPI - to the API object.

addImageExecution
function addImageExecution(imageExecution: ImageExecution) -> 'Pipeline'

Adds an Image Execution to the pipeline

Arguments:

  • imageExecution ImageExecution

Returns:

  • Pipeline

addRestResquest
function addRestResquest(restRequest: RestRequest) -> 'Pipeline'

Adds a rest request to the pipeline

Arguments:

  • restRequest RestRequest

Returns:

  • Pipeline

toJson
function toJson() -> '*'

Returns:

  • *

update
function update()

withIdentifier
function withIdentifier(identifier: string) -> 'Pipeline'

Sets the identifier attribute

Arguments:

  • identifier string

Returns:

  • Pipeline

withOrganization
function withOrganization(organization: string) -> 'Channels'

Set the organization attribute

Arguments:

  • organization string

Returns:

  • Channels

withScheduleCronExpression
function withScheduleCronExpression(cronExpression: string) -> 'Pipeline'

Sets the crontab expression for schedule

Arguments:

  • cronExpression string

Returns:

  • Pipeline

withScheduleImmediateExecution
function withScheduleImmediateExecution(isImmediateExecution: boolean) -> 'Pipeline'

Sets the isImmediateExecution attribute for schedule

Arguments:

  • isImmediateExecution boolean

Returns:

  • Pipeline