1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00
portainer/app/docker/components/volumesNFSForm/volumesNFSFormModel.js
baron_l 5222413532 feat(volume-creation) : NFS volume creation (#2083) (#2108)
* feat(volume-creation): NFS support for volume creation - layout

* feat(volume-creation): NFS support for volume creation

* fix(volume-creation): NFS style, display and check on submit

* refactor(volume-creation): remove useless controller + refactor var naming

* refactor(volume-creation): NFS wording, help and style
2018-08-09 10:33:16 +02:00

8 lines
No EOL
233 B
JavaScript

function VolumesNFSFormData() {
this.useNFS = false;
this.serverAddress = '';
this.mountPoint = '';
this.version = 'NFS4';
this.options = 'rw,noatime,rsize=8192,wsize=8192,tcp,timeo=14';
this.versions = ['NFS4', 'NFS'];
}