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