...
1 package storagedatalake
2
3
4
5
6
7
8
9
10 type PathGetPropertiesAction string
11
12 const (
13
14 GetAccessControl PathGetPropertiesAction = "getAccessControl"
15 )
16
17
18 func PossiblePathGetPropertiesActionValues() []PathGetPropertiesAction {
19 return []PathGetPropertiesAction{GetAccessControl}
20 }
21
22
23 type PathLeaseAction string
24
25 const (
26
27 Acquire PathLeaseAction = "acquire"
28
29 Break PathLeaseAction = "break"
30
31 Change PathLeaseAction = "change"
32
33 Release PathLeaseAction = "release"
34
35 Renew PathLeaseAction = "renew"
36 )
37
38
39 func PossiblePathLeaseActionValues() []PathLeaseAction {
40 return []PathLeaseAction{Acquire, Break, Change, Release, Renew}
41 }
42
43
44 type PathRenameMode string
45
46 const (
47
48 Legacy PathRenameMode = "legacy"
49
50 Posix PathRenameMode = "posix"
51 )
52
53
54 func PossiblePathRenameModeValues() []PathRenameMode {
55 return []PathRenameMode{Legacy, Posix}
56 }
57
58
59 type PathResourceType string
60
61 const (
62
63 Directory PathResourceType = "directory"
64
65 File PathResourceType = "file"
66 )
67
68
69 func PossiblePathResourceTypeValues() []PathResourceType {
70 return []PathResourceType{Directory, File}
71 }
72
73
74 type PathUpdateAction string
75
76 const (
77
78 Append PathUpdateAction = "append"
79
80 Flush PathUpdateAction = "flush"
81
82 SetAccessControl PathUpdateAction = "setAccessControl"
83
84 SetProperties PathUpdateAction = "setProperties"
85 )
86
87
88 func PossiblePathUpdateActionValues() []PathUpdateAction {
89 return []PathUpdateAction{Append, Flush, SetAccessControl, SetProperties}
90 }
91
92
93 type PathUpdateLeaseAction string
94
95 const (
96
97 PathUpdateLeaseActionRelease PathUpdateLeaseAction = "release"
98
99 PathUpdateLeaseActionRenew PathUpdateLeaseAction = "renew"
100 )
101
102
103 func PossiblePathUpdateLeaseActionValues() []PathUpdateLeaseAction {
104 return []PathUpdateLeaseAction{PathUpdateLeaseActionRelease, PathUpdateLeaseActionRenew}
105 }
106
View as plain text