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