Skip to content
v2.273.0

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 ​

MemberDescription
VOLUME_COPYCreates temporary volumes and containers to copy files from the host to the bundling container and back.
BIND_MOUNTThe 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_accessbundlingFileAccessBundlingFileAccessBundlingFileAccess
  • BundlingOptions.bundlingFileAccessbundling_file_accessbundlingFileAccessBundlingFileAccessBundlingFileAccess
  • BundlingOptions.bundlingFileAccessbundling_file_accessbundlingFileAccessBundlingFileAccessBundlingFileAccess
  • BundlingOptions.bundlingFileAccessbundling_file_accessbundlingFileAccessBundlingFileAccessBundlingFileAccess