Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/badoo/lsd
/ functions
Functions
325 in github.com/badoo/lsd
⨍
Functions
325
◇
Types & classes
62
↓ 1 callers
Method
GetPerCategorySettings
()
proto/lsd-config.pb.go:140
↓ 1 callers
Method
GetPeriodicScanInterval
()
proto/lsd-config.pb.go:343
↓ 1 callers
Method
GetRequestTimeout
()
proto/lsd-config.pb.go:385
↓ 1 callers
Method
GetServerConfig
()
proto/lsd-config.pb.go:69
↓ 1 callers
Method
GetUsageCheckInterval
()
proto/lsd-config.pb.go:315
↓ 1 callers
Method
GetWeight
()
proto/lsd-config.pb.go:371
↓ 1 callers
Method
IsEmpty
()
internal/client/offsets/db.go:67
↓ 1 callers
Method
IsFree
(ino uint64)
internal/client/usage/checker.go:25
↓ 1 callers
Method
Listen
()
internal/client/category/listener.go:61
↓ 1 callers
Method
MarshalTo
(data []byte)
proto/lsd.pb.go:373
↓ 1 callers
Method
MarshalTo
(data []byte)
proto/lsd.pb.go:406
↓ 1 callers
Method
MarshalTo
(data []byte)
proto/lsd.pb.go:507
↓ 1 callers
Method
MarshalTo
(data []byte)
proto/lsd.pb.go:542
↓ 1 callers
Function
NewNetworkRouter
(offsetsDb *offsets.Db, trafficManager *traffic.Manager, config *lsdProto.LsdConfigClientConfigT)
internal/client/network_router.go:17
↓ 1 callers
Method
Prepare
()
internal/server/category/plain_writer.go:18
↓ 1 callers
Method
RequestNewEvents
(rctx gpbrpc.RequestT, request *RequestNewEvents)
proto/lsd.gpbrpc.go:95
↓ 1 callers
Method
Rotate
(rotated after write, error)
internal/server/category/plain_writer.go:20
↓ 1 callers
Method
SetBacklogSize
(size int64)
internal/traffic/manager.go:52
↓ 1 callers
Method
SetOffset
(ino uint64, offset uint64)
internal/client/offsets/db.go:81
↓ 1 callers
Method
Size
()
proto/lsd.pb.go:261
↓ 1 callers
Method
Size
()
proto/lsd.pb.go:276
↓ 1 callers
Method
Size
()
proto/lsd.pb.go:319
↓ 1 callers
Method
Size
()
proto/lsd.pb.go:334
↓ 1 callers
Method
Start
()
internal/client/network/balancer.go:97
↓ 1 callers
Method
Stop
()
internal/client/network/balancer.go:113
↓ 1 callers
Function
UnescapeLine
(line []byte)
util/writer.go:105
↓ 1 callers
Method
Unwatch
(ino uint64)
internal/client/usage/checker.go:38
↓ 1 callers
Function
Watch
Watch starts to look through category's files and sends full file names that are ready to be processed to outChan if error occurs, Watch exits immedia
util/watcher.go:27
↓ 1 callers
Method
Write
(eventBytes []byte)
util/writer.go:38
↓ 1 callers
Method
accumulateBatch
()
internal/client/network/upstream.go:37
↓ 1 callers
Method
add
(name string)
internal/client/backlog.go:18
↓ 1 callers
Function
checkClient
(config *lsd.LsdConfigClientConfigT, backlogSize int)
internal/health/check.go:157
↓ 1 callers
Function
checkOffsets
(events []*lsdProto.RequestNewEventsEventT, offsets []*lsdProto.ResponseOffsetsOffsetT)
internal/client/network/upstream.go:180
↓ 1 callers
Function
checkServer
(config *lsd.LsdConfigServerConfigT)
internal/health/check.go:229
↓ 1 callers
Method
cleanInOperationMap
()
util/watcher.go:174
↓ 1 callers
Method
clearEmptyQueues
()
internal/client/network/balancer.go:325
↓ 1 callers
Method
confirmEvent
(offsetsDb *offsets.Db, event *lsdProto.ResponseOffsetsOffsetT)
internal/client/network/balancer.go:263
↓ 1 callers
Method
createCategoryDir
()
internal/server/category/chunked_writer.go:120
↓ 1 callers
Method
createCurrentSymlink
()
internal/server/category/chunked_writer.go:272
↓ 1 callers
Method
currentReceiver
()
internal/client/network/balancer.go:377
↓ 1 callers
Function
deleteUsedFiles
(procDir string, result map[uint64]bool)
internal/client/usage/files_linux.go:49
↓ 1 callers
Function
doDelete
(name string)
internal/server/hdfs/transfer.go:133
↓ 1 callers
Function
doUpload
(u *uploader, name string)
internal/server/hdfs/transfer.go:116
↓ 1 callers
Function
ensureDirExists
(dirPath string)
util/writer.go:109
↓ 1 callers
Function
escapeLine
does same as PHP's addcslashes($message, "\\\n") for compatibility with badoo PHP library
util/writer.go:101
↓ 1 callers
Method
findLastChunk
()
internal/server/category/chunked_writer.go:70
↓ 1 callers
Method
flush
()
internal/client/backlog.go:33
↓ 1 callers
Method
flushBacklogLoop
()
internal/client/fs_router.go:233
↓ 1 callers
Function
gcd
(x, y uint64)
internal/client/network/weight.go:3
↓ 1 callers
Function
getBacklogSize
(isUp bool, daemonConfig *badoo_config.ServiceConfigDaemonConfigT)
internal/health/check.go:128
↓ 1 callers
Method
getListenCh
(cat string)
internal/server/handler.go:162
↓ 1 callers
Method
getOrigFilePath
()
internal/client/category/event.go:43
↓ 1 callers
Method
getOutChanForCategory
(category string)
internal/client/network_router.go:107
↓ 1 callers
Method
getSettingsForCategory
(name string)
internal/server/handler.go:151
↓ 1 callers
Method
getUpstreamList
()
internal/client/network/balancer.go:127
↓ 1 callers
Method
getValidOffsetDbEntry
(event *Event)
internal/client/category/listener.go:228
↓ 1 callers
Method
increment
()
internal/server/category/chunk.go:51
↓ 1 callers
Function
isDaemonUp
(listenRows []*badoo_config.ServiceConfigDaemonConfigTListenT)
internal/health/check.go:104
↓ 1 callers
Method
isNewerThan
(otherCi *chunkInfo)
internal/server/category/chunk.go:41
↓ 1 callers
Method
listenLoop
(categoryName string, settings category.Settings, inCh chan *category.Event)
internal/server/handler.go:243
↓ 1 callers
Method
mainLoop
()
internal/client/fs_router.go:107
↓ 1 callers
Method
mainLoop
(offsetsDb *offsets.Db)
internal/client/network/balancer.go:163
↓ 1 callers
Method
maybeCleanFile
(request cleanRequest)
internal/client/category/listener.go:360
↓ 1 callers
Method
maybeDecompressEvent
(ev *lsd.RequestNewEventsEventT)
internal/server/handler.go:191
↓ 1 callers
Method
maybeRotate
(event Event, info *fileInfo)
internal/client/category/listener.go:297
↓ 1 callers
Function
maybeRunSubCommand
()
lsd.go:53
↓ 1 callers
Method
maybeStartWatching
(absolutePath string)
internal/client/fs_router.go:208
↓ 1 callers
Function
newBacklog
()
internal/client/backlog.go:7
↓ 1 callers
Function
newEventReader
(fp *os.File, isExclusive bool)
internal/client/category/reader.go:12
↓ 1 callers
Function
newFsRouter
(config *lsdProto.LsdConfigClientConfigT, tm *traffic.Manager, netRouter *NetworkRouter, offsetsDb *offsets.Db
internal/client/fs_router.go:31
↓ 1 callers
Function
newUploader
(hostname, user, namenode, dstDir, tmpDir string)
internal/server/hdfs/uploader.go:24
↓ 1 callers
Function
normalizeWeights
(r []*upstream)
internal/client/network/weight.go:10
↓ 1 callers
Function
parseFileName
(categoryName, fileName string)
internal/server/category/chunk.go:13
↓ 1 callers
Method
periodicScanLoop
()
internal/client/fs_router.go:256
↓ 1 callers
Method
processEvents
(categoryName string, settings category.Settings, inCh chan *category.Event)
internal/server/handler.go:268
↓ 1 callers
Method
processNewEvent
(event Event)
internal/client/category/listener.go:143
↓ 1 callers
Method
readBytes
(bufReader *bufio.Reader, isFinal bool)
internal/client/category/reader.go:27
↓ 1 callers
Function
readFile
(ctx context.Context, filename string, buf *bufio.Reader, linesCh chan []byte)
util/reader.go:51
↓ 1 callers
Method
readLines
(readBuffer *bufio.Reader, isFinal bool)
internal/client/category/file_info.go:24
↓ 1 callers
Method
registerEvent
(event *Event)
internal/client/category/listener.go:169
↓ 1 callers
Method
resetUpstream
()
internal/client/network/balancer.go:381
↓ 1 callers
Method
saveOffsetsLoop
()
internal/client/client.go:93
↓ 1 callers
Method
sendChanges
(info *fileInfo, event Event)
internal/client/category/listener.go:265
↓ 1 callers
Method
sendLoop
(trafficManager *traffic.Manager)
internal/client/network/upstream.go:94
↓ 1 callers
Method
size
()
internal/client/backlog.go:26
↓ 1 callers
Function
sozLsd
(x uint64)
proto/lsd.pb.go:360
↓ 1 callers
Method
start
()
internal/client/fs_router.go:82
↓ 1 callers
Function
transferCategory
(categoryPath string, numWorkers int, shouldDelete bool, u *uploader)
internal/server/hdfs/transfer.go:85
↓ 1 callers
Method
transferLoop
()
internal/client/network/balancer.go:135
↓ 1 callers
Method
updateTrafficStatsLoop
()
internal/client/client.go:85
↓ 1 callers
Method
upload
(sourcePath string)
internal/server/hdfs/uploader.go:51
↓ 1 callers
Method
usageCheckLoop
()
internal/client/fs_router.go:245
↓ 1 callers
Method
watch
()
util/watcher.go:65
Function
Check
()
internal/health/check.go:60
Method
Close
()
internal/server/category/chunked_writer.go:228
Method
Close
()
internal/server/category/plain_writer.go:118
Method
Close
()
internal/server/category/settings.go:89
Method
Dispatch
(rctx gpbrpc.RequestT, abstract_service interface{})
proto/lsd.gpbrpc.go:98
Method
Encode
(ev *lsdProto.RequestNewEventsEventT)
internal/client/network/encoder.go:20
Method
Encode
compresses event if enabled and not already compressed modifies event in place
internal/client/network/encoder.go:28
← previous
next →
101–200 of 325, ranked by callers