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. |
executable
Optional
executable: typing.List[str]
- Type: typing.List[str]
- Default: Exactly one of
executable
andpath
is required.
External command which will produce the file asset to upload.
packaging
Optional
packaging: FileAssetPackaging
- Type: FileAssetPackaging
- Default: FILE
Packaging method.
Only allowed when path
is specified.
path
Optional
path: str
- Type: str
- Default: Exactly one of
executable
andpath
is required.
The filesystem object to upload.
This path is relative to the asset manifest location.