Documentation
¶
Index ¶
- type GitHubRepoInfo
- type Handler
- func (h *Handler) DeleteUnauthorizedMCPServerInstances(req router.Request, _ router.Response) error
- func (h *Handler) DeleteUnauthorizedMCPServers(req router.Request, _ router.Response) error
- func (h *Handler) SetUpDefaultMCPCatalog(ctx context.Context, c client.Client) error
- func (h *Handler) Sync(req router.Request, resp router.Response) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubRepoInfo ¶
type GitHubRepoInfo struct {
Size int `json:"size"` // Size in KB
}
GitHubRepoInfo represents the repository information from GitHub API
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) DeleteUnauthorizedMCPServerInstances ¶
DeleteUnauthorizedMCPServerInstances is a handler that deletes MCPServerInstances that point to multi-user MCPServers created by the admin, where the user who owns the MCPServerInstance is no longer authorized to use the MCPServer. This can happen whenever AccessControlRules change.
func (*Handler) DeleteUnauthorizedMCPServers ¶
DeleteUnauthorizedMCPServers is a handler that deletes MCP servers that are no longer authorized to exist. This can happen whenever AccessControlRules change. It does not delete MCPServerInstances, since those have a delete ref to their MCPServer, and will be deleted automatically.