Method

IdeDeployStrategyprepare_run_context

Declaration

void
ide_deploy_strategy_prepare_run_context (
  IdeDeployStrategy* self,
  IdePipeline* pipeline,
  IdeRunContext* run_context
)

Description

Prepare an IdeRunContext to run on a device.

This virtual function should be implemented by device strategies to prepare a run context for running on a device or deployment situation.

Typically this is either nothing (in the case of running locally) or pushing a layer into the run context which is a command to deliver the command to another device/container/simulator/etc.

Parameters

pipeline

Type: IdePipeline

An IdePipeline.

The data is owned by the caller of the method.
run_context

Type: IdeRunContext

An IdeRunContext.

The data is owned by the caller of the method.