MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,350 in github.com/danielmiessler/Fabric

FunctionTestCreateOutputFileMessageWithTrailingNewline
(t *testing.T)
internal/cli/output_test.go:40
FunctionTestCustomPatterns_Configure
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:20
FunctionTestCustomPatterns_ConfigureWithTempDir
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:42
FunctionTestCustomPatterns_IsConfigured
(t *testing.T)
internal/tools/custom_patterns/custom_patterns_test.go:66
FunctionTestDateTimePlugin
(t *testing.T)
internal/plugins/template/datetime_test.go:11
FunctionTestDb_Configure
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:8
FunctionTestDb_LoadEnvFile
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:30
FunctionTestDb_SaveEnv
(t *testing.T)
internal/plugins/db/fsdb/db_test.go:44
FunctionTestDefaultBedrockModels_NotEmpty
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:198
FunctionTestDetectSystemLocale
(t *testing.T)
internal/i18n/locale_test.go:8
FunctionTestDetectVersion
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:12
FunctionTestDetectVersionFromNix
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:12
FunctionTestEnsureIncomingDir
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:42
FunctionTestEnsureIncomingDirCreation
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:244
FunctionTestEnvPrefix
(t *testing.T)
internal/plugins/ai/azure_entra/azure_entra_test.go:34
FunctionTestExtensionExecutor
(t *testing.T)
internal/plugins/template/extension_executor_test.go:10
FunctionTestExtensionManager
TestExtensionManager is the main test suite for ExtensionManager
internal/plugins/template/extension_manager_test.go:10
FunctionTestExtensionManagerErrors
TestExtensionManagerErrors tests error cases
internal/plugins/template/extension_manager_test.go:95
FunctionTestExtensionManagerWithInvalidConfig
TestExtensionManagerWithInvalidConfig tests handling of invalid configurations
internal/plugins/template/extension_manager_test.go:127
FunctionTestExtensionValueMixedInputAndVariable
TestExtensionValueMixedInputAndVariable ensures an extension value mixing {{input}} and another template variable is processed.
internal/plugins/template/template_extension_mixed_test.go:11
FunctionTestExtensionValueWithSentinel
TestExtensionValueWithSentinel specifically tests the extension value sentinel replacement logic
internal/plugins/template/template_sentinel_test.go:196
FunctionTestExtractAndValidateVideoId
(t *testing.T)
internal/tools/youtube/youtube_test.go:83
FunctionTestExtractDeploymentFromBody
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:107
FunctionTestExtractDeploymentFromBodyNilBody
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:137
FunctionTestExtractFlag
(t *testing.T)
internal/cli/flags_test.go:459
FunctionTestExtractModelName
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:14
FunctionTestExtractTextFromResponse
Test ExtractTextWithCitations from geminicommon
internal/plugins/ai/gemini/gemini_test.go:35
FunctionTestExtractTextFromResponse_EmptyGroundingChunks
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:63
FunctionTestExtractTextFromResponse_Nil
(t *testing.T)
internal/plugins/ai/gemini/gemini_test.go:57
FunctionTestFallbackRegions_NotEmpty
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:432
FunctionTestFetchBedrockRegions_EmptyEndpoints_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:405
FunctionTestFetchBedrockRegions_HTTPError_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:362
FunctionTestFetchBedrockRegions_InvalidJSON_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:374
FunctionTestFetchBedrockRegions_NoBedrock_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:386
FunctionTestFetchBedrockRegions_ResultsSorted
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:417
FunctionTestFetchBedrockRegions_Unreachable_ReturnsFallback
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:398
FunctionTestFetchBedrockRegions_ValidJSON
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:344
FunctionTestFetchModelsDirectly_429NoCacheCleanError
A 429 with no cache yields a concise message, not the raw HTML body.
internal/plugins/ai/openai/models_cache_test.go:125
FunctionTestFetchModelsDirectly_429ServesStaleCache
A 429 with a stale cache present returns the stale list rather than erroring.
internal/plugins/ai/openai/models_cache_test.go:107
FunctionTestFetchModelsDirectly_DirectArray
Ensures we can fetch models directly when a provider returns a direct array of models instead of the standard OpenAI list response structure.
internal/plugins/ai/openai/openai_models_test.go:16
FunctionTestFetchModelsDirectly_EmptyArray
Ensures we handle empty model lists correctly
internal/plugins/ai/openai/openai_models_test.go:95
FunctionTestFetchModelsDirectly_GitHubHostSendsAPIVersionHeader
Ensures the GitHub Models catalog host receives the documented API version header so it is not throttled by GitHub's edge rate limiter.
internal/plugins/ai/openai/openai_models_test.go:83
FunctionTestFetchModelsDirectly_NoGitHubHeaderForOtherHosts
Ensures non-GitHub hosts do not receive the GitHub-specific API version header.
internal/plugins/ai/openai/openai_models_test.go:50
FunctionTestFetchModelsDirectly_OpenAIFormat
Ensures we can fetch models when a provider returns the standard OpenAI format
internal/plugins/ai/openai/openai_models_test.go:33
FunctionTestFetchModelsDirectly_ServesFreshCacheWithoutRequest
A fresh cache short-circuits before any network call.
internal/plugins/ai/openai/models_cache_test.go:89
FunctionTestFetchModelsDirectly_WritesCacheOnSuccess
A successful fetch is cached, so a later failure is served from cache.
internal/plugins/ai/openai/models_cache_test.go:143
FunctionTestFetchPlugin
(t *testing.T)
internal/plugins/template/fetch_test.go:9
FunctionTestFilePlugin
(t *testing.T)
internal/plugins/template/file_test.go:11
FunctionTestFileProcessing_ErrorHandling
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:194
FunctionTestFilterByVendorCaseInsensitive
(t *testing.T)
internal/plugins/ai/models_test.go:58
FunctionTestFilterConversationalModels
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:242
FunctionTestFilterConversationalModels_AllFiltered
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:271
FunctionTestFilterConversationalModels_EmptyInput
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:266
FunctionTestFindModelNameCaseInsensitive
(t *testing.T)
internal/plugins/ai/models_test.go:78
FunctionTestFindVendorsByModel
(t *testing.T)
internal/plugins/ai/models_test.go:29
FunctionTestFindVendorsByModelFirst
(t *testing.T)
internal/plugins/ai/models_test.go:20
FunctionTestFixedFileExtensionExecutor
(t *testing.T)
internal/plugins/template/extension_executor_test.go:150
FunctionTestFormatMetadataAsText_EpisodeMetadata
(t *testing.T)
internal/tools/spotify/spotify_test.go:142
FunctionTestFormatMetadataAsText_NilAndUnknownTypes
(t *testing.T)
internal/tools/spotify/spotify_test.go:226
FunctionTestFormatMetadataAsText_SearchResult
(t *testing.T)
internal/tools/spotify/spotify_test.go:182
FunctionTestFormatMetadataAsText_ShowMetadata
(t *testing.T)
internal/tools/spotify/spotify_test.go:105
FunctionTestGenerateWAVFile
Test generateWAVFile method (basic test)
internal/plugins/ai/gemini/gemini_test.go:234
FunctionTestGetApplyVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:95
FunctionTestGetChatter_AllowsExplicitCodexManualModel
(t *testing.T)
internal/core/plugin_registry_test.go:100
FunctionTestGetChatter_ParsesVendorModelPrefix
(t *testing.T)
internal/core/plugin_registry_test.go:154
FunctionTestGetChatter_RejectsExplicitCodexModelFromOtherVendor
(t *testing.T)
internal/core/plugin_registry_test.go:130
FunctionTestGetChatter_VendorPrefixIgnoredWhenNotAVendor
(t *testing.T)
internal/core/plugin_registry_test.go:184
FunctionTestGetChatter_WarnsOnAmbiguousModel
(t *testing.T)
internal/core/plugin_registry_test.go:54
FunctionTestGetLocaleCandidates
(t *testing.T)
internal/i18n/i18n_variants_test.go:49
FunctionTestGetMaxTokens
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:306
FunctionTestGetOutputFormatFromExtension
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:121
FunctionTestGetPreferredLocale
(t *testing.T)
internal/i18n/locale_test.go:187
FunctionTestGetShowOrEpisodeId
(t *testing.T)
internal/tools/spotify/spotify_test.go:8
FunctionTestGetWithoutVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:148
FunctionTestHashConsistency
TestHashConsistency ensures both hash functions produce same results for same content
internal/plugins/template/hash_test.go:93
FunctionTestHtmlReadability
(t *testing.T)
internal/tools/converter/html_readability_test.go:9
FunctionTestImageGenerationCompatibilityWarning
(t *testing.T)
internal/cli/chat_test.go:169
FunctionTestImageGenerationIntegrationScenarios
(t *testing.T)
internal/cli/chat_test.go:271
FunctionTestInit
(t *testing.T)
internal/cli/flags_test.go:15
FunctionTestInitWithYAMLConfig
(t *testing.T)
internal/cli/flags_test.go:116
FunctionTestInsertVersionAtTop
(t *testing.T)
cmd/generate_changelog/internal/changelog/generator_test.go:62
FunctionTestInsertVersionAtTop_ImprovedRobustness
(t *testing.T)
cmd/generate_changelog/internal/changelog/processing_test.go:66
FunctionTestIntegrationWithInit
(t *testing.T)
internal/i18n/locale_test.go:253
FunctionTestIntegration_FormatMetadataAsText
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:179
FunctionTestIntegration_GetEpisodeMetadata
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:74
FunctionTestIntegration_GetEpisodeMetadata_InvalidID
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:207
FunctionTestIntegration_GetShowEpisodes
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:122
FunctionTestIntegration_GetShowMetadata
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:47
FunctionTestIntegration_GetShowMetadata_InvalidID
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:197
FunctionTestIntegration_GrabMetadataForURL_Episode
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:159
FunctionTestIntegration_GrabMetadataForURL_Show
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:139
FunctionTestIntegration_SearchShows
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:101
FunctionTestIntegration_SearchShows_NoResults
(t *testing.T)
internal/tools/spotify/spotify_integration_test.go:217
FunctionTestIsConfigured
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:558
FunctionTestIsConversationalModel
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:200
FunctionTestIsGeminiModel
(t *testing.T)
internal/plugins/ai/vertexai/vertexai_test.go:282
FunctionTestIsMergeCommit
(t *testing.T)
cmd/generate_changelog/internal/changelog/merge_detection_test.go:10
FunctionTestIsTTSModel
Test isTTSModel method
internal/plugins/ai/gemini/gemini_test.go:210
FunctionTestIsValidAWSRegion
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:133
FunctionTestIsValidLocale
(t *testing.T)
internal/i18n/locale_test.go:152
← previousnext →1,001–1,100 of 1,350, ranked by callers