|
|
@ -42,39 +42,39 @@ var ( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
type FilerOptions struct { |
|
|
type FilerOptions struct { |
|
|
masters *pb.ServerDiscovery |
|
|
|
|
|
mastersString *string |
|
|
|
|
|
ip *string |
|
|
|
|
|
bindIp *string |
|
|
|
|
|
port *int |
|
|
|
|
|
portGrpc *int |
|
|
|
|
|
publicPort *int |
|
|
|
|
|
filerGroup *string |
|
|
|
|
|
collection *string |
|
|
|
|
|
defaultReplicaPlacement *string |
|
|
|
|
|
disableDirListing *bool |
|
|
|
|
|
maxMB *int |
|
|
|
|
|
dirListingLimit *int |
|
|
|
|
|
dataCenter *string |
|
|
|
|
|
rack *string |
|
|
|
|
|
enableNotification *bool |
|
|
|
|
|
disableHttp *bool |
|
|
|
|
|
cipher *bool |
|
|
|
|
|
metricsHttpPort *int |
|
|
|
|
|
metricsHttpIp *string |
|
|
|
|
|
saveToFilerLimit *int |
|
|
|
|
|
defaultLevelDbDirectory *string |
|
|
|
|
|
concurrentUploadLimitMB *int |
|
|
|
|
|
concurrentFileUploadLimit *int |
|
|
|
|
|
debug *bool |
|
|
|
|
|
debugPort *int |
|
|
|
|
|
localSocket *string |
|
|
|
|
|
showUIDirectoryDelete *bool |
|
|
|
|
|
downloadMaxMBps *int |
|
|
|
|
|
diskType *string |
|
|
|
|
|
allowedOrigins *string |
|
|
|
|
|
exposeDirectoryData *bool |
|
|
|
|
|
certProvider certprovider.Provider |
|
|
|
|
|
|
|
|
masters *pb.ServerDiscovery |
|
|
|
|
|
mastersString *string |
|
|
|
|
|
ip *string |
|
|
|
|
|
bindIp *string |
|
|
|
|
|
port *int |
|
|
|
|
|
portGrpc *int |
|
|
|
|
|
publicPort *int |
|
|
|
|
|
filerGroup *string |
|
|
|
|
|
collection *string |
|
|
|
|
|
defaultReplicaPlacement *string |
|
|
|
|
|
disableDirListing *bool |
|
|
|
|
|
maxMB *int |
|
|
|
|
|
dirListingLimit *int |
|
|
|
|
|
dataCenter *string |
|
|
|
|
|
rack *string |
|
|
|
|
|
enableNotification *bool |
|
|
|
|
|
disableHttp *bool |
|
|
|
|
|
cipher *bool |
|
|
|
|
|
metricsHttpPort *int |
|
|
|
|
|
metricsHttpIp *string |
|
|
|
|
|
saveToFilerLimit *int |
|
|
|
|
|
defaultLevelDbDirectory *string |
|
|
|
|
|
concurrentUploadLimitMB *int |
|
|
|
|
|
concurrentFileUploadLimit *int |
|
|
|
|
|
debug *bool |
|
|
|
|
|
debugPort *int |
|
|
|
|
|
localSocket *string |
|
|
|
|
|
showUIDirectoryDelete *bool |
|
|
|
|
|
downloadMaxMBps *int |
|
|
|
|
|
diskType *string |
|
|
|
|
|
allowedOrigins *string |
|
|
|
|
|
exposeDirectoryData *bool |
|
|
|
|
|
certProvider certprovider.Provider |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func init() { |
|
|
func init() { |
|
|
|