Compare commits

...

1 Commits

Author SHA1 Message Date
Giacomo Guiulfo 60a0cec37a feat: add nfs-mount-v1 support 2018-12-28 09:53:04 -08:00
2 changed files with 14 additions and 0 deletions

View File

@ -183,6 +183,19 @@ function patchConfiguration(newConf, log, cb) {
}; };
} }
break; break;
case 'location-nfs-mount-v1':
location.type = 'pfs';
if (l.details) {
location.details = {
supportsVersioning: false,
bucketMatch: true,
pfsDaemonEndpoint: {
host: l,
port: 80,
},
};
}
break;
default: default:
log.info('unknown location type', { locationType: log.info('unknown location type', { locationType:
l.locationType }); l.locationType });

View File

@ -34,6 +34,7 @@ function getCapabilities() {
locationTypeDigitalOcean: true, locationTypeDigitalOcean: true,
locationTypeS3Custom: true, locationTypeS3Custom: true,
locationTypeSproxyd: true, locationTypeSproxyd: true,
locationTypeNFS: true,
preferredReadLocation: true, preferredReadLocation: true,
managedLifecycle: true, managedLifecycle: true,
secureChannelOptimizedPath: hasWSOptionalDependencies(), secureChannelOptimizedPath: hasWSOptionalDependencies(),