serverWhiteListOption=cmdServer.Flag.String("whiteList","","comma separated Ip addresses having write permission. No limit if empty.")
serverWhiteListOption=cmdServer.Flag.String("whiteList","","comma separated Ip addresses having write permission. No limit if empty.")
serverDisableHttp=cmdServer.Flag.Bool("disableHttp",false,"disable http requests, only gRPC operations are allowed.")
serverDisableHttp=cmdServer.Flag.Bool("disableHttp",false,"disable http requests, only gRPC operations are allowed.")
volumeDataFolders=cmdServer.Flag.String("dir",os.TempDir(),"directories to store data files. dir[,dir]...")
volumeDataFolders=cmdServer.Flag.String("dir",os.TempDir(),"directories to store data files. dir[,dir]...")
volumeMaxDataVolumeCounts=cmdServer.Flag.String("volume.max","7","maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.")
volumeMaxDataVolumeCounts=cmdServer.Flag.String("volume.max","8","maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.")
volumeMinFreeSpacePercent=cmdServer.Flag.String("volume.minFreeSpacePercent","0","minimum free disk space(in percents). Low disk space will mark all volumes as ReadOnly.")
volumeMinFreeSpacePercent=cmdServer.Flag.String("volume.minFreeSpacePercent","0","minimum free disk space(in percents). Low disk space will mark all volumes as ReadOnly.")
// pulseSeconds = cmdServer.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats")
// pulseSeconds = cmdServer.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats")
volumeFolders=cmdVolume.Flag.String("dir",os.TempDir(),"directories to store data files. dir[,dir]...")
volumeFolders=cmdVolume.Flag.String("dir",os.TempDir(),"directories to store data files. dir[,dir]...")
maxVolumeCounts=cmdVolume.Flag.String("max","7","maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.")
maxVolumeCounts=cmdVolume.Flag.String("max","8","maximum numbers of volumes, count[,count]... If set to zero, the limit will be auto configured.")
volumeWhiteListOption=cmdVolume.Flag.String("whiteList","","comma separated Ip addresses having write permission. No limit if empty.")
volumeWhiteListOption=cmdVolume.Flag.String("whiteList","","comma separated Ip addresses having write permission. No limit if empty.")
minFreeSpacePercent=cmdVolume.Flag.String("minFreeSpacePercent","0","minimum free disk space(in percents). Low disk space will mark all volumes as ReadOnly.")
minFreeSpacePercent=cmdVolume.Flag.String("minFreeSpacePercent","0","minimum free disk space(in percents). Low disk space will mark all volumes as ReadOnly.")