...
1 package filesystem
2
3
4
5
6
7
8
9
10 type AppendModeType string
11
12 const (
13
14 Autocreate AppendModeType = "autocreate"
15 )
16
17
18 func PossibleAppendModeTypeValues() []AppendModeType {
19 return []AppendModeType{Autocreate}
20 }
21
22
23 type Exception string
24
25 const (
26
27 ExceptionAccessControlException Exception = "AccessControlException"
28
29 ExceptionAdlsRemoteException Exception = "AdlsRemoteException"
30
31 ExceptionBadOffsetException Exception = "BadOffsetException"
32
33 ExceptionFileAlreadyExistsException Exception = "FileAlreadyExistsException"
34
35 ExceptionFileNotFoundException Exception = "FileNotFoundException"
36
37 ExceptionIllegalArgumentException Exception = "IllegalArgumentException"
38
39 ExceptionIOException Exception = "IOException"
40
41 ExceptionRuntimeException Exception = "RuntimeException"
42
43 ExceptionSecurityException Exception = "SecurityException"
44
45 ExceptionThrottledException Exception = "ThrottledException"
46
47 ExceptionUnsupportedOperationException Exception = "UnsupportedOperationException"
48 )
49
50
51 func PossibleExceptionValues() []Exception {
52 return []Exception{ExceptionAccessControlException, ExceptionAdlsRemoteException, ExceptionBadOffsetException, ExceptionFileAlreadyExistsException, ExceptionFileNotFoundException, ExceptionIllegalArgumentException, ExceptionIOException, ExceptionRuntimeException, ExceptionSecurityException, ExceptionThrottledException, ExceptionUnsupportedOperationException}
53 }
54
55
56 type ExpiryOptionType string
57
58 const (
59
60 Absolute ExpiryOptionType = "Absolute"
61
62 NeverExpire ExpiryOptionType = "NeverExpire"
63
64 RelativeToCreationDate ExpiryOptionType = "RelativeToCreationDate"
65
66 RelativeToNow ExpiryOptionType = "RelativeToNow"
67 )
68
69
70 func PossibleExpiryOptionTypeValues() []ExpiryOptionType {
71 return []ExpiryOptionType{Absolute, NeverExpire, RelativeToCreationDate, RelativeToNow}
72 }
73
74
75 type FileType string
76
77 const (
78
79 DIRECTORY FileType = "DIRECTORY"
80
81 FILE FileType = "FILE"
82 )
83
84
85 func PossibleFileTypeValues() []FileType {
86 return []FileType{DIRECTORY, FILE}
87 }
88
89
90 type SyncFlag string
91
92 const (
93
94 CLOSE SyncFlag = "CLOSE"
95
96 DATA SyncFlag = "DATA"
97
98 METADATA SyncFlag = "METADATA"
99 )
100
101
102 func PossibleSyncFlagValues() []SyncFlag {
103 return []SyncFlag{CLOSE, DATA, METADATA}
104 }
105
View as plain text