BundlingFileAccess Enum
The access mechanism used to make source files available to the bundling container and to return the bundling output back to the host.
Example
ts
new go.GoFunction(this, 'GoFunction', {
entry: 'app/cmd/api',
bundling: {
bundlingFileAccess: BundlingFileAccess.VOLUME_COPY,
},
});
Members
| Member | Description |
|---|---|
VOLUME_COPY | Creates temporary volumes and containers to copy files from the host to the bundling container and back. |
BIND_MOUNT | The source and output folders will be mounted as bind mount from the host system This is faster and simpler, but less portable than VOLUME_COPY. |
Referenced by
BundlingOptions.bundlingFileAccessbundling_file_accessbundlingFileAccessBundlingFileAccessBundlingFileAccessBundlingOptions.bundlingFileAccessbundling_file_accessbundlingFileAccessBundlingFileAccessBundlingFileAccessBundlingOptions.bundlingFileAccessbundling_file_accessbundlingFileAccessBundlingFileAccessBundlingFileAccessBundlingOptions.bundlingFileAccessbundling_file_accessbundlingFileAccessBundlingFileAccessBundlingFileAccess