...
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 ExceptionUnsupportedOperationException Exception = "UnsupportedOperationException"
46 )
47
48
49 func PossibleExceptionValues() []Exception {
50 return []Exception{ExceptionAccessControlException, ExceptionAdlsRemoteException, ExceptionBadOffsetException, ExceptionFileAlreadyExistsException, ExceptionFileNotFoundException, ExceptionIllegalArgumentException, ExceptionIOException, ExceptionRuntimeException, ExceptionSecurityException, ExceptionUnsupportedOperationException}
51 }
52
53
54 type ExpiryOptionType string
55
56 const (
57
58 Absolute ExpiryOptionType = "Absolute"
59
60 NeverExpire ExpiryOptionType = "NeverExpire"
61
62 RelativeToCreationDate ExpiryOptionType = "RelativeToCreationDate"
63
64 RelativeToNow ExpiryOptionType = "RelativeToNow"
65 )
66
67
68 func PossibleExpiryOptionTypeValues() []ExpiryOptionType {
69 return []ExpiryOptionType{Absolute, NeverExpire, RelativeToCreationDate, RelativeToNow}
70 }
71
72
73 type FileType string
74
75 const (
76
77 DIRECTORY FileType = "DIRECTORY"
78
79 FILE FileType = "FILE"
80 )
81
82
83 func PossibleFileTypeValues() []FileType {
84 return []FileType{DIRECTORY, FILE}
85 }
86
View as plain text