SYMBOL INDEX (347 symbols across 26 files) FILE: battery.go type cell (line 7) | type cell struct method stop (line 12) | func (c cell) stop() { method await (line 16) | func (c cell) await() { method enqueue (line 20) | func (c cell) enqueue(rec OutboxRecord) bool { type cellHandler (line 29) | type cellHandler function newCell (line 31) | func newCell(buffer int, handler cellHandler) cell { type battery (line 43) | type battery interface type concurrentBattery (line 50) | type concurrentBattery method stop (line 52) | func (b *concurrentBattery) stop() { method await (line 58) | func (b *concurrentBattery) await() { method shutdown (line 64) | func (b *concurrentBattery) shutdown() { method enqueue (line 69) | func (b *concurrentBattery) enqueue(rec OutboxRecord) bool { function newConcurrentBattery (line 76) | func newConcurrentBattery(concurrency int, buffer int, handler cellHandl... function hash (line 84) | func hash(str string) uint32 { FILE: battery_test.go function TestEnqueue_concurrencyOf1 (line 9) | func TestEnqueue_concurrencyOf1(t *testing.T) { function TestEnqueue_concurrencyOf2 (line 23) | func TestEnqueue_concurrencyOf2(t *testing.T) { function TestEnqueue_afterDone (line 37) | func TestEnqueue_afterDone(t *testing.T) { FILE: cmd/goharvest_example/example_main.go function main (line 12) | func main() { FILE: cmd/pump/pump_main.go constant recordsPerTxn (line 17) | recordsPerTxn = 20 function main (line 19) | func main() { function finaliseTx (line 98) | func finaliseTx(tx *sql.Tx) { FILE: cmd/reaper/reaper_main.go function panicOnError (line 17) | func panicOnError(scr scribe.Scribe, err error) { function main (line 24) | func main() { type LoggingConfig (line 66) | type LoggingConfig struct method setDefaults (line 70) | func (l *LoggingConfig) setDefaults() { type ReaperConfig (line 76) | type ReaperConfig struct method setDefaults (line 81) | func (r *ReaperConfig) setDefaults() { function unmarshal (line 86) | func unmarshal(in []byte) (ReaperConfig, error) { FILE: config.go function Duration (line 15) | func Duration(d time.Duration) *time.Duration { function Int (line 20) | func Int(i int) *int { type Limits (line 25) | type Limits struct method SetDefaults (line 54) | func (l *Limits) SetDefaults() { method Validate (line 76) | func (l Limits) Validate() error { method String (line 96) | func (l Limits) String() string { function defaultInt (line 41) | func defaultInt(i **int, def int) { function defaultDuration (line 47) | func defaultDuration(d **time.Duration, def time.Duration) { function minDuration (line 68) | func minDuration(d0, d1 time.Duration) time.Duration { type KafkaConfigMap (line 115) | type KafkaConfigMap type Config (line 118) | type Config struct method Validate (line 135) | func (c Config) Validate() error { method String (line 152) | func (c Config) String() string { method SetDefaults (line 170) | func (c *Config) SetDefaults() { function Unmarshal (line 210) | func Unmarshal(in []byte) (Config, error) { type stringGetter (line 219) | type stringGetter function getString (line 221) | func getString(def string, stringGetter stringGetter) string { FILE: config_test.go function TestDefaultKafkaConsumerProvider (line 17) | func TestDefaultKafkaConsumerProvider(t *testing.T) { function TestDefaultKafkaProducerProvider (line 28) | func TestDefaultKafkaProducerProvider(t *testing.T) { function TestDefaultNeliProvider (line 39) | func TestDefaultNeliProvider(t *testing.T) { function TestLimitsString (line 56) | func TestLimitsString(t *testing.T) { function TestLimitsFromYaml (line 62) | func TestLimitsFromYaml(t *testing.T) { function TestGetString (line 83) | func TestGetString(t *testing.T) { function TestValidateLimits (line 88) | func TestValidateLimits(t *testing.T) { function TestConfigString (line 119) | func TestConfigString(t *testing.T) { function TestValidateConfig_valid (line 125) | func TestValidateConfig_valid(t *testing.T) { function TestValidateConfig_invalidLimits (line 143) | func TestValidateConfig_invalidLimits(t *testing.T) { function TestValidateConfig_default (line 164) | func TestValidateConfig_default(t *testing.T) { function TestDefaultDrainTimeout (line 170) | func TestDefaultDrainTimeout(t *testing.T) { function TestUnmarshal_fullyPopulated (line 191) | func TestUnmarshal_fullyPopulated(t *testing.T) { function TestUnmarshal_empty (line 256) | func TestUnmarshal_empty(t *testing.T) { FILE: db.go type KafkaHeader (line 11) | type KafkaHeader struct method String (line 17) | func (h KafkaHeader) String() string { type KafkaHeaders (line 22) | type KafkaHeaders type OutboxRecord (line 25) | type OutboxRecord struct method String (line 41) | func (rec OutboxRecord) String() string { function String (line 36) | func String(str string) *string { type DatabaseBinding (line 52) | type DatabaseBinding interface type DatabaseBindingProvider (line 60) | type DatabaseBindingProvider FILE: db_mock_test.go type dbMockFuncs (line 8) | type dbMockFuncs struct type dbMockCounts (line 15) | type dbMockCounts struct type dbMock (line 22) | type dbMock struct method Mark (line 28) | func (m *dbMock) Mark(leaderID uuid.UUID, limit int) ([]OutboxRecord, ... method Purge (line 33) | func (m *dbMock) Purge(id int64) (bool, error) { method Reset (line 38) | func (m *dbMock) Reset(id int64) (bool, error) { method Dispose (line 43) | func (m *dbMock) Dispose() { method fillDefaults (line 48) | func (m *dbMock) fillDefaults() { function mockDatabaseBindingProvider (line 82) | func mockDatabaseBindingProvider(m *dbMock) func(string, string) (Databa... FILE: event.go type EventHandler (line 11) | type EventHandler type Event (line 14) | type Event interface type LeaderAcquired (line 19) | type LeaderAcquired struct method String (line 24) | func (e LeaderAcquired) String() string { method LeaderID (line 29) | func (e LeaderAcquired) LeaderID() uuid.UUID { type LeaderRefreshed (line 34) | type LeaderRefreshed struct method String (line 39) | func (e LeaderRefreshed) String() string { method LeaderID (line 44) | func (e LeaderRefreshed) LeaderID() uuid.UUID { type LeaderRevoked (line 49) | type LeaderRevoked struct method String (line 52) | func (e LeaderRevoked) String() string { type LeaderFenced (line 57) | type LeaderFenced struct method String (line 60) | func (e LeaderFenced) String() string { type MeterRead (line 65) | type MeterRead struct method String (line 70) | func (e MeterRead) String() string { method Stats (line 75) | func (e MeterRead) Stats() metric.MeterStats { FILE: event_test.go function TestLeaderAcquired_string (line 11) | func TestLeaderAcquired_string(t *testing.T) { function TestLeaderAcquired_getter (line 17) | func TestLeaderAcquired_getter(t *testing.T) { function TestLeaderRefreshed_string (line 23) | func TestLeaderRefreshed_string(t *testing.T) { function TestLeaderRefreshed_getter (line 29) | func TestLeaderRefreshed_getter(t *testing.T) { function TestLeaderRevoked_string (line 35) | func TestLeaderRevoked_string(t *testing.T) { function TestLeaderFenced_string (line 39) | func TestLeaderFenced_string(t *testing.T) { function TestMeterStats_string (line 43) | func TestMeterStats_string(t *testing.T) { FILE: goharvest_doc_test.go function Example (line 14) | func Example() { function TestExample (line 66) | func TestExample(t *testing.T) { function Example_withCustomLogger (line 70) | func Example_withCustomLogger() { function TestExample_withCustomLogger (line 101) | func TestExample_withCustomLogger(t *testing.T) { function Example_withSaslSslAndCustomProducerConfig (line 105) | func Example_withSaslSslAndCustomProducerConfig() { function TestExample_withSaslSslAndCustomProducerConfig (line 139) | func TestExample_withSaslSslAndCustomProducerConfig(t *testing.T) { function Example_withEventHandler (line 143) | func Example_withEventHandler() { function TestExample_withEventHandler (line 202) | func TestExample_withEventHandler(t *testing.T) { FILE: harvest.go type State (line 23) | type State constant Created (line 27) | Created State = iota constant Running (line 30) | Running constant Stopping (line 33) | Stopping constant Stopped (line 36) | Stopped type tracedPanic (line 39) | type tracedPanic struct method Error (line 44) | func (e tracedPanic) Error() string { type Harvest (line 49) | type Harvest interface constant watcherTimeout (line 61) | watcherTimeout = 60 * time.Second type harvest (line 63) | type harvest struct method State (line 115) | func (h *harvest) State() State { method logger (line 119) | func (h *harvest) logger() scribe.StdLogAPI { method scene (line 123) | func (h *harvest) scene() scribe.Scene { method cleanupFailedStart (line 129) | func (h *harvest) cleanupFailedStart() { method Start (line 140) | func (h *harvest) Start() error { method IsLeader (line 186) | func (h *harvest) IsLeader() bool { method LeaderID (line 192) | func (h *harvest) LeaderID() *uuid.UUID { method InFlightRecords (line 201) | func (h *harvest) InFlightRecords() int { method InFlightRecordKeys (line 207) | func (h *harvest) InFlightRecordKeys() []string { method SetEventHandler (line 223) | func (h *harvest) SetEventHandler(eventHandler EventHandler) { method shouldBeRunning (line 228) | func (h *harvest) shouldBeRunning() bool { method reportPanic (line 232) | func (h *harvest) reportPanic(goroutineName string) { method spawnSendBattery (line 282) | func (h *harvest) spawnSendBattery() { method shutdownSendBattery (line 368) | func (h *harvest) shutdownSendBattery() { method watch (line 419) | func (h *harvest) watch(operation string) *diags.Watcher { method refreshLeader (line 423) | func (h *harvest) refreshLeader() { method deadlineExceeded (line 430) | func (h *harvest) deadlineExceeded(deadline string, elapsed time.Durat... method updateStats (line 461) | func (h *harvest) updateStats() { method onAcquired (line 506) | func (h *harvest) onAcquired() { method onRevoked (line 513) | func (h *harvest) onRevoked() { method onFenced (line 519) | func (h *harvest) onFenced() { method cleanupLeaderState (line 525) | func (h *harvest) cleanupLeaderState() { method Stop (line 534) | func (h *harvest) Stop() { method Await (line 542) | func (h *harvest) Await() error { function New (line 84) | func New(config Config) (Harvest, error) { function ensureState (line 241) | func ensureState(expected bool, format string, args ...interface{}) { function backgroundPoller (line 247) | func backgroundPoller(h *harvest) { function stringPointerToByteArray (line 361) | func stringPointerToByteArray(str *string) []byte { function onLeaderPoll (line 389) | func onLeaderPoll(h *harvest) { function backgroundDeliveryHandler (line 440) | func backgroundDeliveryHandler(h *harvest, prod KafkaProducer, done chan... function onSuccessfulDelivery (line 471) | func onSuccessfulDelivery(h *harvest, rec OutboxRecord) { function onFailedDelivery (line 487) | func onFailedDelivery(h *harvest, rec OutboxRecord, err error) { FILE: harvest_test.go function wait (line 21) | func wait(t check.Tester) check.Timesert { function testLimits (line 26) | func testLimits() Limits { type fixtures (line 42) | type fixtures struct method setDefaults (line 46) | func (f *fixtures) setDefaults() { method create (line 54) | func (f fixtures) create() (scribe.MockScribe, *dbMock, *goneli.MockNe... type producerMockSetup (line 52) | type producerMockSetup type testEventHandler (line 89) | type testEventHandler struct method handler (line 94) | func (c *testEventHandler) handler() EventHandler { method list (line 102) | func (c *testEventHandler) list() []Event { method length (line 110) | func (c *testEventHandler) length() int { function TestCorrectInitialisation (line 116) | func TestCorrectInitialisation(t *testing.T) { function TestConfigError (line 151) | func TestConfigError(t *testing.T) { function TestErrorDuringDBInitialisation (line 161) | func TestErrorDuringDBInitialisation(t *testing.T) { function TestErrorDuringNeliInitialisation (line 174) | func TestErrorDuringNeliInitialisation(t *testing.T) { function TestErrorDuringProducerConfiguration (line 188) | func TestErrorDuringProducerConfiguration(t *testing.T) { function TestErrorDuringProducerInitialisation (line 200) | func TestErrorDuringProducerInitialisation(t *testing.T) { function TestUncaughtPanic_backgroundPoller (line 232) | func TestUncaughtPanic_backgroundPoller(t *testing.T) { function TestUncaughtPanic_backgroundDeliveryHandler (line 259) | func TestUncaughtPanic_backgroundDeliveryHandler(t *testing.T) { function TestBasicLeaderElectionAndRevocation (line 296) | func TestBasicLeaderElectionAndRevocation(t *testing.T) { function TestMetrics (line 387) | func TestMetrics(t *testing.T) { function TestHandleNonMessageEvent (line 426) | func TestHandleNonMessageEvent(t *testing.T) { function TestThrottleKeys (line 458) | func TestThrottleKeys(t *testing.T) { function TestPollDeadlineExceeded (line 543) | func TestPollDeadlineExceeded(t *testing.T) { function TestQueueLimitExceeded (line 579) | func TestQueueLimitExceeded(t *testing.T) { function TestDrainInFlightRecords_failedDelivery (line 615) | func TestDrainInFlightRecords_failedDelivery(t *testing.T) { function TestErrorInMarkQuery (line 670) | func TestErrorInMarkQuery(t *testing.T) { function TestErrorInProduce (line 699) | func TestErrorInProduce(t *testing.T) { function TestReset (line 767) | func TestReset(t *testing.T) { function TestErrorInPurgeAndResetQueries (line 822) | func TestErrorInPurgeAndResetQueries(t *testing.T) { function TestIncompletePurgeAndResetQueries (line 898) | func TestIncompletePurgeAndResetQueries(t *testing.T) { function TestEnsureState (line 957) | func TestEnsureState(t *testing.T) { function intEqual (line 965) | func intEqual(expected int, intSupplier func() int) func(t check.Tester) { function lengthEqual (line 971) | func lengthEqual(expected int, sliceSupplier func() []string) func(t che... function atLeast (line 977) | func atLeast(min int, f func() int) check.Assertion { function isTrue (line 983) | func isTrue(f func() bool) check.Assertion { function isFalse (line 989) | func isFalse(f func() bool) check.Assertion { function isNotNil (line 995) | func isNotNil(f func() interface{}) check.Assertion { function assertErrorContaining (line 1001) | func assertErrorContaining(t *testing.T, f func() error, substr string) { function assertNoError (line 1008) | func assertNoError(t *testing.T, f func() error) { function newTimedOutError (line 1013) | func newTimedOutError() kafka.Error { function generatePartitions (line 1017) | func generatePartitions(indexes ...int32) []kafka.TopicPartition { function generateRecords (line 1025) | func generateRecords(numRecords int, startID int) []OutboxRecord { function generateCyclicKeyedRecords (line 1043) | func generateCyclicKeyedRecords(numKeys int, numRecords int, startID int... function message (line 1061) | func message(record OutboxRecord, err error) *kafka.Message { function deliverAll (line 1072) | func deliverAll(records []OutboxRecord, err error, events chan kafka.Eve... FILE: int/faulty_kafka_test.go type ProducerFaultSpecs (line 9) | type ProducerFaultSpecs struct method build (line 14) | func (specs ProducerFaultSpecs) build() producerFaults { function FaultyKafkaProducerProvider (line 21) | func FaultyKafkaProducerProvider(realProvider goharvest.KafkaProducerPro... type producerFaults (line 31) | type producerFaults struct type faultyProducer (line 36) | type faultyProducer struct method Events (line 79) | func (f *faultyProducer) Events() chan kafka.Event { method Produce (line 83) | func (f *faultyProducer) Produce(msg *kafka.Message, deliveryChan chan... method Close (line 90) | func (f *faultyProducer) Close() { function newFaultyProducer (line 42) | func newFaultyProducer(real goharvest.KafkaProducer, faults producerFaul... FILE: int/harvest_int_test.go type externals (line 29) | type externals struct method close (line 127) | func (x *externals) close() { constant kafkaNamespace (line 36) | kafkaNamespace = "goharvest_test" constant topic (line 37) | topic = kafkaNamespace + ".topic" constant partitions (line 38) | partitions = 10 constant dbSchema (line 39) | dbSchema = "goharvest_test" constant outboxTable (line 40) | outboxTable = dbSchema + ".outbox" constant leaderTopic (line 41) | leaderTopic = kafkaNamespace + ".neli" constant leaderGroupID (line 42) | leaderGroupID = kafkaNamespace + ".group" constant receiverGroupID (line 43) | receiverGroupID = kafkaNamespace + ".receiver_group" constant bootstrapServers (line 44) | bootstrapServers = "localhost:9092" constant dataSource (line 45) | dataSource = "host=localhost port=5432 user=postgres ... constant generateInterval (line 46) | generateInterval = 5 * time.Millisecond constant generateRecordsPerTxn (line 47) | generateRecordsPerTxn = 20 constant generateMinRecords (line 48) | generateMinRecords = 100 constant generateUniqueKeys (line 49) | generateUniqueKeys = 10 constant receiverPollDuration (line 50) | receiverPollDuration = 500 * time.Millisecond constant receiverNoMessagesWarningTime (line 51) | receiverNoMessagesWarningTime = 10 * time.Second constant waitTimeout (line 52) | waitTimeout = 90 * time.Second function openExternals (line 58) | func openExternals() externals { function wait (line 133) | func wait(t check.Tester) check.Timesert { function TestOneNode_withFailures (line 137) | func TestOneNode_withFailures(t *testing.T) { function TestFourNodes_withFailures (line 144) | func TestFourNodes_withFailures(t *testing.T) { function TestEightNodes_withoutFailures (line 151) | func TestEightNodes_withoutFailures(t *testing.T) { function test (line 155) | func test(t *testing.T, numHarvests int, spawnInterval time.Duration, pr... function sleepWithDeadline (line 265) | func sleepWithDeadline(duration time.Duration) { type generator (line 273) | type generator struct method stop (line 279) | func (g generator) stop() chan int { function startGenerator (line 284) | func startGenerator(t *testing.T, testID uuid.UUID, db *sql.DB, interval... function finaliseTx (line 359) | func finaliseTx(t *testing.T, tx *sql.Tx) error { type receiver (line 366) | type receiver struct method stop (line 373) | func (r receiver) stop() chan int { function startReceiver (line 378) | func startReceiver(t *testing.T, testID uuid.UUID, cons *kafka.Consumer)... function isTimedOutError (line 514) | func isTimedOutError(err error) bool { function isFatalError (line 519) | func isFatalError(err error) bool { function installSigQuitHandler (line 526) | func installSigQuitHandler() { FILE: kafka.go type KafkaConsumer (line 15) | type KafkaConsumer interface type KafkaConsumerProvider (line 22) | type KafkaConsumerProvider type KafkaProducer (line 25) | type KafkaProducer interface type KafkaProducerProvider (line 32) | type KafkaProducerProvider function StandardKafkaConsumerProvider (line 39) | func StandardKafkaConsumerProvider() KafkaConsumerProvider { function StandardKafkaProducerProvider (line 46) | func StandardKafkaProducerProvider() KafkaProducerProvider { function toKafkaNativeConfig (line 56) | func toKafkaNativeConfig(conf *KafkaConfigMap) *kafka.ConfigMap { function copyKafkaConfig (line 64) | func copyKafkaConfig(configMap KafkaConfigMap) KafkaConfigMap { function putAllKafkaConfig (line 70) | func putAllKafkaConfig(source, target KafkaConfigMap) { function setKafkaConfig (line 76) | func setKafkaConfig(configMap KafkaConfigMap, key string, value interfac... function setKafkaConfigs (line 86) | func setKafkaConfigs(configMap, toSet KafkaConfigMap) error { function toNativeKafkaHeaders (line 96) | func toNativeKafkaHeaders(headers KafkaHeaders) (nativeHeaders []kafka.H... FILE: kafka_mock_test.go type consMockFuncs (line 10) | type consMockFuncs struct type consMockCounts (line 16) | type consMockCounts struct type consMock (line 22) | type consMock struct method Subscribe (line 29) | func (m *consMock) Subscribe(topic string, rebalanceCb kafka.Rebalance... method ReadMessage (line 35) | func (m *consMock) ReadMessage(timeout time.Duration) (*kafka.Message,... method Close (line 49) | func (m *consMock) Close() error { method fillDefaults (line 54) | func (m *consMock) fillDefaults() { function mockKafkaConsumerProvider (line 78) | func mockKafkaConsumerProvider(m *consMock) func(conf *KafkaConfigMap) (... type prodMockFuncs (line 84) | type prodMockFuncs struct type prodMockCounts (line 90) | type prodMockCounts struct type prodMock (line 96) | type prodMock struct method Events (line 102) | func (m *prodMock) Events() chan kafka.Event { method Produce (line 107) | func (m *prodMock) Produce(msg *kafka.Message, deliveryChan chan kafka... method Close (line 112) | func (m *prodMock) Close() { method fillDefaults (line 117) | func (m *prodMock) fillDefaults() { function mockKafkaProducerProvider (line 141) | func mockKafkaProducerProvider(m *prodMock) func(conf *KafkaConfigMap) (... FILE: metric/meter.go type MeterStats (line 11) | type MeterStats struct method String (line 21) | func (s MeterStats) String() string { type Meter (line 35) | type Meter struct method String (line 48) | func (m Meter) String() string { method Reset (line 69) | func (m *Meter) Reset() { method Add (line 77) | func (m *Meter) Add(amount int64) { method MaybeStats (line 83) | func (m *Meter) MaybeStats() *MeterStats { method MaybeStatsCall (line 113) | func (m *Meter) MaybeStatsCall(cb MeterStatsCallback) bool { method MaybeStatsLog (line 124) | func (m *Meter) MaybeStatsLog(logger scribe.Logger) bool { constant timeFormat (line 45) | timeFormat = "2006-01-02T15:04:05" function NewMeter (line 60) | func NewMeter(name string, snapshotInterval time.Duration) *Meter { type MeterStatsCallback (line 109) | type MeterStatsCallback FILE: metric/meter_test.go function wait (line 13) | func wait(t *testing.T) check.Timesert { function TestMeterString (line 17) | func TestMeterString(t *testing.T) { function TestMeterMaybeStats (line 24) | func TestMeterMaybeStats(t *testing.T) { function TestMeterMaybeStatsCall (line 60) | func TestMeterMaybeStatsCall(t *testing.T) { function TestMeterMaybeStatsLog (line 79) | func TestMeterMaybeStatsLog(t *testing.T) { FILE: neli.go type NeliProvider (line 6) | type NeliProvider function StandardNeliProvider (line 9) | func StandardNeliProvider() NeliProvider { function configToNeli (line 15) | func configToNeli(hConfigMap KafkaConfigMap) goneli.KafkaConfigMap { function configToHarvest (line 19) | func configToHarvest(nConfigMap goneli.KafkaConfigMap) KafkaConfigMap { function convertKafkaConsumerProvider (line 23) | func convertKafkaConsumerProvider(hProvider KafkaConsumerProvider) gonel... function convertKafkaProducerProvider (line 30) | func convertKafkaProducerProvider(hProvider KafkaProducerProvider) gonel... FILE: postgres.go type database (line 14) | type database struct method Mark (line 117) | func (db *database) Mark(leaderID uuid.UUID, limit int) ([]OutboxRecor... method Purge (line 161) | func (db *database) Purge(id int64) (bool, error) { method Reset (line 173) | func (db *database) Reset(id int64) (bool, error) { method Dispose (line 185) | func (db *database) Dispose() { constant markQueryTemplate (line 21) | markQueryTemplate = ` constant purgeQueryTemplate (line 34) | purgeQueryTemplate = ` constant resetQueryTemplate (line 40) | resetQueryTemplate = ` function closeResource (line 47) | func closeResource(stmt *sql.Stmt) { function closeResources (line 53) | func closeResources(stmts ...*sql.Stmt) { type databaseProvider (line 59) | type databaseProvider function StandardPostgresBindingProvider (line 62) | func StandardPostgresBindingProvider() DatabaseBindingProvider { function NewPostgresBinding (line 67) | func NewPostgresBinding(dataSource string, outboxTable string) (Database... function newPostgresBinding (line 73) | func newPostgresBinding(dbProvider databaseProvider, outboxTable string)... FILE: postgres_test.go constant outboxTable (line 17) | outboxTable = "outbox" constant markPrepare (line 18) | markPrepare = "-- mark query" constant purgePrepare (line 19) | purgePrepare = "-- purge query" constant resetPrepare (line 20) | resetPrepare = "-- reset query" function pgFixtures (line 22) | func pgFixtures() (databaseProvider, sqlmock.Sqlmock) { function TestErrorInDBProvider (line 33) | func TestErrorInDBProvider(t *testing.T) { function TestErrorInPrepareMarkQuery (line 42) | func TestErrorInPrepareMarkQuery(t *testing.T) { function TestErrorInPreparePurgeQuery (line 53) | func TestErrorInPreparePurgeQuery(t *testing.T) { function TestErrorInPrepareResetQuery (line 66) | func TestErrorInPrepareResetQuery(t *testing.T) { constant testMarkQueryLimit (line 81) | testMarkQueryLimit = 100 function TestExecuteMark_queryError (line 83) | func TestExecuteMark_queryError(t *testing.T) { function TestExecuteMarkQuery_scanError (line 109) | func TestExecuteMarkQuery_scanError(t *testing.T) { function TestExecuteMark_success (line 140) | func TestExecuteMark_success(t *testing.T) { function TestExecuteMark_headerLengthMismatch (line 213) | func TestExecuteMark_headerLengthMismatch(t *testing.T) { function flattenHeaders (line 253) | func flattenHeaders(headers KafkaHeaders) (headerKeys, headerValues []st... function TestExecutePurge_error (line 266) | func TestExecutePurge_error(t *testing.T) { function TestExecutePurge_success (line 285) | func TestExecutePurge_success(t *testing.T) { function TestExecutePurge_notDone (line 304) | func TestExecutePurge_notDone(t *testing.T) { function TestExecuteReset_error (line 323) | func TestExecuteReset_error(t *testing.T) { function TestExecuteReset_success (line 342) | func TestExecuteReset_success(t *testing.T) { function TestExecuteReset_notDone (line 361) | func TestExecuteReset_notDone(t *testing.T) { function TestRealPostgresBinding (line 380) | func TestRealPostgresBinding(t *testing.T) { FILE: stasher/stasher.go type Stasher (line 13) | type Stasher interface type stasher (line 18) | type stasher struct method Prepare (line 40) | func (s *stasher) Prepare(tx *sql.Tx) (PreStash, error) { method Stash (line 67) | func (s *stasher) Stash(tx *sql.Tx, rec goharvest.OutboxRecord) error { function New (line 23) | func New(outboxTable string) Stasher { constant insertQueryTemplate (line 27) | insertQueryTemplate = ` type PreStash (line 34) | type PreStash struct method Stash (line 46) | func (p PreStash) Stash(rec goharvest.OutboxRecord) error { function makeHeaders (line 52) | func makeHeaders(rec goharvest.OutboxRecord) ([]string, []string) { FILE: stasher/stasher_doc_test.go function Example (line 11) | func Example() { function TestExample (line 44) | func TestExample(t *testing.T) { function Example_prepare (line 48) | func Example_prepare() { function TestExample_prepare (line 87) | func TestExample_prepare(t *testing.T) { FILE: stasher/statsher_test.go constant testTopic (line 13) | testTopic = "topic" constant testKey (line 14) | testKey = "key" constant testValue (line 15) | testValue = "value" constant testHeaderKey (line 16) | testHeaderKey = "header-key" constant testHeaderValue (line 17) | testHeaderValue = "header-value" constant testInsertQuery (line 18) | testInsertQuery = "-- insert query" function TestStash_withHeaders (line 21) | func TestStash_withHeaders(t *testing.T) { function TestStash_withoutHeaders (line 47) | func TestStash_withoutHeaders(t *testing.T) { function TestStash_prepare (line 70) | func TestStash_prepare(t *testing.T) {