Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ functions
Functions
846 in github.com/AdRoll/baker
⨍
Functions
846
◇
Types & classes
221
↓ 2 callers
Function
pathToURI
(p string)
filter/external_match_test.go:324
↓ 2 callers
Method
processFileOrList
(f string)
input/list.go:381
↓ 2 callers
Function
randomLogLine
()
input/list_test.go:31
↓ 2 callers
Function
replaceEnvVars
replaceEnvVars replaces any string in the format ${VALUE} or $VALUE with the corresponding $VALUE environment variable
config.go:223
↓ 2 callers
Method
runFilterChain
()
topology.go:350
↓ 2 callers
Function
runSQLCommands
runSQLCommands is an helper function that will run some commands on an SQL transaction.
output/sqlite.go:111
↓ 2 callers
Method
setBit
setBit sets bit i (0-based, starting from LSB)
pkg/buffercache/bitmap.go:40
↓ 2 callers
Function
simpleHash
(r baker.Record, idx baker.FieldIndex)
examples/sharding/shard.go:23
↓ 2 callers
Function
testExternalMatchFiles
(t *testing.T, keepOnMatch bool, fields []string, want []bool)
filter/external_match_test.go:159
↓ 2 callers
Function
testFileWriterIntegration
(t *testing.T, tmpDir, pathString string, procs int, rotate time.Duration)
output/filewriter_test.go:373
↓ 2 callers
Function
testIntegrationS3
(callStop bool)
upload/s3_integration_test.go:52
↓ 2 callers
Function
testSQLiteInsertRows
(t *testing.T, raw bool)
output/sqlite_test.go:160
↓ 2 callers
Method
totalShards
()
input/kcl.go:158
↓ 2 callers
Method
uncompress
uncompress uncompresses b into the decompressor internal buffer, starting at pos. Returns how many uncompressed bytes have been written.
pkg/buffercache/compressor.go:87
↓ 2 callers
Method
updateValues
()
filter/external_match.go:227
↓ 2 callers
Function
writeTestLog
(tb testing.TB, w io.Writer, numlines int)
input/list_test.go:71
↓ 1 callers
Method
BeginWriting
(req *dynamodb.BatchWriteItemInput)
output/dyndb.go:159
↓ 1 callers
Method
CanShard
CanShards returns true if this output supports sharding.
api.go:120
↓ 1 callers
Function
Copy
(srcFile, dstFile string)
testutil/dir.go:51
↓ 1 callers
Function
CreateIfNotExists
(dir string, perm os.FileMode)
testutil/dir.go:77
↓ 1 callers
Method
Del
Del removes the given cache entry.
record.go:98
↓ 1 callers
Method
DeleteMessageWithContext
DeleteMessageWithContext does nothing since messages are removed from the queue as soon as they're requested.
input/sqs_test.go:521
↓ 1 callers
Function
DiffBytes
DiffBytes fails the test and shows differences, line by line, if any
testutil/golden.go:38
↓ 1 callers
Method
Error
()
pkg/buffercache/cache.go:75
↓ 1 callers
Function
Exists
(filePath string)
testutil/dir.go:69
↓ 1 callers
Function
GenerateMarkdownHelp
GenerateMarkdownHelp generates markdown-formatted textual help for a Baker component from its description structure. Markdown is written into w.
help_markdown.go:33
↓ 1 callers
Function
GenerateTextHelp
GenerateTextHelp generates non-formatted textual help for a Baker component from its description structure, into w.
help_text.go:14
↓ 1 callers
Method
GetQueueUrlWithContext
(ctx aws.Context, input *sqs.GetQueueUrlInput, options ...request.Option)
input/sqs_test.go:467
↓ 1 callers
Function
IsValidRegion
IsValidRegion reports whether a region is a valid aws region identifier.
pkg/awsutils/regions.go:31
↓ 1 callers
Method
Levels
()
metrics/datadog/hook.go:37
↓ 1 callers
Method
ListQueuesWithContext
(ctx aws.Context, input *sqs.ListQueuesInput, options ...request.Option)
input/sqs_test.go:450
↓ 1 callers
Method
Listen
Listen and serve. It serves client connection and broadcast request.
output/websocket/server.go:67
↓ 1 callers
Function
NewClearFields
NewClearFields returns a ClearFields filter.
filter/clear_fields.go:29
↓ 1 callers
Function
NewConcatenate
(cfg baker.FilterParams)
filter/concatenate.go:31
↓ 1 callers
Function
NewCountAndTag
(cfg baker.FilterParams)
filter/count_and_tag.go:44
↓ 1 callers
Function
NewCrypt
(cfg baker.FilterParams)
filter/crypt.go:57
↓ 1 callers
Function
NewDedup
(cfg baker.FilterParams)
filter/dedup.go:52
↓ 1 callers
Function
NewExpandList
(cfg baker.FilterParams)
filter/expand_list.go:64
↓ 1 callers
Method
NewFile
(sz int64)
input/inpututils/compressedstream.go:126
↓ 1 callers
Function
NewHash
(cfg baker.FilterParams)
filter/hash.go:49
↓ 1 callers
Function
NewMetadataLastModified
(cfg baker.FilterParams)
filter/metadata_lastmodified.go:29
↓ 1 callers
Function
NewNotNull
NewNotNull creates and configures a new NotNull filter.
filter/notnull.go:31
↓ 1 callers
Function
NewPartialClone
(cfg baker.FilterParams)
filter/partial_clone.go:25
↓ 1 callers
Function
NewRegexMatch
NewRegexMatch returns a RegexMatch filter.
filter/regex_match.go:36
↓ 1 callers
Function
NewReplaceFields
(cfg baker.FilterParams)
filter/replace_fields.go:29
↓ 1 callers
Function
NewSQS
(cfg baker.InputParams)
input/sqs.go:99
↓ 1 callers
Function
NewServer
NewServer creates new chat server.
output/websocket/server.go:29
↓ 1 callers
Function
NewSlice
NewSlice creates a new Slice filter
filter/slice.go:35
↓ 1 callers
Method
NewStatsReader
(r io.ReadCloser, sz int64)
input/inpututils/compressedstream.go:122
↓ 1 callers
Function
NewStringMatch
NewStringMatch returns a StringMatch filter.
filter/string_match.go:36
↓ 1 callers
Function
NewURLEscape
(cfg baker.FilterParams)
filter/url_escape.go:31
↓ 1 callers
Function
NewURLParam
(cfg baker.FilterParams)
filter/url_param.go:42
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/concatenate.go:69
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/replace_fields.go:99
↓ 1 callers
Method
Process
Process implements baker.Filter.
filter/timestamp.go:48
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/set_string_from_url.go:63
↓ 1 callers
Method
Process
(r baker.Record, next func(baker.Record))
filter/hash.go:104
↓ 1 callers
Method
Process
(r baker.Record, next func(baker.Record))
filter/crypt.go:96
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/url_param.go:58
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/expand_list.go:112
↓ 1 callers
Method
Process
Process is where the actual filtering takes place.
filter/clear_fields.go:51
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/url_escape.go:76
↓ 1 callers
Method
Process
Process is where the actual filtering takes place.
filter/regex_match.go:93
↓ 1 callers
Method
Process
(r baker.Record, next func(baker.Record))
filter/partial_clone.go:51
↓ 1 callers
Method
Process
Process implements baker.Filter.
filter/timestamp_range.go:90
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/count_and_tag.go:70
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/metadata_lastmodified.go:46
↓ 1 callers
Method
Process
Process is where the actual filtering takes place.
filter/string_match.go:75
↓ 1 callers
Method
Process
(l baker.Record, next func(baker.Record))
filter/dedup.go:81
↓ 1 callers
Method
Process
Process records, slicing src field and saving the result to the dest field
filter/slice.go:63
↓ 1 callers
Method
Process
Process implements baker.Filter.
filter/notnull.go:53
↓ 1 callers
Method
ProcessRecords
(shard *kinesis.Shard)
input/kinesis.go:106
↓ 1 callers
Method
ReceiveMessageWithContext
ReceiveMessageWithContext sends the first message for the requested queue, if any, then removes it from the queue.
input/sqs_test.go:486
↓ 1 callers
Function
RecordConformanceTest
RecordConformanceTest is a test helper that verifies the conformance of Record implementation with a set of requirements.
test_helper.go:11
↓ 1 callers
Method
Run
(input <-chan baker.OutputRecord, upch chan<- string)
output/filewriter.go:167
↓ 1 callers
Method
SendAll
SendAll sends a message to all connected clients. Used by the output component to broadcast the message to the clients
output/websocket/server.go:51
↓ 1 callers
Function
SetGCPercentIfNotSet
SetGCPercentIfNotSet sets the GC target percentage, unless GOGC environment variable is set, in which case SetGCPercentIfNotSet doesn't not override i
input/inpututils/gogc.go:11
↓ 1 callers
Function
SetLogLevel
SetLogLevel sets the global log level for the execution of the current tb. Though setting the log level is safe for use from concurrent goroutines, it
testutil/helpers.go:104
↓ 1 callers
Method
SetS3API
SetS3API allows to replace the S3API, for tests.
input/inpututils/s3.go:40
↓ 1 callers
Method
Shutdown
Shutdown is invoked by the Amazon Kinesis Client Library to indicate it will no longer send data records to this RecordProcessor instance.
input/kcl.go:272
↓ 1 callers
Method
Stop
Stop requires the currently running topology to stop safely, but as soon as possible. The stop request is handled by the input component. You can call
topology.go:294
↓ 1 callers
Method
Stop
()
upload/s3.go:205
↓ 1 callers
Method
add
(c *client)
output/websocket/server.go:41
↓ 1 callers
Function
assertColdLocation
(t *testing.T, loc location, bidx, cidx int)
pkg/buffercache/helper_test.go:117
↓ 1 callers
Function
assertKeyNotInHotCache
(t *testing.T, cache *BufferCache, key string)
pkg/buffercache/helper_test.go:93
↓ 1 callers
Function
assertRows
(t *testing.T, fname string, want [][]string)
output/sqlite_test.go:108
↓ 1 callers
Method
bytes
bytes returns the decompressor internal buffer, resliced up until byte n.
pkg/buffercache/compressor.go:109
↓ 1 callers
Function
checkHostPort
checkHostPort checks that addr ("host:port" format) is a free tcp port suitable for binding a listener. NOTE: use 'localhost:' to let the OS find a fr
baker_cli.go:160
↓ 1 callers
Method
clear
clear must be called with lock already held!
filter/metadata/cache.go:43
↓ 1 callers
Function
coldLocation
coldLocation returns a location pointing to a cold cache entry.
pkg/buffercache/location.go:36
↓ 1 callers
Method
constructKey
constructKey builds a key by concatenating field values
filter/dedup.go:92
↓ 1 callers
Function
contains
(s []string, e string)
output/websocket/client.go:25
↓ 1 callers
Method
convert
convert to raw config, which is a superset, so that the sqlite output can always use one type only
output/sqlite.go:48
↓ 1 callers
Method
copy
copy copies buf at index pos of the internal buffer, growing it if necessary.
pkg/buffercache/compressor.go:114
↓ 1 callers
Method
countInvalid
()
stats.go:184
↓ 1 callers
Method
createStatsCSV
()
output/stats.go:319
↓ 1 callers
Function
decompressFilesInDir
decompressFilesInDir decompresses all compressed (zstd/gzip) files it finds under root (recursively), and removes the compressed files in files with t
output/filewriter_test.go:469
↓ 1 callers
Method
decr
()
upload/s3.go:232
↓ 1 callers
Method
decrypt
([]byte)
filter/crypt.go:44
↓ 1 callers
Function
diff
(f1, f2 string)
e2e_test.go:74
← previous
next →
201–300 of 846, ranked by callers