Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/castai/openwebui-content-sync
/ functions
Functions
204 in github.com/castai/openwebui-content-sync
⨍
Functions
204
◇
Types & classes
86
↓ 1 callers
Method
listLocalChannels
listLocalChannels scans local storage and returns channel mappings for any channel directories found. ChannelName is set to the directory name if a re
internal/adapter/slack.go:1098
↓ 1 callers
Method
processBlogpost
processBlogpost processes a single blog post and returns a File
internal/adapter/confluence.go:825
↓ 1 callers
Method
processContent
processContent processes a GitHub content item recursively
internal/adapter/github.go:120
↓ 1 callers
Method
processIssue
processIssue processes a single Jira issue and returns a File
internal/adapter/jira.go:521
↓ 1 callers
Method
readyHandler
readyHandler handles readiness check requests
internal/health/health.go:67
↓ 1 callers
Method
saveChannelTracking
saveChannelTracking saves a tracking file with all channels and their knowledge IDs
internal/adapter/slack.go:881
↓ 1 callers
Method
testChannelAccess
testChannelAccess tests if the bot can access the channel and attempts to join if needed
internal/adapter/slack.go:786
↓ 1 callers
Method
waitForFileProcessing
waitForFileProcessing waits for a file to finish processing with adaptive polling Uses exponential backoff to handle both quick and slow file ingestio
internal/openwebui/client.go:287
Method
AddFileToKnowledge
AddFileToKnowledge mocks the AddFileToKnowledge method
internal/mocks/mocks.go:107
Function
BenchmarkSanitizeChannelName
Benchmark tests
internal/adapter/slack_test.go:281
Function
BenchmarkSlackAdapter_Creation
(b *testing.B)
internal/adapter/slack_test.go:288
Method
DeleteFile
DeleteFile deletes a file from OpenWebUI
internal/openwebui/client.go:450
Method
DeleteFile
DeleteFile mocks the DeleteFile method
internal/mocks/mocks.go:159
Method
FetchFiles
FetchFiles mocks the FetchFiles method
internal/mocks/mocks.go:184
Method
FetchFiles
FetchFiles fetches files from all configured Confluence spaces and parent pages
internal/adapter/confluence.go:260
Method
FetchFiles
FetchFiles fetches all issues from the configured Jira projects
internal/adapter/jira.go:296
Method
GetFile
(ctx context.Context, fileID string)
internal/openwebui/interface.go:10
Method
GetFile
GetFile mocks the GetFile method
internal/mocks/mocks.go:57
Method
GetKnowledgeFiles
GetKnowledgeFiles retrieves files from a specific knowledge source
internal/openwebui/client.go:485
Method
GetKnowledgeFiles
GetKnowledgeFiles mocks the GetKnowledgeFiles method
internal/mocks/mocks.go:123
Method
GetLastSync
GetLastSync mocks the GetLastSync method
internal/mocks/mocks.go:201
Method
GetLastSync
GetLastSync returns the last sync time
internal/adapter/jira.go:582
Method
GetLastSync
GetLastSync returns the last sync timestamp
internal/adapter/adapter.go:28
Method
InitializeFileIndex
(ctx context.Context, adapters []adapter.Adapter)
internal/scheduler/scheduler_simple_test.go:24
Method
InitializeFileIndex
(ctx context.Context, adapters []adapter.Adapter)
internal/sync/interface.go:13
Method
ListKnowledge
ListKnowledge mocks the ListKnowledge method
internal/mocks/mocks.go:87
Method
Name
Name mocks the Name method
internal/mocks/mocks.go:176
Method
Name
Name returns the adapter name
internal/adapter/jira.go:291
Method
RemoveFileFromKnowledge
RemoveFileFromKnowledge mocks the RemoveFileFromKnowledge method
internal/mocks/mocks.go:115
Method
SetKnowledgeID
(knowledgeID string)
internal/scheduler/scheduler_simple_test.go:20
Method
SetKnowledgeID
(knowledgeID string)
internal/sync/interface.go:12
Method
SetLastSync
SetLastSync mocks the SetLastSync method
internal/mocks/mocks.go:209
Method
SetLastSync
SetLastSync sets the last sync time
internal/adapter/jira.go:587
Method
SyncFiles
(ctx context.Context, adapters []adapter.Adapter)
internal/scheduler/scheduler_simple_test.go:16
Method
SyncFiles
SyncFiles synchronizes files from adapters to OpenWebUI
internal/sync/manager.go:179
Function
TestClient_AddFileToKnowledge
(t *testing.T)
internal/openwebui/client_test.go:209
Function
TestClient_ListKnowledge
(t *testing.T)
internal/openwebui/client_test.go:161
Function
TestClient_RemoveFileFromKnowledge
(t *testing.T)
internal/openwebui/client_test.go:279
Function
TestClient_UploadFile
(t *testing.T)
internal/openwebui/client_test.go:26
Function
TestConfig_StructFields
(t *testing.T)
internal/config/config_test.go:233
Function
TestConfluenceAdapter_GetSetLastSync
(t *testing.T)
internal/adapter/confluence_test.go:107
Function
TestConfluenceAdapter_Name
(t *testing.T)
internal/adapter/confluence_test.go:87
Function
TestFile_String
(t *testing.T)
internal/adapter/github_test.go:160
Function
TestGetEnv
(t *testing.T)
internal/config/config_test.go:207
Function
TestGetFileHash
(t *testing.T)
internal/sync/manager_simple_test.go:179
Function
TestGitHubAdapter_FetchFiles
(t *testing.T)
internal/adapter/github_test.go:138
Function
TestGitHubAdapter_GetSetLastSync
(t *testing.T)
internal/adapter/github_test.go:18
Function
TestGitHubAdapter_Name
(t *testing.T)
internal/adapter/github_test.go:11
Function
TestHealthResponse_JSON
(t *testing.T)
internal/health/health_test.go:147
Function
TestHtmlToText
(t *testing.T)
internal/adapter/confluence_test.go:164
Function
TestIsTextFile
(t *testing.T)
internal/adapter/github_test.go:94
Function
TestLoad_DefaultConfig
(t *testing.T)
internal/config/config_test.go:10
Function
TestLoad_EnvironmentOverride
(t *testing.T)
internal/config/config_test.go:102
Function
TestLoad_FileAndEnvironment
(t *testing.T)
internal/config/config_test.go:161
Function
TestLoad_FromFile
(t *testing.T)
internal/config/config_test.go:35
Function
TestLoad_InvalidYAML
(t *testing.T)
internal/config/config_test.go:138
Function
TestLocalFolderAdapter_FetchFiles
(t *testing.T)
internal/adapter/local_test.go:117
Function
TestLocalFolderAdapter_GetSetLastSync
(t *testing.T)
internal/adapter/local_test.go:100
Function
TestLocalFolderAdapter_Name
(t *testing.T)
internal/adapter/local_test.go:93
Function
TestLocalFolderAdapter_isBinaryFile
(t *testing.T)
internal/adapter/local_test.go:206
Function
TestLocalFolderAdapter_shouldIgnoreFile
(t *testing.T)
internal/adapter/local_test.go:181
Function
TestMain_ContextHandling
(t *testing.T)
main_test.go:155
Function
TestMain_DefaultFlagValue
(t *testing.T)
main_test.go:111
Function
TestMain_ErrorHandling
(t *testing.T)
main_test.go:228
Function
TestMain_FlagParsing
(t *testing.T)
main_test.go:91
Function
TestMain_ResourceCleanup
(t *testing.T)
main_test.go:242
Function
TestMain_SignalHandling
(t *testing.T)
main_test.go:179
Function
TestMain_TimeHandling
(t *testing.T)
main_test.go:205
Function
TestMain_WithConfigFile
(t *testing.T)
main_test.go:14
Function
TestMain_WithInvalidConfigFile
(t *testing.T)
main_test.go:51
Function
TestMain_WithNonExistentConfigFile
(t *testing.T)
main_test.go:75
Function
TestManager_SetKnowledgeID
(t *testing.T)
internal/sync/manager_simple_test.go:41
Function
TestManager_loadFileIndex
(t *testing.T)
internal/sync/manager_simple_test.go:190
Function
TestManager_saveFileLocally
(t *testing.T)
internal/sync/manager_simple_test.go:149
Function
TestManager_syncFile_NewFile
(t *testing.T)
internal/sync/manager_simple_test.go:58
Function
TestManager_syncFile_UnchangedFile
(t *testing.T)
internal/sync/manager_simple_test.go:105
Function
TestNew
(t *testing.T)
internal/scheduler/scheduler_simple_test.go:29
Function
TestNewClient
(t *testing.T)
internal/openwebui/client_test.go:13
Function
TestNewConfluenceAdapter
(t *testing.T)
internal/adapter/confluence_test.go:10
Function
TestNewGitHubAdapter
(t *testing.T)
internal/adapter/github_test.go:28
Function
TestNewLocalFolderAdapter
(t *testing.T)
internal/adapter/local_test.go:13
Function
TestNewManager
(t *testing.T)
internal/sync/manager_simple_test.go:16
Function
TestNewServer
(t *testing.T)
internal/health/health_test.go:13
Function
TestNewSlackAdapter
(t *testing.T)
internal/adapter/slack_test.go:29
Function
TestSanitizeChannelName
(t *testing.T)
internal/adapter/slack_test.go:191
Function
TestSanitizeFilename
(t *testing.T)
internal/adapter/confluence_test.go:136
Function
TestScheduler_Adapters
(t *testing.T)
internal/scheduler/scheduler_simple_test.go:102
Function
TestScheduler_Interval
(t *testing.T)
internal/scheduler/scheduler_simple_test.go:93
Function
TestScheduler_RunSync
(t *testing.T)
internal/scheduler/scheduler_simple_test.go:46
Function
TestScheduler_Start
(t *testing.T)
internal/scheduler/scheduler_simple_test.go:66
Function
TestServer_ConcurrentRequests
(t *testing.T)
internal/health/health_test.go:194
Function
TestServer_DifferentPorts
(t *testing.T)
internal/health/health_test.go:178
Function
TestServer_Start
(t *testing.T)
internal/health/health_test.go:84
Function
TestServer_Stop
(t *testing.T)
internal/health/health_test.go:126
Function
TestServer_healthHandler
(t *testing.T)
internal/health/health_test.go:26
Function
TestServer_readyHandler
(t *testing.T)
internal/health/health_test.go:55
Function
TestSlackAdapter_FetchFiles_Disabled
(t *testing.T)
internal/adapter/slack_test.go:132
Function
TestSlackAdapter_FetchFiles_NoToken
(t *testing.T)
internal/adapter/slack_test.go:117
Function
TestSlackAdapter_InterfaceCompliance
(t *testing.T)
internal/adapter/slack_test.go:222
Function
TestSlackAdapter_StorageDirectory
(t *testing.T)
internal/adapter/slack_test.go:158
← previous
next →
101–200 of 204, ranked by callers