pachyderm 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/client/admin/admin_pb.rb +46 -0
- data/lib/client/admin/admin_services_pb.rb +25 -0
- data/lib/client/auth/auth_pb.rb +193 -0
- data/lib/client/auth/auth_services_pb.rb +44 -0
- data/lib/client/deploy/deploy_pb.rb +17 -0
- data/lib/client/deploy/deploy_services_pb.rb +22 -0
- data/lib/client/enterprise/enterprise_pb.rb +49 -0
- data/lib/client/enterprise/enterprise_services_pb.rb +33 -0
- data/lib/client/health/health_pb.rb +11 -0
- data/lib/client/health/health_services_pb.rb +22 -0
- data/lib/client/pfs/pfs_pb.rb +363 -0
- data/lib/client/pfs/pfs_services_pb.rb +117 -0
- data/lib/client/pkg/config/config_pb.rb +18 -0
- data/lib/client/pkg/shard/shard_pb.rb +102 -0
- data/lib/client/pps/pps_pb.rb +448 -0
- data/lib/client/pps/pps_services_pb.rb +53 -0
- data/lib/client/version/versionpb/version_pb.rb +18 -0
- data/lib/client/version/versionpb/version_services_pb.rb +22 -0
- data/lib/pachyderm.rb +29 -0
- metadata +62 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: client/health/health.proto for package 'health'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'client/health/health_pb'
|
6
|
+
|
7
|
+
module Health
|
8
|
+
module Health
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'health.Health'
|
16
|
+
|
17
|
+
rpc :Health, Google::Protobuf::Empty, Google::Protobuf::Empty
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,363 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: client/pfs/pfs.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/empty_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf/wrappers_pb'
|
9
|
+
require 'client/auth/auth_pb'
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_message "pfs.Repo" do
|
12
|
+
optional :name, :string, 1
|
13
|
+
end
|
14
|
+
add_message "pfs.Branch" do
|
15
|
+
optional :repo, :message, 1, "pfs.Repo"
|
16
|
+
optional :name, :string, 2
|
17
|
+
end
|
18
|
+
add_message "pfs.BranchInfo" do
|
19
|
+
optional :branch, :message, 4, "pfs.Branch"
|
20
|
+
optional :head, :message, 2, "pfs.Commit"
|
21
|
+
repeated :provenance, :message, 3, "pfs.Branch"
|
22
|
+
repeated :subvenance, :message, 5, "pfs.Branch"
|
23
|
+
repeated :direct_provenance, :message, 6, "pfs.Branch"
|
24
|
+
optional :name, :string, 1
|
25
|
+
end
|
26
|
+
add_message "pfs.BranchInfos" do
|
27
|
+
repeated :branch_info, :message, 1, "pfs.BranchInfo"
|
28
|
+
end
|
29
|
+
add_message "pfs.File" do
|
30
|
+
optional :commit, :message, 1, "pfs.Commit"
|
31
|
+
optional :path, :string, 2
|
32
|
+
end
|
33
|
+
add_message "pfs.Block" do
|
34
|
+
optional :hash, :string, 1
|
35
|
+
end
|
36
|
+
add_message "pfs.Object" do
|
37
|
+
optional :hash, :string, 1
|
38
|
+
end
|
39
|
+
add_message "pfs.Tag" do
|
40
|
+
optional :name, :string, 1
|
41
|
+
end
|
42
|
+
add_message "pfs.RepoInfo" do
|
43
|
+
optional :repo, :message, 1, "pfs.Repo"
|
44
|
+
optional :created, :message, 2, "google.protobuf.Timestamp"
|
45
|
+
optional :size_bytes, :uint64, 3
|
46
|
+
optional :description, :string, 5
|
47
|
+
repeated :branches, :message, 7, "pfs.Branch"
|
48
|
+
optional :auth_info, :message, 6, "pfs.RepoAuthInfo"
|
49
|
+
end
|
50
|
+
add_message "pfs.RepoAuthInfo" do
|
51
|
+
optional :access_level, :enum, 1, "auth.Scope"
|
52
|
+
end
|
53
|
+
add_message "pfs.Commit" do
|
54
|
+
optional :repo, :message, 1, "pfs.Repo"
|
55
|
+
optional :id, :string, 2
|
56
|
+
end
|
57
|
+
add_message "pfs.CommitRange" do
|
58
|
+
optional :lower, :message, 1, "pfs.Commit"
|
59
|
+
optional :upper, :message, 2, "pfs.Commit"
|
60
|
+
end
|
61
|
+
add_message "pfs.CommitInfo" do
|
62
|
+
optional :commit, :message, 1, "pfs.Commit"
|
63
|
+
optional :description, :string, 8
|
64
|
+
optional :parent_commit, :message, 2, "pfs.Commit"
|
65
|
+
repeated :child_commits, :message, 11, "pfs.Commit"
|
66
|
+
optional :started, :message, 3, "google.protobuf.Timestamp"
|
67
|
+
optional :finished, :message, 4, "google.protobuf.Timestamp"
|
68
|
+
optional :size_bytes, :uint64, 5
|
69
|
+
repeated :provenance, :message, 6, "pfs.Commit"
|
70
|
+
repeated :branch_provenance, :message, 10, "pfs.Branch"
|
71
|
+
optional :ready_provenance, :int64, 12
|
72
|
+
repeated :subvenance, :message, 9, "pfs.CommitRange"
|
73
|
+
optional :tree, :message, 7, "pfs.Object"
|
74
|
+
end
|
75
|
+
add_message "pfs.FileInfo" do
|
76
|
+
optional :file, :message, 1, "pfs.File"
|
77
|
+
optional :file_type, :enum, 2, "pfs.FileType"
|
78
|
+
optional :size_bytes, :uint64, 3
|
79
|
+
repeated :children, :string, 6
|
80
|
+
repeated :objects, :message, 8, "pfs.Object"
|
81
|
+
optional :hash, :bytes, 7
|
82
|
+
end
|
83
|
+
add_message "pfs.ByteRange" do
|
84
|
+
optional :lower, :uint64, 1
|
85
|
+
optional :upper, :uint64, 2
|
86
|
+
end
|
87
|
+
add_message "pfs.BlockRef" do
|
88
|
+
optional :block, :message, 1, "pfs.Block"
|
89
|
+
optional :range, :message, 2, "pfs.ByteRange"
|
90
|
+
end
|
91
|
+
add_message "pfs.ObjectInfo" do
|
92
|
+
optional :object, :message, 1, "pfs.Object"
|
93
|
+
optional :block_ref, :message, 2, "pfs.BlockRef"
|
94
|
+
end
|
95
|
+
add_message "pfs.CreateRepoRequest" do
|
96
|
+
optional :repo, :message, 1, "pfs.Repo"
|
97
|
+
optional :description, :string, 3
|
98
|
+
optional :update, :bool, 4
|
99
|
+
end
|
100
|
+
add_message "pfs.InspectRepoRequest" do
|
101
|
+
optional :repo, :message, 1, "pfs.Repo"
|
102
|
+
end
|
103
|
+
add_message "pfs.ListRepoRequest" do
|
104
|
+
end
|
105
|
+
add_message "pfs.ListRepoResponse" do
|
106
|
+
repeated :repo_info, :message, 1, "pfs.RepoInfo"
|
107
|
+
end
|
108
|
+
add_message "pfs.DeleteRepoRequest" do
|
109
|
+
optional :repo, :message, 1, "pfs.Repo"
|
110
|
+
optional :force, :bool, 2
|
111
|
+
optional :all, :bool, 3
|
112
|
+
end
|
113
|
+
add_message "pfs.StartCommitRequest" do
|
114
|
+
optional :parent, :message, 1, "pfs.Commit"
|
115
|
+
optional :description, :string, 4
|
116
|
+
optional :branch, :string, 3
|
117
|
+
repeated :provenance, :message, 2, "pfs.Commit"
|
118
|
+
end
|
119
|
+
add_message "pfs.BuildCommitRequest" do
|
120
|
+
optional :parent, :message, 1, "pfs.Commit"
|
121
|
+
optional :branch, :string, 4
|
122
|
+
repeated :provenance, :message, 2, "pfs.Commit"
|
123
|
+
optional :tree, :message, 3, "pfs.Object"
|
124
|
+
optional :ID, :string, 5
|
125
|
+
end
|
126
|
+
add_message "pfs.FinishCommitRequest" do
|
127
|
+
optional :commit, :message, 1, "pfs.Commit"
|
128
|
+
optional :description, :string, 2
|
129
|
+
optional :tree, :message, 3, "pfs.Object"
|
130
|
+
optional :empty, :bool, 4
|
131
|
+
end
|
132
|
+
add_message "pfs.InspectCommitRequest" do
|
133
|
+
optional :commit, :message, 1, "pfs.Commit"
|
134
|
+
optional :block_state, :enum, 2, "pfs.CommitState"
|
135
|
+
end
|
136
|
+
add_message "pfs.ListCommitRequest" do
|
137
|
+
optional :repo, :message, 1, "pfs.Repo"
|
138
|
+
optional :from, :message, 2, "pfs.Commit"
|
139
|
+
optional :to, :message, 3, "pfs.Commit"
|
140
|
+
optional :number, :uint64, 4
|
141
|
+
end
|
142
|
+
add_message "pfs.CommitInfos" do
|
143
|
+
repeated :commit_info, :message, 1, "pfs.CommitInfo"
|
144
|
+
end
|
145
|
+
add_message "pfs.CreateBranchRequest" do
|
146
|
+
optional :head, :message, 1, "pfs.Commit"
|
147
|
+
optional :s_branch, :string, 2
|
148
|
+
optional :branch, :message, 3, "pfs.Branch"
|
149
|
+
repeated :provenance, :message, 4, "pfs.Branch"
|
150
|
+
end
|
151
|
+
add_message "pfs.InspectBranchRequest" do
|
152
|
+
optional :branch, :message, 1, "pfs.Branch"
|
153
|
+
end
|
154
|
+
add_message "pfs.ListBranchRequest" do
|
155
|
+
optional :repo, :message, 1, "pfs.Repo"
|
156
|
+
end
|
157
|
+
add_message "pfs.DeleteBranchRequest" do
|
158
|
+
optional :branch, :message, 1, "pfs.Branch"
|
159
|
+
optional :force, :bool, 2
|
160
|
+
end
|
161
|
+
add_message "pfs.DeleteCommitRequest" do
|
162
|
+
optional :commit, :message, 1, "pfs.Commit"
|
163
|
+
end
|
164
|
+
add_message "pfs.FlushCommitRequest" do
|
165
|
+
repeated :commits, :message, 1, "pfs.Commit"
|
166
|
+
repeated :to_repos, :message, 2, "pfs.Repo"
|
167
|
+
end
|
168
|
+
add_message "pfs.SubscribeCommitRequest" do
|
169
|
+
optional :repo, :message, 1, "pfs.Repo"
|
170
|
+
optional :branch, :string, 2
|
171
|
+
optional :from, :message, 3, "pfs.Commit"
|
172
|
+
optional :state, :enum, 4, "pfs.CommitState"
|
173
|
+
end
|
174
|
+
add_message "pfs.GetFileRequest" do
|
175
|
+
optional :file, :message, 1, "pfs.File"
|
176
|
+
optional :offset_bytes, :int64, 2
|
177
|
+
optional :size_bytes, :int64, 3
|
178
|
+
end
|
179
|
+
add_message "pfs.OverwriteIndex" do
|
180
|
+
optional :index, :int64, 1
|
181
|
+
end
|
182
|
+
add_message "pfs.PutFileRequest" do
|
183
|
+
optional :file, :message, 1, "pfs.File"
|
184
|
+
optional :value, :bytes, 3
|
185
|
+
optional :url, :string, 5
|
186
|
+
optional :recursive, :bool, 6
|
187
|
+
optional :delimiter, :enum, 7, "pfs.Delimiter"
|
188
|
+
optional :target_file_datums, :int64, 8
|
189
|
+
optional :target_file_bytes, :int64, 9
|
190
|
+
optional :overwrite_index, :message, 10, "pfs.OverwriteIndex"
|
191
|
+
end
|
192
|
+
add_message "pfs.PutFileRecord" do
|
193
|
+
optional :size_bytes, :int64, 1
|
194
|
+
optional :object_hash, :string, 2
|
195
|
+
optional :overwrite_index, :message, 3, "pfs.OverwriteIndex"
|
196
|
+
end
|
197
|
+
add_message "pfs.PutFileRecords" do
|
198
|
+
optional :split, :bool, 1
|
199
|
+
repeated :records, :message, 2, "pfs.PutFileRecord"
|
200
|
+
optional :tombstone, :bool, 3
|
201
|
+
end
|
202
|
+
add_message "pfs.CopyFileRequest" do
|
203
|
+
optional :src, :message, 1, "pfs.File"
|
204
|
+
optional :dst, :message, 2, "pfs.File"
|
205
|
+
optional :overwrite, :bool, 3
|
206
|
+
end
|
207
|
+
add_message "pfs.InspectFileRequest" do
|
208
|
+
optional :file, :message, 1, "pfs.File"
|
209
|
+
end
|
210
|
+
add_message "pfs.ListFileRequest" do
|
211
|
+
optional :file, :message, 1, "pfs.File"
|
212
|
+
optional :full, :bool, 2
|
213
|
+
end
|
214
|
+
add_message "pfs.GlobFileRequest" do
|
215
|
+
optional :commit, :message, 1, "pfs.Commit"
|
216
|
+
optional :pattern, :string, 2
|
217
|
+
end
|
218
|
+
add_message "pfs.FileInfos" do
|
219
|
+
repeated :file_info, :message, 1, "pfs.FileInfo"
|
220
|
+
end
|
221
|
+
add_message "pfs.DiffFileRequest" do
|
222
|
+
optional :new_file, :message, 1, "pfs.File"
|
223
|
+
optional :old_file, :message, 2, "pfs.File"
|
224
|
+
optional :shallow, :bool, 3
|
225
|
+
end
|
226
|
+
add_message "pfs.DiffFileResponse" do
|
227
|
+
repeated :new_files, :message, 1, "pfs.FileInfo"
|
228
|
+
repeated :old_files, :message, 2, "pfs.FileInfo"
|
229
|
+
end
|
230
|
+
add_message "pfs.DeleteFileRequest" do
|
231
|
+
optional :file, :message, 1, "pfs.File"
|
232
|
+
end
|
233
|
+
add_message "pfs.PutObjectRequest" do
|
234
|
+
optional :value, :bytes, 1
|
235
|
+
repeated :tags, :message, 2, "pfs.Tag"
|
236
|
+
end
|
237
|
+
add_message "pfs.GetObjectsRequest" do
|
238
|
+
repeated :objects, :message, 1, "pfs.Object"
|
239
|
+
optional :offset_bytes, :uint64, 2
|
240
|
+
optional :size_bytes, :uint64, 3
|
241
|
+
optional :total_size, :uint64, 4
|
242
|
+
end
|
243
|
+
add_message "pfs.TagObjectRequest" do
|
244
|
+
optional :object, :message, 1, "pfs.Object"
|
245
|
+
repeated :tags, :message, 2, "pfs.Tag"
|
246
|
+
end
|
247
|
+
add_message "pfs.ListObjectsRequest" do
|
248
|
+
end
|
249
|
+
add_message "pfs.ListTagsRequest" do
|
250
|
+
optional :prefix, :string, 1
|
251
|
+
optional :include_object, :bool, 2
|
252
|
+
end
|
253
|
+
add_message "pfs.ListTagsResponse" do
|
254
|
+
optional :tag, :message, 1, "pfs.Tag"
|
255
|
+
optional :object, :message, 2, "pfs.Object"
|
256
|
+
end
|
257
|
+
add_message "pfs.DeleteObjectsRequest" do
|
258
|
+
repeated :objects, :message, 1, "pfs.Object"
|
259
|
+
end
|
260
|
+
add_message "pfs.DeleteObjectsResponse" do
|
261
|
+
end
|
262
|
+
add_message "pfs.DeleteTagsRequest" do
|
263
|
+
repeated :tags, :message, 1, "pfs.Tag"
|
264
|
+
end
|
265
|
+
add_message "pfs.DeleteTagsResponse" do
|
266
|
+
end
|
267
|
+
add_message "pfs.CheckObjectRequest" do
|
268
|
+
optional :object, :message, 1, "pfs.Object"
|
269
|
+
end
|
270
|
+
add_message "pfs.CheckObjectResponse" do
|
271
|
+
optional :exists, :bool, 1
|
272
|
+
end
|
273
|
+
add_message "pfs.Objects" do
|
274
|
+
repeated :objects, :message, 1, "pfs.Object"
|
275
|
+
end
|
276
|
+
add_message "pfs.ObjectIndex" do
|
277
|
+
map :objects, :string, :message, 1, "pfs.BlockRef"
|
278
|
+
map :tags, :string, :message, 2, "pfs.Object"
|
279
|
+
end
|
280
|
+
add_enum "pfs.FileType" do
|
281
|
+
value :RESERVED, 0
|
282
|
+
value :FILE, 1
|
283
|
+
value :DIR, 2
|
284
|
+
end
|
285
|
+
add_enum "pfs.CommitState" do
|
286
|
+
value :STARTED, 0
|
287
|
+
value :READY, 1
|
288
|
+
value :FINISHED, 2
|
289
|
+
end
|
290
|
+
add_enum "pfs.Delimiter" do
|
291
|
+
value :NONE, 0
|
292
|
+
value :JSON, 1
|
293
|
+
value :LINE, 2
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
module Pfs
|
298
|
+
Repo = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Repo").msgclass
|
299
|
+
Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Branch").msgclass
|
300
|
+
BranchInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.BranchInfo").msgclass
|
301
|
+
BranchInfos = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.BranchInfos").msgclass
|
302
|
+
File = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.File").msgclass
|
303
|
+
Block = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Block").msgclass
|
304
|
+
Object = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Object").msgclass
|
305
|
+
Tag = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Tag").msgclass
|
306
|
+
RepoInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.RepoInfo").msgclass
|
307
|
+
RepoAuthInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.RepoAuthInfo").msgclass
|
308
|
+
Commit = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Commit").msgclass
|
309
|
+
CommitRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CommitRange").msgclass
|
310
|
+
CommitInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CommitInfo").msgclass
|
311
|
+
FileInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.FileInfo").msgclass
|
312
|
+
ByteRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ByteRange").msgclass
|
313
|
+
BlockRef = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.BlockRef").msgclass
|
314
|
+
ObjectInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ObjectInfo").msgclass
|
315
|
+
CreateRepoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CreateRepoRequest").msgclass
|
316
|
+
InspectRepoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.InspectRepoRequest").msgclass
|
317
|
+
ListRepoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListRepoRequest").msgclass
|
318
|
+
ListRepoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListRepoResponse").msgclass
|
319
|
+
DeleteRepoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteRepoRequest").msgclass
|
320
|
+
StartCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.StartCommitRequest").msgclass
|
321
|
+
BuildCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.BuildCommitRequest").msgclass
|
322
|
+
FinishCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.FinishCommitRequest").msgclass
|
323
|
+
InspectCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.InspectCommitRequest").msgclass
|
324
|
+
ListCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListCommitRequest").msgclass
|
325
|
+
CommitInfos = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CommitInfos").msgclass
|
326
|
+
CreateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CreateBranchRequest").msgclass
|
327
|
+
InspectBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.InspectBranchRequest").msgclass
|
328
|
+
ListBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListBranchRequest").msgclass
|
329
|
+
DeleteBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteBranchRequest").msgclass
|
330
|
+
DeleteCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteCommitRequest").msgclass
|
331
|
+
FlushCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.FlushCommitRequest").msgclass
|
332
|
+
SubscribeCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.SubscribeCommitRequest").msgclass
|
333
|
+
GetFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.GetFileRequest").msgclass
|
334
|
+
OverwriteIndex = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.OverwriteIndex").msgclass
|
335
|
+
PutFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.PutFileRequest").msgclass
|
336
|
+
PutFileRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.PutFileRecord").msgclass
|
337
|
+
PutFileRecords = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.PutFileRecords").msgclass
|
338
|
+
CopyFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CopyFileRequest").msgclass
|
339
|
+
InspectFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.InspectFileRequest").msgclass
|
340
|
+
ListFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListFileRequest").msgclass
|
341
|
+
GlobFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.GlobFileRequest").msgclass
|
342
|
+
FileInfos = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.FileInfos").msgclass
|
343
|
+
DiffFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DiffFileRequest").msgclass
|
344
|
+
DiffFileResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DiffFileResponse").msgclass
|
345
|
+
DeleteFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteFileRequest").msgclass
|
346
|
+
PutObjectRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.PutObjectRequest").msgclass
|
347
|
+
GetObjectsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.GetObjectsRequest").msgclass
|
348
|
+
TagObjectRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.TagObjectRequest").msgclass
|
349
|
+
ListObjectsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListObjectsRequest").msgclass
|
350
|
+
ListTagsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListTagsRequest").msgclass
|
351
|
+
ListTagsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ListTagsResponse").msgclass
|
352
|
+
DeleteObjectsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteObjectsRequest").msgclass
|
353
|
+
DeleteObjectsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteObjectsResponse").msgclass
|
354
|
+
DeleteTagsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteTagsRequest").msgclass
|
355
|
+
DeleteTagsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.DeleteTagsResponse").msgclass
|
356
|
+
CheckObjectRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CheckObjectRequest").msgclass
|
357
|
+
CheckObjectResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CheckObjectResponse").msgclass
|
358
|
+
Objects = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Objects").msgclass
|
359
|
+
ObjectIndex = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.ObjectIndex").msgclass
|
360
|
+
FileType = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.FileType").enummodule
|
361
|
+
CommitState = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.CommitState").enummodule
|
362
|
+
Delimiter = Google::Protobuf::DescriptorPool.generated_pool.lookup("pfs.Delimiter").enummodule
|
363
|
+
end
|
@@ -0,0 +1,117 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: client/pfs/pfs.proto for package 'pfs'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'client/pfs/pfs_pb'
|
6
|
+
|
7
|
+
module Pfs
|
8
|
+
module API
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'pfs.API'
|
16
|
+
|
17
|
+
# Repo rpcs
|
18
|
+
# CreateRepo creates a new repo.
|
19
|
+
# An error is returned if the repo already exists.
|
20
|
+
rpc :CreateRepo, CreateRepoRequest, Google::Protobuf::Empty
|
21
|
+
# InspectRepo returns info about a repo.
|
22
|
+
rpc :InspectRepo, InspectRepoRequest, RepoInfo
|
23
|
+
# ListRepo returns info about all repos.
|
24
|
+
rpc :ListRepo, ListRepoRequest, ListRepoResponse
|
25
|
+
# DeleteRepo deletes a repo.
|
26
|
+
rpc :DeleteRepo, DeleteRepoRequest, Google::Protobuf::Empty
|
27
|
+
# Commit rpcs
|
28
|
+
# StartCommit creates a new write commit from a parent commit.
|
29
|
+
rpc :StartCommit, StartCommitRequest, Commit
|
30
|
+
# FinishCommit turns a write commit into a read commit.
|
31
|
+
rpc :FinishCommit, FinishCommitRequest, Google::Protobuf::Empty
|
32
|
+
# InspectCommit returns the info about a commit.
|
33
|
+
rpc :InspectCommit, InspectCommitRequest, CommitInfo
|
34
|
+
# ListCommit returns info about all commits. This is deprecated in favor of
|
35
|
+
# ListCommitStream.
|
36
|
+
rpc :ListCommit, ListCommitRequest, CommitInfos
|
37
|
+
# ListCommitStream is like ListCommit, but returns its results in a GRPC stream
|
38
|
+
rpc :ListCommitStream, ListCommitRequest, stream(CommitInfo)
|
39
|
+
# DeleteCommit deletes a commit.
|
40
|
+
rpc :DeleteCommit, DeleteCommitRequest, Google::Protobuf::Empty
|
41
|
+
# FlushCommit waits for downstream commits to finish
|
42
|
+
rpc :FlushCommit, FlushCommitRequest, stream(CommitInfo)
|
43
|
+
# SubscribeCommit subscribes for new commits on a given branch
|
44
|
+
rpc :SubscribeCommit, SubscribeCommitRequest, stream(CommitInfo)
|
45
|
+
# BuildCommit builds a commit that's backed by the given tree
|
46
|
+
rpc :BuildCommit, BuildCommitRequest, Commit
|
47
|
+
# CreateBranch creates a new branch
|
48
|
+
rpc :CreateBranch, CreateBranchRequest, Google::Protobuf::Empty
|
49
|
+
# InspectBranch returns info about a branch.
|
50
|
+
rpc :InspectBranch, InspectBranchRequest, BranchInfo
|
51
|
+
# ListBranch returns info about the heads of branches.
|
52
|
+
rpc :ListBranch, ListBranchRequest, BranchInfos
|
53
|
+
# DeleteBranch deletes a branch; note that the commits still exist.
|
54
|
+
rpc :DeleteBranch, DeleteBranchRequest, Google::Protobuf::Empty
|
55
|
+
# File rpcs
|
56
|
+
# PutFile writes the specified file to pfs.
|
57
|
+
rpc :PutFile, stream(PutFileRequest), Google::Protobuf::Empty
|
58
|
+
# CopyFile copies the contents of one file to another.
|
59
|
+
rpc :CopyFile, CopyFileRequest, Google::Protobuf::Empty
|
60
|
+
# GetFile returns a byte stream of the contents of the file.
|
61
|
+
rpc :GetFile, GetFileRequest, stream(Google::Protobuf::BytesValue)
|
62
|
+
# InspectFile returns info about a file.
|
63
|
+
rpc :InspectFile, InspectFileRequest, FileInfo
|
64
|
+
# ListFile returns info about all files. This is deprecated in favor of
|
65
|
+
# ListFileStream
|
66
|
+
rpc :ListFile, ListFileRequest, FileInfos
|
67
|
+
# ListFileStream is a streaming version of ListFile
|
68
|
+
# TODO(msteffen): When the dash has been updated to use ListFileStream,
|
69
|
+
# replace ListFile with this RPC (https://github.com/pachyderm/dash/issues/201)
|
70
|
+
rpc :ListFileStream, ListFileRequest, stream(FileInfo)
|
71
|
+
# GlobFile returns info about all files. This is deprecated in favor of
|
72
|
+
# GlobFileStream
|
73
|
+
rpc :GlobFile, GlobFileRequest, FileInfos
|
74
|
+
# GlobFileStream is a streaming version of GlobFile
|
75
|
+
# TODO(msteffen): When the dash has been updated to use GlobFileStream,
|
76
|
+
# replace GlobFile with this RPC (https://github.com/pachyderm/dash/issues/201)
|
77
|
+
rpc :GlobFileStream, GlobFileRequest, stream(FileInfo)
|
78
|
+
# DiffFile returns the differences between 2 paths at 2 commits.
|
79
|
+
rpc :DiffFile, DiffFileRequest, DiffFileResponse
|
80
|
+
# DeleteFile deletes a file.
|
81
|
+
rpc :DeleteFile, DeleteFileRequest, Google::Protobuf::Empty
|
82
|
+
# DeleteAll deletes everything
|
83
|
+
rpc :DeleteAll, Google::Protobuf::Empty, Google::Protobuf::Empty
|
84
|
+
end
|
85
|
+
|
86
|
+
Stub = Service.rpc_stub_class
|
87
|
+
end
|
88
|
+
module ObjectAPI
|
89
|
+
class Service
|
90
|
+
|
91
|
+
include GRPC::GenericService
|
92
|
+
|
93
|
+
self.marshal_class_method = :encode
|
94
|
+
self.unmarshal_class_method = :decode
|
95
|
+
self.service_name = 'pfs.ObjectAPI'
|
96
|
+
|
97
|
+
rpc :PutObject, stream(PutObjectRequest), Object
|
98
|
+
rpc :PutObjectSplit, stream(PutObjectRequest), Objects
|
99
|
+
rpc :GetObject, Object, stream(Google::Protobuf::BytesValue)
|
100
|
+
rpc :GetObjects, GetObjectsRequest, stream(Google::Protobuf::BytesValue)
|
101
|
+
rpc :TagObject, TagObjectRequest, Google::Protobuf::Empty
|
102
|
+
rpc :InspectObject, Object, ObjectInfo
|
103
|
+
# CheckObject checks if an object exists in the blob store without
|
104
|
+
# actually reading the object.
|
105
|
+
rpc :CheckObject, CheckObjectRequest, CheckObjectResponse
|
106
|
+
rpc :ListObjects, ListObjectsRequest, stream(Object)
|
107
|
+
rpc :DeleteObjects, DeleteObjectsRequest, DeleteObjectsResponse
|
108
|
+
rpc :GetTag, Tag, stream(Google::Protobuf::BytesValue)
|
109
|
+
rpc :InspectTag, Tag, ObjectInfo
|
110
|
+
rpc :ListTags, ListTagsRequest, stream(ListTagsResponse)
|
111
|
+
rpc :DeleteTags, DeleteTagsRequest, DeleteTagsResponse
|
112
|
+
rpc :Compact, Google::Protobuf::Empty, Google::Protobuf::Empty
|
113
|
+
end
|
114
|
+
|
115
|
+
Stub = Service.rpc_stub_class
|
116
|
+
end
|
117
|
+
end
|