MCPcopy Create free account

hub / github.com/sipcapture/homer / functions

Functions4,264 in github.com/sipcapture/homer

FunctionTestLazyPayloadEligibleOTLPAndLP
(t *testing.T)
src/coordinator/handlers/lazy_payload_test.go:36
FunctionTestLeaveBeforeStartLetsRoomerWait
(t *testing.T)
src/coordinator/games/netchess/hub_test.go:260
FunctionTestLegacySHA256HexEqual
(t *testing.T)
src/passwordhash/legacy_sha256_compat_test.go:13
FunctionTestLegalMoveBroadcastsToOpponent
(t *testing.T)
src/coordinator/games/netchess/hub_test.go:95
FunctionTestLineClearRoutesGarbageWithStableHole
(t *testing.T)
src/coordinator/games/netris/hub_test.go:189
FunctionTestLoad_CoordinatorAuthFallbackTypeInvalid
(t *testing.T)
src/config/config_test.go:830
FunctionTestLoad_CoordinatorAuthFallbackTypeOK
(t *testing.T)
src/config/config_test.go:842
FunctionTestLoad_CoordinatorAuthInternalString
(t *testing.T)
src/config/config_test.go:689
FunctionTestLoad_CoordinatorAuthInvalidString
(t *testing.T)
src/config/config_test.go:821
FunctionTestLoad_CoordinatorAuthObjectTypeInternal
(t *testing.T)
src/config/config_test.go:716
FunctionTestLoad_CoordinatorAuthObjectTypeInvalid
(t *testing.T)
src/config/config_test.go:785
FunctionTestLoad_CoordinatorAuthObjectTypeLDAP
(t *testing.T)
src/config/config_test.go:743
FunctionTestLoad_CoordinatorAuthObjectTypeOAuth
(t *testing.T)
src/config/config_test.go:764
FunctionTestLoad_CoordinatorAuthObjectWithoutTypeDefaultsToInternal
(t *testing.T)
src/config/config_test.go:794
FunctionTestLoad_CoordinatorAuthOmittedDefaultsToInternal
(t *testing.T)
src/config/config_test.go:666
FunctionTestLoad_DuckDBTuningEmptySectionStaysZero
TestLoad_DuckDBTuningEmptySectionStaysZero pins the desired default: without an explicit tuning section the struct stays zero-valued so ApplyDuckDBTun
src/config/config_test.go:650
FunctionTestLoad_DuckDBTuningPropagates
TestLoad_DuckDBTuningPropagates verifies that the new storage.ducklake.tuning section parses and reaches the DuckLake config struct unchanged. Both wr
src/config/config_test.go:390
FunctionTestLoad_ElasticsearchPartialEnableKeepsTagDefaults
TestLoad_ElasticsearchPartialEnableKeepsTagDefaults mirrors the Loki case for Elasticsearch.
src/config/config_test.go:69
FunctionTestLoad_EnvScalars_AllSections
TestLoad_EnvScalars_AllSections pins down that every scalar HOMER_* env var from a typical production docker-compose set must land in Config. Before b
src/config/env_test.go:20
FunctionTestLoad_EnvSlice_CoordinatorNodes
TestLoad_EnvSlice_CoordinatorNodes verifies that the coordinator picks up its node list from HOMER_COORDINATOR_NODES_<idx>_*.
src/config/env_test.go:345
FunctionTestLoad_EnvSlice_LogOutput
TestLoad_EnvSlice_LogOutput is the simplest case: a slice of strings (log.output). docker-compose convention: HOMER_LOG_OUTPUT_0=... Uses non-default
src/config/env_test.go:507
FunctionTestLoad_EnvSlice_NodeDuckLakeVolumes
TestLoad_EnvSlice_NodeDuckLakeVolumes covers the same volume layout but in the node.ducklake.volumes section — consumed by read-only nodes (the coordi
src/config/env_test.go:288
FunctionTestLoad_EnvSlice_SIPAlegCustomHeaders
TestLoad_EnvSlice_SIPAlegCustomHeaders covers issue #728: the indexed docker-compose form for SIP custom-header extraction must reach ingest.sip.aleg_
src/config/env_test.go:526
FunctionTestLoad_EnvSlice_StoragePolicyVolumes
TestLoad_EnvSlice_StoragePolicyVolumes verifies that indexed volumes (HOMER_STORAGE_DUCKLAKE_STORAGE_POLICY_VOLUMES_<idx>_*) land in Storage.DuckLake.
src/config/env_test.go:201
FunctionTestLoad_ExplicitFalseOverrideWins
TestLoad_ExplicitFalseOverrideWins guards against the most dangerous kind of regression in this layer: defaults silently re-enabling a feature the ope
src/config/config_test.go:358
FunctionTestLoad_HEPIngestDefaultsHonoured
TestLoad_HEPIngestDefaultsHonoured is the catch-all smoke test for the HEP ingest stack: with a completely empty config file, every receiver (UDP/TCP/
src/config/config_test.go:257
FunctionTestLoad_HEPStreamDefaultsHonoured
TestLoad_HEPStreamDefaultsHonoured covers a section that already has duplicated viper SetDefault entries — the new struct-tag path must agree with the
src/config/config_test.go:223
FunctionTestLoad_LineProtoIngestAllowHepSipCallOverride
TestLoad_LineProtoIngestAllowHepSipCallOverride checks explicit allow_hep_sip_call in JSON.
src/config/config_test.go:559
FunctionTestLoad_LineProtoIngestDefaultsHonoured
TestLoad_LineProtoIngestDefaultsHonoured locks in the documented defaults for the InfluxDB Line Protocol ingest receiver (`ingest.line_protocol.*`, di
src/config/config_test.go:525
FunctionTestLoad_LineProtoIngestExplicitEmptyTablePrefix
TestLoad_LineProtoIngestExplicitEmptyTablePrefix honours an explicit empty table_prefix (measurement name = DuckLake table name).
src/config/config_test.go:576
FunctionTestLoad_LineProtoIngestExplicitLegacyPrefix
TestLoad_LineProtoIngestExplicitLegacyPrefix checks optional namespacing.
src/config/config_test.go:595
FunctionTestLoad_LineProtoIngestPartialEnableKeepsTagDefaults
TestLoad_LineProtoIngestPartialEnableKeepsTagDefaults mirrors the OTLP regression: enabling the ingest LP receiver with `{"enable": true}` only must l
src/config/config_test.go:617
FunctionTestLoad_LineProtoPartialEnableKeepsTagDefaults
TestLoad_LineProtoPartialEnableKeepsTagDefaults mirrors the Loki case for InfluxDB Line Protocol.
src/config/config_test.go:102
FunctionTestLoad_LokiPartialEnableKeepsTagDefaults
TestLoad_LokiPartialEnableKeepsTagDefaults pins the regression that motivated the v5.0.62-equivalent fix here: an operator turning Loki on with `{"lok
src/config/config_test.go:36
FunctionTestLoad_OTLPDefaultsHonoured
TestLoad_OTLPDefaultsHonoured covers the brand-new OTLP receiver section: with the feature off (the documented default) every nested listener still pa
src/config/config_test.go:439
FunctionTestLoad_OTLPPartialEnableKeepsTagDefaults
TestLoad_OTLPPartialEnableKeepsTagDefaults pins the same flavour of regression as the Loki/Elasticsearch tests above: enabling OTLP with `{"enable": t
src/config/config_test.go:486
FunctionTestLoad_PartialOverrideKeepsOtherDefaults
TestLoad_PartialOverrideKeepsOtherDefaults ensures that overriding one numeric tunable (loki.bulk) does not wipe sibling fields filled in by struct ta
src/config/config_test.go:192
FunctionTestLoad_Precedence_EnvBeatsFile
TestLoad_Precedence_EnvBeatsFile answers question #1: when a config file is present, ENV variables must override values written in the file (the stand
src/config/env_test.go:396
FunctionTestLoad_Precedence_NoFileDefaultsThenEnv
TestLoad_Precedence_NoFileDefaultsThenEnv answers question #2: when there is no config file, struct-tag / setDefaults values seed the Config and ENV v
src/config/env_test.go:455
FunctionTestLoad_RealProductionEnvSet
TestLoad_RealProductionEnvSet is an end-to-end smoke test that feeds the exact ENV variable set captured from a running production container (docker i
src/config/env_test.go:556
FunctionTestLoad_RemoteLoggingAbsentSectionStaysDisabled
TestLoad_RemoteLoggingAbsentSectionStaysDisabled is the safety check for the most common case: operators who do not use remote logging at all. None of
src/config/config_test.go:165
FunctionTestLoad_ScriptingPartialEnableKeepsEngine
TestLoad_ScriptingPartialEnableKeepsEngine ensures the scripting engine identifier (currently the only supported value, "lua") is applied even when th
src/config/config_test.go:136
FunctionTestMapRowToAlias_StatusFromInt32
TestMapRowToAlias_StatusFromInt32 is the end-to-end regression for the "active_rows=1 loaded_prefixes=0" report: an active alias row (status=1 in Duck
src/coordinator/services/alias_service_test.go:78
FunctionTestMappingService_ResetMappings
(t *testing.T)
src/coordinator/services/mapping_service_reset_test.go:9
FunctionTestMarshalForIncludesPayloadWhenAsked
(t *testing.T)
src/stream/hepstream/event_test.go:96
FunctionTestMarshalForStripsPayloadWhenNotIncluded
(t *testing.T)
src/stream/hepstream/event_test.go:73
FunctionTestMergeCustomLokiLabelsIntoStream_builtinWins
(t *testing.T)
src/remotelog/loki_custom_labels_test.go:29
FunctionTestMergeParquetFiles
(t *testing.T)
src/storage/ducklake/compactor/parquet_test.go:107
FunctionTestMergeRealHomerParquet
TestMergeRealHomerParquet exercises the merge against real DuckLake-written Homer parquet (wide varchar/json/uint32/date columns) when present locally
src/storage/ducklake/compactor/parquet_test.go:58
FunctionTestMergeSessionIDs_DedupsAndCaps
(t *testing.T)
src/coordinator/handlers/transactions_v4_correlation_test.go:28
FunctionTestMergeSessionIDs_RespectsCap
(t *testing.T)
src/coordinator/handlers/transactions_v4_correlation_test.go:36
FunctionTestMultiTableReader_ListSnapshots_rejectsInvalidKey
(t *testing.T)
src/storage/ducklake/validation_test.go:132
FunctionTestMultiTableReader_Query_rejectsInvalidWhere
(t *testing.T)
src/storage/ducklake/validation_test.go:148
FunctionTestMultiTableWriterStopIsIdempotent
(t *testing.T)
src/storage/ducklake/stop_idempotent_test.go:5
FunctionTestMultipleVias
(t *testing.T)
src/sipparser/via_test.go:53
FunctionTestNarrowProjectionIgnoredWithCustomSelect
(t *testing.T)
src/coordinator/handlers/lazy_payload_test.go:77
FunctionTestNarrowProjectionUUIDTimestampOnly
(t *testing.T)
src/coordinator/handlers/lazy_payload_test.go:48
FunctionTestNewIPAliasMap_acceptsEmbeddedCIDR
Regression: homer-app-style rows that store the CIDR inside the ip column ("10.1.68.0/24" + mask=0) used to be silently dropped because netip.ParseAdd
src/coordinator/services/alias_map_test.go:61
FunctionTestNewIPAliasMap_dropsEmptyName
Regression: an empty alias name should not silently drop a prefix — the row is still skipped, but the test asserts we don't load it either way.
src/coordinator/services/alias_map_test.go:92
FunctionTestNewIPAliasMap_rejectsImpossibleMask
Regression: a row with mask larger than the address family's bit width (e.g. mask=128 on an IPv4 address) used to crash netip.Prefix silently; now the
src/coordinator/services/alias_map_test.go:78
FunctionTestNewLineProtoHandlerPrefixPassthrough
TestNewLineProtoHandlerPrefixPassthrough ensures the constructor keeps the default prefix string (including empty) for ?prefix= resolution.
src/coordinator/handlers/lineproto_v4_test.go:105
FunctionTestNewPCAPWriter_WritePacket_RoundTripHeader
(t *testing.T)
src/pcapwriter/sip_rows_test.go:82
FunctionTestNewSearchHandler_LLMDisabledMeansNilClient
(t *testing.T)
src/coordinator/handlers/mcp_llm_test.go:289
FunctionTestNormaliseDuckType
(t *testing.T)
src/coordinator/services/lp_field_mapping_test.go:101
FunctionTestNormalizeParserHint
(t *testing.T)
src/coordinator/handlers/mcp_llm_test.go:77
FunctionTestNormalizeTransactionSessionIDs
(t *testing.T)
src/coordinator/handlers/transactions_v4_sessionids_test.go:5
FunctionTestNormalizeTransactionSessionIDsCap
(t *testing.T)
src/coordinator/handlers/transactions_v4_sessionids_test.go:18
FunctionTestNormalizeWidgetControl
(t *testing.T)
src/config/widgets_test.go:25
FunctionTestOAuthErrorClientRedirect_defaultPathWithoutCallback
(t *testing.T)
src/coordinator/handlers/auth_oauth_redirect_test.go:70
FunctionTestOAuthErrorClientRedirect_ignoresRedirectURI
(t *testing.T)
src/coordinator/handlers/auth_oauth_redirect_test.go:59
FunctionTestOAuthRedirectOriginsMatch
(t *testing.T)
src/coordinator/handlers/auth_oauth_redirect_test.go:80
FunctionTestOTLPStorage_EmptyRequestsAreNoOp
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:269
FunctionTestOTLPStorage_WriteOTLPLogs
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:193
FunctionTestOTLPStorage_WriteOTLPMetrics
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:122
FunctionTestOTLPStorage_WriteOTLPTraces
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:45
FunctionTestOauthAvatarURLsMicrosoft
(t *testing.T)
src/coordinator/handlers/auth_avatar_test.go:8
FunctionTestOauthCollectGroups
(t *testing.T)
src/coordinator/handlers/auth_oauth_code_test.go:29
FunctionTestOauthMatchAdminGroup
(t *testing.T)
src/coordinator/handlers/auth_oauth_code_test.go:17
FunctionTestOauthPickUsername
(t *testing.T)
src/coordinator/handlers/auth_oauth_code_test.go:5
FunctionTestOpponentLeftBroadcasts
(t *testing.T)
src/coordinator/games/netris/hub_test.go:228
FunctionTestOptionsInvalidate
(t *testing.T)
src/storage/ducklake/compactor/compactor_test.go:364
FunctionTestOuterChunkMs
(t *testing.T)
src/coordinator/handlers/lake_topn_test.go:24
FunctionTestPAssertedId
(t *testing.T)
src/sipparser/passertedid_test.go:24
FunctionTestParseBody
(t *testing.T)
src/vqrtcpreceiver/parser_test.go:9
FunctionTestParseCLIQueryLine
(t *testing.T)
src/cli/cli_query_suffix_test.go:5
FunctionTestParseInviteBodyMultipart
(t *testing.T)
src/siprecreceiver/multipart_test.go:9
FunctionTestParseLineProtocol_BooleansAllForms
(t *testing.T)
src/lineprotoreceiver/parser_test.go:144
FunctionTestParseLineProtocol_ErrorCases
(t *testing.T)
src/lineprotoreceiver/parser_test.go:114
FunctionTestParseLineProtocol_EscapedMeasurementAndTag
(t *testing.T)
src/lineprotoreceiver/parser_test.go:76
FunctionTestParseLineProtocol_Minimal
(t *testing.T)
src/lineprotoreceiver/parser_test.go:15
FunctionTestParseLineProtocol_MultipleLinesSkipEmptyComments
(t *testing.T)
src/lineprotoreceiver/parser_test.go:101
FunctionTestParseLineProtocol_PrecisionSeconds
(t *testing.T)
src/lineprotoreceiver/parser_test.go:91
FunctionTestParseLineProtocol_QuotedStringField
(t *testing.T)
src/lineprotoreceiver/parser_test.go:60
FunctionTestParseLineProtocol_TagsFieldsTimestamp
(t *testing.T)
src/lineprotoreceiver/parser_test.go:35
FunctionTestParseLineProtocol_UnsignedField
(t *testing.T)
src/lineprotoreceiver/parser_test.go:134
FunctionTestParseMsgZeroCopyLegacy
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:100
FunctionTestParseMsgZeroCopy_AlegIDs
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:23
FunctionTestParseMsgZeroCopy_AlegIDsCaseInsensitive
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:38
FunctionTestParseMsgZeroCopy_AlegIDsFirstWireHeaderWins
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:50
FunctionTestParseMsgZeroCopy_CustomHeaders
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:62
← previousnext →3,301–3,400 of 4,264, ranked by callers