MCPcopy Create free account

hub / github.com/castai/openwebui-content-sync / types & classes

Types & classes86 in github.com/castai/openwebui-content-sync

InterfaceAdapter
Adapter defines the interface for data source adapters
internal/adapter/adapter.go:20
StructChannelMapping
ChannelMapping defines mapping between Slack channels and knowledge bases
internal/config/config.go:106
StructClient
Client represents the OpenWebUI API client
internal/openwebui/client.go:18
InterfaceClientInterface
ClientInterface defines the interface for OpenWebUI client operations
internal/openwebui/interface.go:8
StructCommentData
CommentData holds the extracted comment data we want
internal/adapter/jira_comment.go:13
StructConfig
Config represents the application configuration
internal/config/config.go:12
StructConfluenceAdapter
ConfluenceAdapter implements the Adapter interface for Confluence spaces
internal/adapter/confluence.go:26
StructConfluenceApplicationRoles
ConfluenceApplicationRoles represents application roles for a user
internal/adapter/confluence.go:189
StructConfluenceAttachment
ConfluenceAttachment represents an attachment
internal/adapter/confluence.go:121
StructConfluenceAttachmentList
ConfluenceAttachmentList represents the response from listing attachments
internal/adapter/confluence.go:136
StructConfluenceBlogPost
ConfluenceBlogPost represents a blog post from Confluence API
internal/adapter/confluence.go:142
StructConfluenceBlogPostList
ConfluenceBlogPostList represents the response from listing blog posts
internal/adapter/confluence.go:161
StructConfluenceBody
ConfluenceBody represents the body content
internal/adapter/confluence.go:88
StructConfluenceBodyView
ConfluenceBodyView represents the view content
internal/adapter/confluence.go:94
StructConfluenceChildPage
ConfluenceChildPage represents a child page from the children API
internal/adapter/confluence.go:106
StructConfluenceChildPageList
ConfluenceChildPageList represents the response from listing child pages
internal/adapter/confluence.go:115
StructConfluenceConfig
ConfluenceConfig defines Confluence adapter settings
internal/config/config.go:72
StructConfluenceGroups
ConfluenceGroups represents groups for a user
internal/adapter/confluence.go:195
StructConfluencePage
ConfluencePage represents a page from Confluence API
internal/adapter/confluence.go:60
StructConfluencePageList
ConfluencePageList represents the response from listing pages
internal/adapter/confluence.go:100
StructConfluenceSpace
ConfluenceSpace represents a space from Confluence API
internal/adapter/confluence.go:37
StructConfluenceSpaceList
ConfluenceSpaceList represents the response from listing spaces
internal/adapter/confluence.go:54
StructConfluenceUser
ConfluenceUser represents a user from Confluence API
internal/adapter/confluence.go:167
StructConfluenceUserList
ConfluenceUserList represents the response from listing users
internal/adapter/confluence.go:183
StructConfluenceVersion
ConfluenceVersion represents version information
internal/adapter/confluence.go:79
StructFile
File represents a file in OpenWebUI
internal/openwebui/client.go:25
StructFile
File represents a file from an external source
internal/adapter/adapter.go:9
StructFileMetadata
FileMetadata stores metadata about synced files
internal/sync/manager.go:28
StructGitHubAdapter
GitHubAdapter implements the Adapter interface for GitHub repositories
internal/adapter/github.go:19
StructGitHubConfig
GitHubConfig defines GitHub adapter settings
internal/config/config.go:65
StructHealthResponse
HealthResponse represents the health check response
internal/health/health.go:17
StructJiraAdapter
JiraAdapter implements the Adapter interface for Jira projects
internal/adapter/jira.go:22
StructJiraAttachment
JiraAttachment represents an attachment of a Jira issue
internal/adapter/jira.go:171
StructJiraAttrs
internal/adapter/jira.go:98
StructJiraBlock
internal/adapter/jira.go:85
StructJiraBody
internal/adapter/jira.go:80
StructJiraComment
internal/adapter/jira.go:70
StructJiraComments
internal/adapter/jira.go:67
StructJiraComponent
JiraComponent represents a component of a Jira issue
internal/adapter/jira.go:163
StructJiraConfig
JiraConfig defines Jira adapter settings
internal/config/config.go:126
StructJiraIssue
JiraIssue represents a Jira issue from the API
internal/adapter/jira.go:31
StructJiraIssueChangelog
JiraIssueChangelog represents the changelog of a Jira issue
internal/adapter/jira.go:212
StructJiraIssueFields
JiraIssueFields represents the fields of a Jira issue
internal/adapter/jira.go:47
StructJiraIssueHistory
JiraIssueHistory represents a history entry in the changelog
internal/adapter/jira.go:220
StructJiraIssueHistoryItem
JiraIssueHistoryItem represents an item in a history entry
internal/adapter/jira.go:228
StructJiraIssueOperation
JiraIssueOperation represents an operation on a Jira issue
internal/adapter/jira.go:243
StructJiraIssueRenderedFields
internal/adapter/jira.go:42
StructJiraIssueTransition
JiraIssueTransition represents a transition in a Jira issue
internal/adapter/jira.go:237
StructJiraIssueType
JiraIssueType represents the type of a Jira issue
internal/adapter/jira.go:112
StructJiraMark
internal/adapter/jira.go:94
StructJiraParent
JiraParent represents a parent issue
internal/adapter/jira.go:204
StructJiraPriority
JiraPriority represents the priority of a Jira issue
internal/adapter/jira.go:147
StructJiraProject
JiraProject represents a Jira project
internal/adapter/jira.go:103
StructJiraProjectMapping
JiraProjectMapping defines a mapping between a Jira project and a knowledge base
internal/config/config.go:120
StructJiraResolution
JiraResolution represents the resolution of a Jira issue
internal/adapter/jira.go:155
StructJiraStatus
JiraStatus represents the status of a Jira issue
internal/adapter/jira.go:135
StructJiraText
internal/adapter/jira.go:89
StructJiraUser
JiraUser represents a Jira user
internal/adapter/jira.go:122
StructJiraWorklog
JiraWorklog represents the worklog of a Jira issue
internal/adapter/jira.go:183
StructJiraWorklogEntry
JiraWorklogEntry represents a worklog entry
internal/adapter/jira.go:191
StructKnowledge
Knowledge represents a knowledge source in OpenWebUI
internal/openwebui/client.go:47
StructLocalFolderAdapter
LocalFolderAdapter implements the Adapter interface for local folders
internal/adapter/local.go:34
StructLocalFolderConfig
LocalFolderConfig defines local folder adapter settings
internal/config/config.go:87
StructLocalFolderMapping
LocalFolderMapping defines a mapping between a local folder and a knowledge base
internal/config/config.go:59
StructManager
Manager handles synchronization between adapters and OpenWebUI
internal/sync/manager.go:19
InterfaceManagerInterface
ManagerInterface defines the interface for sync manager operations
internal/sync/interface.go:10
StructMockAdapter
MockAdapter is a mock implementation of the Adapter interface
internal/mocks/mocks.go:167
StructMockOpenWebUIClient
MockOpenWebUIClient is a mock implementation of OpenWebUI client
internal/mocks/mocks.go:12
StructMockSyncManager
MockSyncManager is a simple mock for testing
internal/scheduler/scheduler_simple_test.go:14
StructOpenWebUIConfig
OpenWebUIConfig defines OpenWebUI API settings
internal/config/config.go:35
StructParentPageMapping
ParentPageMapping defines a mapping between a Confluence parent page and a knowledge base
internal/config/config.go:53
StructRegexPattern
RegexPattern defines regex patterns for auto-discovering Slack channels
internal/config/config.go:113
StructRepositoryMapping
RepositoryMapping defines a mapping between a GitHub repository and a knowledge base
internal/config/config.go:41
StructRetryConfig
RetryConfig holds configuration for retry logic
internal/utils/retry.go:16
StructScheduleConfig
ScheduleConfig defines the sync schedule
internal/config/config.go:25
StructScheduler
Scheduler manages periodic synchronization
internal/scheduler/scheduler.go:15
StructServer
Server provides health check endpoints
internal/health/health.go:12
StructSlackAdapter
SlackAdapter implements the Adapter interface for Slack
internal/adapter/slack.go:23
StructSlackAttachment
SlackAttachment represents a message attachment
internal/adapter/slack.go:82
StructSlackConfig
SlackConfig defines Slack adapter settings
internal/config/config.go:93
StructSlackFile
SlackFile represents a file attachment
internal/adapter/slack.go:73
StructSlackMessage
SlackMessage represents a Slack message with metadata
internal/adapter/slack.go:41
StructSlackMessageReply
SlackMessage represents a Slack message with metadata
internal/adapter/slack.go:54
StructSlackReaction
SlackReaction represents a reaction on a message
internal/adapter/slack.go:66
StructSpaceMapping
SpaceMapping defines a mapping between a Confluence space and a knowledge base
internal/config/config.go:47
StructStorageConfig
StorageConfig defines local storage settings
internal/config/config.go:30