@jsonjoy.com/json-pack 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/nfs/v3/Nfsv3Decoder.js +10 -10
- package/lib/nfs/v3/Nfsv3Decoder.js.map +1 -1
- package/lib/nfs/v3/Nfsv3Encoder.js +10 -20
- package/lib/nfs/v3/Nfsv3Encoder.js.map +1 -1
- package/lib/nfs/v3/locks/NlmDecoder.d.ts +33 -0
- package/lib/nfs/v3/locks/NlmDecoder.js +209 -0
- package/lib/nfs/v3/locks/NlmDecoder.js.map +1 -0
- package/lib/nfs/v3/locks/NlmEncoder.d.ts +35 -0
- package/lib/nfs/v3/locks/NlmEncoder.js +182 -0
- package/lib/nfs/v3/locks/NlmEncoder.js.map +1 -0
- package/lib/nfs/v3/locks/constants.d.ts +39 -0
- package/lib/nfs/v3/locks/constants.js +3 -0
- package/lib/nfs/v3/locks/constants.js.map +1 -0
- package/lib/nfs/v3/locks/messages.d.ts +96 -0
- package/lib/nfs/v3/locks/messages.js +130 -0
- package/lib/nfs/v3/locks/messages.js.map +1 -0
- package/lib/nfs/v3/locks/structs.d.ts +31 -0
- package/lib/nfs/v3/locks/structs.js +42 -0
- package/lib/nfs/v3/locks/structs.js.map +1 -0
- package/lib/nfs/v3/messages.d.ts +16 -17
- package/lib/nfs/v3/messages.js.map +1 -1
- package/lib/nfs/v3/mount/MountDecoder.d.ts +21 -0
- package/lib/nfs/v3/mount/MountDecoder.js +135 -0
- package/lib/nfs/v3/mount/MountDecoder.js.map +1 -0
- package/lib/nfs/v3/mount/MountEncoder.d.ts +23 -0
- package/lib/nfs/v3/mount/MountEncoder.js +125 -0
- package/lib/nfs/v3/mount/MountEncoder.js.map +1 -0
- package/lib/nfs/v3/mount/constants.d.ts +27 -0
- package/lib/nfs/v3/mount/constants.js +3 -0
- package/lib/nfs/v3/mount/constants.js.map +1 -0
- package/lib/nfs/v3/mount/messages.d.ts +37 -0
- package/lib/nfs/v3/mount/messages.js +51 -0
- package/lib/nfs/v3/mount/messages.js.map +1 -0
- package/lib/nfs/v3/mount/structs.d.ts +22 -0
- package/lib/nfs/v3/mount/structs.js +33 -0
- package/lib/nfs/v3/mount/structs.js.map +1 -0
- package/lib/nfs/v3/structs.d.ts +4 -5
- package/lib/nfs/v3/structs.js.map +1 -1
- package/lib/nfs/v4/FullNfsv4Encoder.d.ts +28 -0
- package/lib/nfs/v4/FullNfsv4Encoder.js +73 -0
- package/lib/nfs/v4/FullNfsv4Encoder.js.map +1 -0
- package/lib/nfs/v4/Nfsv4Decoder.d.ts +106 -0
- package/lib/nfs/v4/Nfsv4Decoder.js +884 -0
- package/lib/nfs/v4/Nfsv4Decoder.js.map +1 -0
- package/lib/nfs/v4/Nfsv4Encoder.d.ts +99 -0
- package/lib/nfs/v4/Nfsv4Encoder.js +843 -0
- package/lib/nfs/v4/Nfsv4Encoder.js.map +1 -0
- package/lib/nfs/v4/constants.d.ts +313 -0
- package/lib/nfs/v4/constants.js +3 -0
- package/lib/nfs/v4/constants.js.map +1 -0
- package/lib/nfs/v4/errors.d.ts +6 -0
- package/lib/nfs/v4/errors.js +16 -0
- package/lib/nfs/v4/errors.js.map +1 -0
- package/lib/nfs/v4/index.d.ts +6 -0
- package/lib/nfs/v4/index.js +10 -0
- package/lib/nfs/v4/index.js.map +1 -0
- package/lib/nfs/v4/messages.d.ts +522 -0
- package/lib/nfs/v4/messages.js +731 -0
- package/lib/nfs/v4/messages.js.map +1 -0
- package/lib/nfs/v4/structs.d.ts +207 -0
- package/lib/nfs/v4/structs.js +285 -0
- package/lib/nfs/v4/structs.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,731 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Nfsv4OpenDowngradeRequest = exports.Nfsv4OpenConfirmResponse = exports.Nfsv4OpenConfirmResOk = exports.Nfsv4OpenConfirmRequest = exports.Nfsv4OpenattrResponse = exports.Nfsv4OpenattrRequest = exports.Nfsv4OpenResponse = exports.Nfsv4OpenResOk = exports.Nfsv4OpenRequest = exports.Nfsv4NverifyResponse = exports.Nfsv4NverifyRequest = exports.Nfsv4LookuppResponse = exports.Nfsv4LookuppRequest = exports.Nfsv4LookupResponse = exports.Nfsv4LookupRequest = exports.Nfsv4LockuResponse = exports.Nfsv4LockuResOk = exports.Nfsv4LockuRequest = exports.Nfsv4LocktResponse = exports.Nfsv4LocktResDenied = exports.Nfsv4LocktRequest = exports.Nfsv4LockResponse = exports.Nfsv4LockResDenied = exports.Nfsv4LockResOk = exports.Nfsv4LockRequest = exports.Nfsv4LinkResponse = exports.Nfsv4LinkResOk = exports.Nfsv4LinkRequest = exports.Nfsv4GetfhResponse = exports.Nfsv4GetfhResOk = exports.Nfsv4GetfhRequest = exports.Nfsv4GetattrResponse = exports.Nfsv4GetattrResOk = exports.Nfsv4GetattrRequest = exports.Nfsv4DelegreturnResponse = exports.Nfsv4DelegreturnRequest = exports.Nfsv4DelegpurgeResponse = exports.Nfsv4DelegpurgeRequest = exports.Nfsv4CreateResponse = exports.Nfsv4CreateResOk = exports.Nfsv4CreateRequest = exports.Nfsv4CommitResponse = exports.Nfsv4CommitResOk = exports.Nfsv4CommitRequest = exports.Nfsv4CloseResponse = exports.Nfsv4CloseResOk = exports.Nfsv4CloseRequest = exports.Nfsv4AccessResponse = exports.Nfsv4AccessResOk = exports.Nfsv4AccessRequest = void 0;
|
|
4
|
+
exports.Nfsv4CompoundRequest = exports.Nfsv4IllegalResponse = exports.Nfsv4IllegalRequest = exports.Nfsv4ReleaseLockOwnerResponse = exports.Nfsv4ReleaseLockOwnerRequest = exports.Nfsv4WriteResponse = exports.Nfsv4WriteResOk = exports.Nfsv4WriteRequest = exports.Nfsv4VerifyResponse = exports.Nfsv4VerifyRequest = exports.Nfsv4SetclientidConfirmResponse = exports.Nfsv4SetclientidConfirmRequest = exports.Nfsv4SetclientidResponse = exports.Nfsv4SetclientidResOk = exports.Nfsv4SetclientidRequest = exports.Nfsv4SetattrResponse = exports.Nfsv4SetattrResOk = exports.Nfsv4SetattrRequest = exports.Nfsv4SecinfoResponse = exports.Nfsv4SecinfoResOk = exports.Nfsv4SecinfoRequest = exports.Nfsv4SavefhResponse = exports.Nfsv4SavefhRequest = exports.Nfsv4RestorefhResponse = exports.Nfsv4RestorefhRequest = exports.Nfsv4RenewResponse = exports.Nfsv4RenewRequest = exports.Nfsv4RenameResponse = exports.Nfsv4RenameResOk = exports.Nfsv4RenameRequest = exports.Nfsv4RemoveResponse = exports.Nfsv4RemoveResOk = exports.Nfsv4RemoveRequest = exports.Nfsv4ReadlinkResponse = exports.Nfsv4ReadlinkResOk = exports.Nfsv4ReadlinkRequest = exports.Nfsv4ReaddirResponse = exports.Nfsv4ReaddirResOk = exports.Nfsv4ReaddirRequest = exports.Nfsv4ReadResponse = exports.Nfsv4ReadResOk = exports.Nfsv4ReadRequest = exports.Nfsv4PutrootfhResponse = exports.Nfsv4PutrootfhRequest = exports.Nfsv4PutpubfhResponse = exports.Nfsv4PutpubfhRequest = exports.Nfsv4PutfhResponse = exports.Nfsv4PutfhRequest = exports.Nfsv4OpenDowngradeResponse = exports.Nfsv4OpenDowngradeResOk = void 0;
|
|
5
|
+
exports.Nfsv4CbCompoundResponse = exports.Nfsv4CbCompoundRequest = exports.Nfsv4CbIllegalResponse = exports.Nfsv4CbIllegalRequest = exports.Nfsv4CbRecallResponse = exports.Nfsv4CbRecallRequest = exports.Nfsv4CbGetattrResponse = exports.Nfsv4CbGetattrResOk = exports.Nfsv4CbGetattrRequest = exports.Nfsv4CompoundResponse = void 0;
|
|
6
|
+
class Nfsv4AccessRequest {
|
|
7
|
+
constructor(access) {
|
|
8
|
+
this.access = access;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.Nfsv4AccessRequest = Nfsv4AccessRequest;
|
|
12
|
+
class Nfsv4AccessResOk {
|
|
13
|
+
constructor(supported, access) {
|
|
14
|
+
this.supported = supported;
|
|
15
|
+
this.access = access;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.Nfsv4AccessResOk = Nfsv4AccessResOk;
|
|
19
|
+
class Nfsv4AccessResponse {
|
|
20
|
+
constructor(status, resok) {
|
|
21
|
+
this.status = status;
|
|
22
|
+
this.resok = resok;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.Nfsv4AccessResponse = Nfsv4AccessResponse;
|
|
26
|
+
class Nfsv4CloseRequest {
|
|
27
|
+
constructor(seqid, openStateid) {
|
|
28
|
+
this.seqid = seqid;
|
|
29
|
+
this.openStateid = openStateid;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.Nfsv4CloseRequest = Nfsv4CloseRequest;
|
|
33
|
+
class Nfsv4CloseResOk {
|
|
34
|
+
constructor(openStateid) {
|
|
35
|
+
this.openStateid = openStateid;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.Nfsv4CloseResOk = Nfsv4CloseResOk;
|
|
39
|
+
class Nfsv4CloseResponse {
|
|
40
|
+
constructor(status, resok) {
|
|
41
|
+
this.status = status;
|
|
42
|
+
this.resok = resok;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.Nfsv4CloseResponse = Nfsv4CloseResponse;
|
|
46
|
+
class Nfsv4CommitRequest {
|
|
47
|
+
constructor(offset, count) {
|
|
48
|
+
this.offset = offset;
|
|
49
|
+
this.count = count;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.Nfsv4CommitRequest = Nfsv4CommitRequest;
|
|
53
|
+
class Nfsv4CommitResOk {
|
|
54
|
+
constructor(writeverf) {
|
|
55
|
+
this.writeverf = writeverf;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.Nfsv4CommitResOk = Nfsv4CommitResOk;
|
|
59
|
+
class Nfsv4CommitResponse {
|
|
60
|
+
constructor(status, resok) {
|
|
61
|
+
this.status = status;
|
|
62
|
+
this.resok = resok;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.Nfsv4CommitResponse = Nfsv4CommitResponse;
|
|
66
|
+
class Nfsv4CreateRequest {
|
|
67
|
+
constructor(objtype, objname) {
|
|
68
|
+
this.objtype = objtype;
|
|
69
|
+
this.objname = objname;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Nfsv4CreateRequest = Nfsv4CreateRequest;
|
|
73
|
+
class Nfsv4CreateResOk {
|
|
74
|
+
constructor(cinfo, attrset) {
|
|
75
|
+
this.cinfo = cinfo;
|
|
76
|
+
this.attrset = attrset;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.Nfsv4CreateResOk = Nfsv4CreateResOk;
|
|
80
|
+
class Nfsv4CreateResponse {
|
|
81
|
+
constructor(status, resok) {
|
|
82
|
+
this.status = status;
|
|
83
|
+
this.resok = resok;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.Nfsv4CreateResponse = Nfsv4CreateResponse;
|
|
87
|
+
class Nfsv4DelegpurgeRequest {
|
|
88
|
+
constructor(clientid) {
|
|
89
|
+
this.clientid = clientid;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.Nfsv4DelegpurgeRequest = Nfsv4DelegpurgeRequest;
|
|
93
|
+
class Nfsv4DelegpurgeResponse {
|
|
94
|
+
constructor(status) {
|
|
95
|
+
this.status = status;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.Nfsv4DelegpurgeResponse = Nfsv4DelegpurgeResponse;
|
|
99
|
+
class Nfsv4DelegreturnRequest {
|
|
100
|
+
constructor(delegStateid) {
|
|
101
|
+
this.delegStateid = delegStateid;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.Nfsv4DelegreturnRequest = Nfsv4DelegreturnRequest;
|
|
105
|
+
class Nfsv4DelegreturnResponse {
|
|
106
|
+
constructor(status) {
|
|
107
|
+
this.status = status;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.Nfsv4DelegreturnResponse = Nfsv4DelegreturnResponse;
|
|
111
|
+
class Nfsv4GetattrRequest {
|
|
112
|
+
constructor(attrRequest) {
|
|
113
|
+
this.attrRequest = attrRequest;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.Nfsv4GetattrRequest = Nfsv4GetattrRequest;
|
|
117
|
+
class Nfsv4GetattrResOk {
|
|
118
|
+
constructor(objAttributes) {
|
|
119
|
+
this.objAttributes = objAttributes;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.Nfsv4GetattrResOk = Nfsv4GetattrResOk;
|
|
123
|
+
class Nfsv4GetattrResponse {
|
|
124
|
+
constructor(status, resok) {
|
|
125
|
+
this.status = status;
|
|
126
|
+
this.resok = resok;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.Nfsv4GetattrResponse = Nfsv4GetattrResponse;
|
|
130
|
+
class Nfsv4GetfhRequest {
|
|
131
|
+
}
|
|
132
|
+
exports.Nfsv4GetfhRequest = Nfsv4GetfhRequest;
|
|
133
|
+
class Nfsv4GetfhResOk {
|
|
134
|
+
constructor(object) {
|
|
135
|
+
this.object = object;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.Nfsv4GetfhResOk = Nfsv4GetfhResOk;
|
|
139
|
+
class Nfsv4GetfhResponse {
|
|
140
|
+
constructor(status, resok) {
|
|
141
|
+
this.status = status;
|
|
142
|
+
this.resok = resok;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.Nfsv4GetfhResponse = Nfsv4GetfhResponse;
|
|
146
|
+
class Nfsv4LinkRequest {
|
|
147
|
+
constructor(newname) {
|
|
148
|
+
this.newname = newname;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.Nfsv4LinkRequest = Nfsv4LinkRequest;
|
|
152
|
+
class Nfsv4LinkResOk {
|
|
153
|
+
constructor(cinfo) {
|
|
154
|
+
this.cinfo = cinfo;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
exports.Nfsv4LinkResOk = Nfsv4LinkResOk;
|
|
158
|
+
class Nfsv4LinkResponse {
|
|
159
|
+
constructor(status, resok) {
|
|
160
|
+
this.status = status;
|
|
161
|
+
this.resok = resok;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.Nfsv4LinkResponse = Nfsv4LinkResponse;
|
|
165
|
+
class Nfsv4LockRequest {
|
|
166
|
+
constructor(locktype, reclaim, offset, length, locker) {
|
|
167
|
+
this.locktype = locktype;
|
|
168
|
+
this.reclaim = reclaim;
|
|
169
|
+
this.offset = offset;
|
|
170
|
+
this.length = length;
|
|
171
|
+
this.locker = locker;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
exports.Nfsv4LockRequest = Nfsv4LockRequest;
|
|
175
|
+
class Nfsv4LockResOk {
|
|
176
|
+
constructor(lockStateid) {
|
|
177
|
+
this.lockStateid = lockStateid;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
exports.Nfsv4LockResOk = Nfsv4LockResOk;
|
|
181
|
+
class Nfsv4LockResDenied {
|
|
182
|
+
constructor(offset, length, locktype, owner) {
|
|
183
|
+
this.offset = offset;
|
|
184
|
+
this.length = length;
|
|
185
|
+
this.locktype = locktype;
|
|
186
|
+
this.owner = owner;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
exports.Nfsv4LockResDenied = Nfsv4LockResDenied;
|
|
190
|
+
class Nfsv4LockResponse {
|
|
191
|
+
constructor(status, resok, denied) {
|
|
192
|
+
this.status = status;
|
|
193
|
+
this.resok = resok;
|
|
194
|
+
this.denied = denied;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.Nfsv4LockResponse = Nfsv4LockResponse;
|
|
198
|
+
class Nfsv4LocktRequest {
|
|
199
|
+
constructor(locktype, offset, length, owner) {
|
|
200
|
+
this.locktype = locktype;
|
|
201
|
+
this.offset = offset;
|
|
202
|
+
this.length = length;
|
|
203
|
+
this.owner = owner;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
exports.Nfsv4LocktRequest = Nfsv4LocktRequest;
|
|
207
|
+
class Nfsv4LocktResDenied {
|
|
208
|
+
constructor(offset, length, locktype, owner) {
|
|
209
|
+
this.offset = offset;
|
|
210
|
+
this.length = length;
|
|
211
|
+
this.locktype = locktype;
|
|
212
|
+
this.owner = owner;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
exports.Nfsv4LocktResDenied = Nfsv4LocktResDenied;
|
|
216
|
+
class Nfsv4LocktResponse {
|
|
217
|
+
constructor(status, denied) {
|
|
218
|
+
this.status = status;
|
|
219
|
+
this.denied = denied;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
exports.Nfsv4LocktResponse = Nfsv4LocktResponse;
|
|
223
|
+
class Nfsv4LockuRequest {
|
|
224
|
+
constructor(locktype, seqid, lockStateid, offset, length) {
|
|
225
|
+
this.locktype = locktype;
|
|
226
|
+
this.seqid = seqid;
|
|
227
|
+
this.lockStateid = lockStateid;
|
|
228
|
+
this.offset = offset;
|
|
229
|
+
this.length = length;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
exports.Nfsv4LockuRequest = Nfsv4LockuRequest;
|
|
233
|
+
class Nfsv4LockuResOk {
|
|
234
|
+
constructor(lockStateid) {
|
|
235
|
+
this.lockStateid = lockStateid;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
exports.Nfsv4LockuResOk = Nfsv4LockuResOk;
|
|
239
|
+
class Nfsv4LockuResponse {
|
|
240
|
+
constructor(status, resok) {
|
|
241
|
+
this.status = status;
|
|
242
|
+
this.resok = resok;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
exports.Nfsv4LockuResponse = Nfsv4LockuResponse;
|
|
246
|
+
class Nfsv4LookupRequest {
|
|
247
|
+
constructor(objname) {
|
|
248
|
+
this.objname = objname;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
exports.Nfsv4LookupRequest = Nfsv4LookupRequest;
|
|
252
|
+
class Nfsv4LookupResponse {
|
|
253
|
+
constructor(status) {
|
|
254
|
+
this.status = status;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
exports.Nfsv4LookupResponse = Nfsv4LookupResponse;
|
|
258
|
+
class Nfsv4LookuppRequest {
|
|
259
|
+
}
|
|
260
|
+
exports.Nfsv4LookuppRequest = Nfsv4LookuppRequest;
|
|
261
|
+
class Nfsv4LookuppResponse {
|
|
262
|
+
constructor(status) {
|
|
263
|
+
this.status = status;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
exports.Nfsv4LookuppResponse = Nfsv4LookuppResponse;
|
|
267
|
+
class Nfsv4NverifyRequest {
|
|
268
|
+
constructor(objAttributes) {
|
|
269
|
+
this.objAttributes = objAttributes;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
exports.Nfsv4NverifyRequest = Nfsv4NverifyRequest;
|
|
273
|
+
class Nfsv4NverifyResponse {
|
|
274
|
+
constructor(status) {
|
|
275
|
+
this.status = status;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
exports.Nfsv4NverifyResponse = Nfsv4NverifyResponse;
|
|
279
|
+
class Nfsv4OpenRequest {
|
|
280
|
+
constructor(seqid, shareAccess, shareDeny, owner, openhow, claim) {
|
|
281
|
+
this.seqid = seqid;
|
|
282
|
+
this.shareAccess = shareAccess;
|
|
283
|
+
this.shareDeny = shareDeny;
|
|
284
|
+
this.owner = owner;
|
|
285
|
+
this.openhow = openhow;
|
|
286
|
+
this.claim = claim;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
exports.Nfsv4OpenRequest = Nfsv4OpenRequest;
|
|
290
|
+
class Nfsv4OpenResOk {
|
|
291
|
+
constructor(stateid, cinfo, rflags, attrset, delegation) {
|
|
292
|
+
this.stateid = stateid;
|
|
293
|
+
this.cinfo = cinfo;
|
|
294
|
+
this.rflags = rflags;
|
|
295
|
+
this.attrset = attrset;
|
|
296
|
+
this.delegation = delegation;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
exports.Nfsv4OpenResOk = Nfsv4OpenResOk;
|
|
300
|
+
class Nfsv4OpenResponse {
|
|
301
|
+
constructor(status, resok) {
|
|
302
|
+
this.status = status;
|
|
303
|
+
this.resok = resok;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
exports.Nfsv4OpenResponse = Nfsv4OpenResponse;
|
|
307
|
+
class Nfsv4OpenattrRequest {
|
|
308
|
+
constructor(createdir) {
|
|
309
|
+
this.createdir = createdir;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
exports.Nfsv4OpenattrRequest = Nfsv4OpenattrRequest;
|
|
313
|
+
class Nfsv4OpenattrResponse {
|
|
314
|
+
constructor(status) {
|
|
315
|
+
this.status = status;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
exports.Nfsv4OpenattrResponse = Nfsv4OpenattrResponse;
|
|
319
|
+
class Nfsv4OpenConfirmRequest {
|
|
320
|
+
constructor(openStateid, seqid) {
|
|
321
|
+
this.openStateid = openStateid;
|
|
322
|
+
this.seqid = seqid;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
exports.Nfsv4OpenConfirmRequest = Nfsv4OpenConfirmRequest;
|
|
326
|
+
class Nfsv4OpenConfirmResOk {
|
|
327
|
+
constructor(openStateid) {
|
|
328
|
+
this.openStateid = openStateid;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
exports.Nfsv4OpenConfirmResOk = Nfsv4OpenConfirmResOk;
|
|
332
|
+
class Nfsv4OpenConfirmResponse {
|
|
333
|
+
constructor(status, resok) {
|
|
334
|
+
this.status = status;
|
|
335
|
+
this.resok = resok;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
exports.Nfsv4OpenConfirmResponse = Nfsv4OpenConfirmResponse;
|
|
339
|
+
class Nfsv4OpenDowngradeRequest {
|
|
340
|
+
constructor(openStateid, seqid, shareAccess, shareDeny) {
|
|
341
|
+
this.openStateid = openStateid;
|
|
342
|
+
this.seqid = seqid;
|
|
343
|
+
this.shareAccess = shareAccess;
|
|
344
|
+
this.shareDeny = shareDeny;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
exports.Nfsv4OpenDowngradeRequest = Nfsv4OpenDowngradeRequest;
|
|
348
|
+
class Nfsv4OpenDowngradeResOk {
|
|
349
|
+
constructor(openStateid) {
|
|
350
|
+
this.openStateid = openStateid;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
exports.Nfsv4OpenDowngradeResOk = Nfsv4OpenDowngradeResOk;
|
|
354
|
+
class Nfsv4OpenDowngradeResponse {
|
|
355
|
+
constructor(status, resok) {
|
|
356
|
+
this.status = status;
|
|
357
|
+
this.resok = resok;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
exports.Nfsv4OpenDowngradeResponse = Nfsv4OpenDowngradeResponse;
|
|
361
|
+
class Nfsv4PutfhRequest {
|
|
362
|
+
constructor(object) {
|
|
363
|
+
this.object = object;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
exports.Nfsv4PutfhRequest = Nfsv4PutfhRequest;
|
|
367
|
+
class Nfsv4PutfhResponse {
|
|
368
|
+
constructor(status) {
|
|
369
|
+
this.status = status;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
exports.Nfsv4PutfhResponse = Nfsv4PutfhResponse;
|
|
373
|
+
class Nfsv4PutpubfhRequest {
|
|
374
|
+
}
|
|
375
|
+
exports.Nfsv4PutpubfhRequest = Nfsv4PutpubfhRequest;
|
|
376
|
+
class Nfsv4PutpubfhResponse {
|
|
377
|
+
constructor(status) {
|
|
378
|
+
this.status = status;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
exports.Nfsv4PutpubfhResponse = Nfsv4PutpubfhResponse;
|
|
382
|
+
class Nfsv4PutrootfhRequest {
|
|
383
|
+
}
|
|
384
|
+
exports.Nfsv4PutrootfhRequest = Nfsv4PutrootfhRequest;
|
|
385
|
+
class Nfsv4PutrootfhResponse {
|
|
386
|
+
constructor(status) {
|
|
387
|
+
this.status = status;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
exports.Nfsv4PutrootfhResponse = Nfsv4PutrootfhResponse;
|
|
391
|
+
class Nfsv4ReadRequest {
|
|
392
|
+
constructor(stateid, offset, count) {
|
|
393
|
+
this.stateid = stateid;
|
|
394
|
+
this.offset = offset;
|
|
395
|
+
this.count = count;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
exports.Nfsv4ReadRequest = Nfsv4ReadRequest;
|
|
399
|
+
class Nfsv4ReadResOk {
|
|
400
|
+
constructor(eof, data) {
|
|
401
|
+
this.eof = eof;
|
|
402
|
+
this.data = data;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
exports.Nfsv4ReadResOk = Nfsv4ReadResOk;
|
|
406
|
+
class Nfsv4ReadResponse {
|
|
407
|
+
constructor(status, resok) {
|
|
408
|
+
this.status = status;
|
|
409
|
+
this.resok = resok;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
exports.Nfsv4ReadResponse = Nfsv4ReadResponse;
|
|
413
|
+
class Nfsv4ReaddirRequest {
|
|
414
|
+
constructor(cookie, cookieverf, dircount, maxcount, attrRequest) {
|
|
415
|
+
this.cookie = cookie;
|
|
416
|
+
this.cookieverf = cookieverf;
|
|
417
|
+
this.dircount = dircount;
|
|
418
|
+
this.maxcount = maxcount;
|
|
419
|
+
this.attrRequest = attrRequest;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
exports.Nfsv4ReaddirRequest = Nfsv4ReaddirRequest;
|
|
423
|
+
class Nfsv4ReaddirResOk {
|
|
424
|
+
constructor(cookieverf, entries, eof) {
|
|
425
|
+
this.cookieverf = cookieverf;
|
|
426
|
+
this.entries = entries;
|
|
427
|
+
this.eof = eof;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
exports.Nfsv4ReaddirResOk = Nfsv4ReaddirResOk;
|
|
431
|
+
class Nfsv4ReaddirResponse {
|
|
432
|
+
constructor(status, resok) {
|
|
433
|
+
this.status = status;
|
|
434
|
+
this.resok = resok;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
exports.Nfsv4ReaddirResponse = Nfsv4ReaddirResponse;
|
|
438
|
+
class Nfsv4ReadlinkRequest {
|
|
439
|
+
}
|
|
440
|
+
exports.Nfsv4ReadlinkRequest = Nfsv4ReadlinkRequest;
|
|
441
|
+
class Nfsv4ReadlinkResOk {
|
|
442
|
+
constructor(link) {
|
|
443
|
+
this.link = link;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
exports.Nfsv4ReadlinkResOk = Nfsv4ReadlinkResOk;
|
|
447
|
+
class Nfsv4ReadlinkResponse {
|
|
448
|
+
constructor(status, resok) {
|
|
449
|
+
this.status = status;
|
|
450
|
+
this.resok = resok;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
exports.Nfsv4ReadlinkResponse = Nfsv4ReadlinkResponse;
|
|
454
|
+
class Nfsv4RemoveRequest {
|
|
455
|
+
constructor(target) {
|
|
456
|
+
this.target = target;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
exports.Nfsv4RemoveRequest = Nfsv4RemoveRequest;
|
|
460
|
+
class Nfsv4RemoveResOk {
|
|
461
|
+
constructor(cinfo) {
|
|
462
|
+
this.cinfo = cinfo;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
exports.Nfsv4RemoveResOk = Nfsv4RemoveResOk;
|
|
466
|
+
class Nfsv4RemoveResponse {
|
|
467
|
+
constructor(status, resok) {
|
|
468
|
+
this.status = status;
|
|
469
|
+
this.resok = resok;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
exports.Nfsv4RemoveResponse = Nfsv4RemoveResponse;
|
|
473
|
+
class Nfsv4RenameRequest {
|
|
474
|
+
constructor(oldname, newname) {
|
|
475
|
+
this.oldname = oldname;
|
|
476
|
+
this.newname = newname;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
exports.Nfsv4RenameRequest = Nfsv4RenameRequest;
|
|
480
|
+
class Nfsv4RenameResOk {
|
|
481
|
+
constructor(sourceCinfo, targetCinfo) {
|
|
482
|
+
this.sourceCinfo = sourceCinfo;
|
|
483
|
+
this.targetCinfo = targetCinfo;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
exports.Nfsv4RenameResOk = Nfsv4RenameResOk;
|
|
487
|
+
class Nfsv4RenameResponse {
|
|
488
|
+
constructor(status, resok) {
|
|
489
|
+
this.status = status;
|
|
490
|
+
this.resok = resok;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
exports.Nfsv4RenameResponse = Nfsv4RenameResponse;
|
|
494
|
+
class Nfsv4RenewRequest {
|
|
495
|
+
constructor(clientid) {
|
|
496
|
+
this.clientid = clientid;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
exports.Nfsv4RenewRequest = Nfsv4RenewRequest;
|
|
500
|
+
class Nfsv4RenewResponse {
|
|
501
|
+
constructor(status) {
|
|
502
|
+
this.status = status;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
exports.Nfsv4RenewResponse = Nfsv4RenewResponse;
|
|
506
|
+
class Nfsv4RestorefhRequest {
|
|
507
|
+
}
|
|
508
|
+
exports.Nfsv4RestorefhRequest = Nfsv4RestorefhRequest;
|
|
509
|
+
class Nfsv4RestorefhResponse {
|
|
510
|
+
constructor(status) {
|
|
511
|
+
this.status = status;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
exports.Nfsv4RestorefhResponse = Nfsv4RestorefhResponse;
|
|
515
|
+
class Nfsv4SavefhRequest {
|
|
516
|
+
}
|
|
517
|
+
exports.Nfsv4SavefhRequest = Nfsv4SavefhRequest;
|
|
518
|
+
class Nfsv4SavefhResponse {
|
|
519
|
+
constructor(status) {
|
|
520
|
+
this.status = status;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
exports.Nfsv4SavefhResponse = Nfsv4SavefhResponse;
|
|
524
|
+
class Nfsv4SecinfoRequest {
|
|
525
|
+
constructor(name) {
|
|
526
|
+
this.name = name;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
exports.Nfsv4SecinfoRequest = Nfsv4SecinfoRequest;
|
|
530
|
+
class Nfsv4SecinfoResOk {
|
|
531
|
+
constructor(flavors) {
|
|
532
|
+
this.flavors = flavors;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
exports.Nfsv4SecinfoResOk = Nfsv4SecinfoResOk;
|
|
536
|
+
class Nfsv4SecinfoResponse {
|
|
537
|
+
constructor(status, resok) {
|
|
538
|
+
this.status = status;
|
|
539
|
+
this.resok = resok;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
exports.Nfsv4SecinfoResponse = Nfsv4SecinfoResponse;
|
|
543
|
+
class Nfsv4SetattrRequest {
|
|
544
|
+
constructor(stateid, objAttributes) {
|
|
545
|
+
this.stateid = stateid;
|
|
546
|
+
this.objAttributes = objAttributes;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
exports.Nfsv4SetattrRequest = Nfsv4SetattrRequest;
|
|
550
|
+
class Nfsv4SetattrResOk {
|
|
551
|
+
constructor(attrsset) {
|
|
552
|
+
this.attrsset = attrsset;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
exports.Nfsv4SetattrResOk = Nfsv4SetattrResOk;
|
|
556
|
+
class Nfsv4SetattrResponse {
|
|
557
|
+
constructor(status, resok) {
|
|
558
|
+
this.status = status;
|
|
559
|
+
this.resok = resok;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
exports.Nfsv4SetattrResponse = Nfsv4SetattrResponse;
|
|
563
|
+
class Nfsv4SetclientidRequest {
|
|
564
|
+
constructor(client, callback, callbackIdent) {
|
|
565
|
+
this.client = client;
|
|
566
|
+
this.callback = callback;
|
|
567
|
+
this.callbackIdent = callbackIdent;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
exports.Nfsv4SetclientidRequest = Nfsv4SetclientidRequest;
|
|
571
|
+
class Nfsv4SetclientidResOk {
|
|
572
|
+
constructor(clientid, setclientidConfirm) {
|
|
573
|
+
this.clientid = clientid;
|
|
574
|
+
this.setclientidConfirm = setclientidConfirm;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
exports.Nfsv4SetclientidResOk = Nfsv4SetclientidResOk;
|
|
578
|
+
class Nfsv4SetclientidResponse {
|
|
579
|
+
constructor(status, resok) {
|
|
580
|
+
this.status = status;
|
|
581
|
+
this.resok = resok;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
exports.Nfsv4SetclientidResponse = Nfsv4SetclientidResponse;
|
|
585
|
+
class Nfsv4SetclientidConfirmRequest {
|
|
586
|
+
constructor(clientid, setclientidConfirm) {
|
|
587
|
+
this.clientid = clientid;
|
|
588
|
+
this.setclientidConfirm = setclientidConfirm;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
exports.Nfsv4SetclientidConfirmRequest = Nfsv4SetclientidConfirmRequest;
|
|
592
|
+
class Nfsv4SetclientidConfirmResponse {
|
|
593
|
+
constructor(status) {
|
|
594
|
+
this.status = status;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
exports.Nfsv4SetclientidConfirmResponse = Nfsv4SetclientidConfirmResponse;
|
|
598
|
+
class Nfsv4VerifyRequest {
|
|
599
|
+
constructor(objAttributes) {
|
|
600
|
+
this.objAttributes = objAttributes;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
exports.Nfsv4VerifyRequest = Nfsv4VerifyRequest;
|
|
604
|
+
class Nfsv4VerifyResponse {
|
|
605
|
+
constructor(status) {
|
|
606
|
+
this.status = status;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
exports.Nfsv4VerifyResponse = Nfsv4VerifyResponse;
|
|
610
|
+
class Nfsv4WriteRequest {
|
|
611
|
+
constructor(stateid, offset, stable, data) {
|
|
612
|
+
this.stateid = stateid;
|
|
613
|
+
this.offset = offset;
|
|
614
|
+
this.stable = stable;
|
|
615
|
+
this.data = data;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
exports.Nfsv4WriteRequest = Nfsv4WriteRequest;
|
|
619
|
+
class Nfsv4WriteResOk {
|
|
620
|
+
constructor(count, committed, writeverf) {
|
|
621
|
+
this.count = count;
|
|
622
|
+
this.committed = committed;
|
|
623
|
+
this.writeverf = writeverf;
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
exports.Nfsv4WriteResOk = Nfsv4WriteResOk;
|
|
627
|
+
class Nfsv4WriteResponse {
|
|
628
|
+
constructor(status, resok) {
|
|
629
|
+
this.status = status;
|
|
630
|
+
this.resok = resok;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
exports.Nfsv4WriteResponse = Nfsv4WriteResponse;
|
|
634
|
+
class Nfsv4ReleaseLockOwnerRequest {
|
|
635
|
+
constructor(lockOwner) {
|
|
636
|
+
this.lockOwner = lockOwner;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
exports.Nfsv4ReleaseLockOwnerRequest = Nfsv4ReleaseLockOwnerRequest;
|
|
640
|
+
class Nfsv4ReleaseLockOwnerResponse {
|
|
641
|
+
constructor(status) {
|
|
642
|
+
this.status = status;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
exports.Nfsv4ReleaseLockOwnerResponse = Nfsv4ReleaseLockOwnerResponse;
|
|
646
|
+
class Nfsv4IllegalRequest {
|
|
647
|
+
}
|
|
648
|
+
exports.Nfsv4IllegalRequest = Nfsv4IllegalRequest;
|
|
649
|
+
class Nfsv4IllegalResponse {
|
|
650
|
+
constructor(status) {
|
|
651
|
+
this.status = status;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
exports.Nfsv4IllegalResponse = Nfsv4IllegalResponse;
|
|
655
|
+
class Nfsv4CompoundRequest {
|
|
656
|
+
constructor(tag, minorversion, argarray) {
|
|
657
|
+
this.tag = tag;
|
|
658
|
+
this.minorversion = minorversion;
|
|
659
|
+
this.argarray = argarray;
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
exports.Nfsv4CompoundRequest = Nfsv4CompoundRequest;
|
|
663
|
+
class Nfsv4CompoundResponse {
|
|
664
|
+
constructor(status, tag, resarray) {
|
|
665
|
+
this.status = status;
|
|
666
|
+
this.tag = tag;
|
|
667
|
+
this.resarray = resarray;
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
exports.Nfsv4CompoundResponse = Nfsv4CompoundResponse;
|
|
671
|
+
class Nfsv4CbGetattrRequest {
|
|
672
|
+
constructor(fh, attrRequest) {
|
|
673
|
+
this.fh = fh;
|
|
674
|
+
this.attrRequest = attrRequest;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
exports.Nfsv4CbGetattrRequest = Nfsv4CbGetattrRequest;
|
|
678
|
+
class Nfsv4CbGetattrResOk {
|
|
679
|
+
constructor(objAttributes) {
|
|
680
|
+
this.objAttributes = objAttributes;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
exports.Nfsv4CbGetattrResOk = Nfsv4CbGetattrResOk;
|
|
684
|
+
class Nfsv4CbGetattrResponse {
|
|
685
|
+
constructor(status, resok) {
|
|
686
|
+
this.status = status;
|
|
687
|
+
this.resok = resok;
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
exports.Nfsv4CbGetattrResponse = Nfsv4CbGetattrResponse;
|
|
691
|
+
class Nfsv4CbRecallRequest {
|
|
692
|
+
constructor(stateid, truncate, fh) {
|
|
693
|
+
this.stateid = stateid;
|
|
694
|
+
this.truncate = truncate;
|
|
695
|
+
this.fh = fh;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
exports.Nfsv4CbRecallRequest = Nfsv4CbRecallRequest;
|
|
699
|
+
class Nfsv4CbRecallResponse {
|
|
700
|
+
constructor(status) {
|
|
701
|
+
this.status = status;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
exports.Nfsv4CbRecallResponse = Nfsv4CbRecallResponse;
|
|
705
|
+
class Nfsv4CbIllegalRequest {
|
|
706
|
+
}
|
|
707
|
+
exports.Nfsv4CbIllegalRequest = Nfsv4CbIllegalRequest;
|
|
708
|
+
class Nfsv4CbIllegalResponse {
|
|
709
|
+
constructor(status) {
|
|
710
|
+
this.status = status;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
exports.Nfsv4CbIllegalResponse = Nfsv4CbIllegalResponse;
|
|
714
|
+
class Nfsv4CbCompoundRequest {
|
|
715
|
+
constructor(tag, minorversion, callbackIdent, argarray) {
|
|
716
|
+
this.tag = tag;
|
|
717
|
+
this.minorversion = minorversion;
|
|
718
|
+
this.callbackIdent = callbackIdent;
|
|
719
|
+
this.argarray = argarray;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
exports.Nfsv4CbCompoundRequest = Nfsv4CbCompoundRequest;
|
|
723
|
+
class Nfsv4CbCompoundResponse {
|
|
724
|
+
constructor(status, tag, resarray) {
|
|
725
|
+
this.status = status;
|
|
726
|
+
this.tag = tag;
|
|
727
|
+
this.resarray = resarray;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
exports.Nfsv4CbCompoundResponse = Nfsv4CbCompoundResponse;
|
|
731
|
+
//# sourceMappingURL=messages.js.map
|