-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRecycle.proto
More file actions
74 lines (65 loc) · 1.45 KB
/
Recycle.proto
File metadata and controls
74 lines (65 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
syntax="proto3";
package eos.console;
option go_package = "eos.rest.gateway.service";
message RecycleProto {
enum RecycleType {
UID = 0;
RID = 1;
ALL = 2;
}
message LsProto {
bool FullDetails = 1;
bool NumericIds = 2;
bool MonitorFmt = 3;
string Date = 4;
int32 Maxentries = 5;
RecycleType Type = 6;
string RecycleId = 7;
}
message PurgeProto {
string Date = 1;
string Key = 2;
RecycleType Type = 3;
string RecycleId = 4;
}
message RestoreProto {
bool ForceOrigName = 1;
bool RestoreVersions = 2;
bool MakePath = 3;
string Key = 4;
}
message ConfigProto {
enum OpType {
ADD_BIN = 0;
RM_BIN = 1;
LIFETIME = 2;
RATIO = 3;
SIZE = 4;
INODES = 5;
POLL_INTERVAL = 6;
COLLECT_INTERVAL = 7;
REMOVE_INTERVAL = 8;
DRY_RUN = 9;
DUMP = 10;
ENABLE = 11;
ENFORCE = 12;
}
OpType op = 1;
string Subtree = 2;
int32 LifetimeSec = 3;
float Ratio = 4;
uint64 Size = 5; // Use by either SIZE or INODES
string value = 6;
}
message ProjectProto {
string path = 1;
string acl = 2;
}
oneof subcmd {
LsProto ls = 1;
PurgeProto purge = 2;
RestoreProto restore = 3;
ConfigProto config = 4;
ProjectProto project = 5;
}
}