Treatment readFile

cicd/data::readFile


Parameters

↳ var label: string

Inputs

⇥ file_path: Block<string>
⇥ filesystem_name: Block<string>

Outputs

↦ completed: Block<void>
↦ data: Stream<byte>
↦ failed: Block<void>
↦ finished: Block<void>
↦ started: Block<void>


Read a file from a named work-environment volume as a byte stream.

Looks up the volume identified by filesystem_name, then reads file_path from that volume, streaming content through data. Errors are logged under label. started is emitted when the file is opened; completed on full successful read; failed on any error; finished always at the end.