Skip to content

FileSource

Describe the source of a file asset.

Initializer

import ros_cdk_assembly_schema
ros_cdk_assembly_schema.FileSource(
  executable: typing.List[str] = None,
  packaging: FileAssetPackaging = None,
  path: str = None
)

Properties

Name Type Description
executable typing.List[str] External command which will produce the file asset to upload.
packaging FileAssetPackaging Packaging method.
path str The filesystem object to upload.

executableOptional

executable: typing.List[str]
  • Type: typing.List[str]
  • Default: Exactly one of executable and path is required.

External command which will produce the file asset to upload.


packagingOptional

packaging: FileAssetPackaging

Packaging method.

Only allowed when path is specified.


pathOptional

path: str
  • Type: str
  • Default: Exactly one of executable and path is required.

The filesystem object to upload.

This path is relative to the asset manifest location.