Documentation
¶
Index ¶
- type Handler
- func (*Handler) CleanupNestedCompositeEntries(req router.Request, _ router.Response) error
- func (h *Handler) CleanupUnusedOAuthCredentials(req router.Request, _ router.Response) error
- func (h *Handler) DeleteEntriesWithoutRuntime(req router.Request, _ router.Response) error
- func (*Handler) DetectCompositeDrift(req router.Request, _ router.Response) error
- func (h *Handler) EnsureOAuthCredentialStatus(req router.Request, _ router.Response) error
- func (*Handler) EnsureServerUserType(req router.Request, _ router.Response) error
- func (*Handler) EnsureUserCount(req router.Request, _ router.Response) error
- func (h *Handler) RemoveOAuthCredentials(req router.Request, _ router.Response) error
- func (*Handler) UpdateManifestHashAndLastUpdated(req router.Request, _ router.Response) error
- func (*Handler) UpdateSystemManifestHashAndLastUpdated(req router.Request, _ router.Response) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v0.17.0
type Handler struct {
// contains filtered or unexported fields
}
Handler handles operations for MCP server catalog entries
func NewHandler ¶ added in v0.17.0
NewHandler creates a new Handler with the given gateway client.
func (*Handler) CleanupNestedCompositeEntries ¶ added in v0.17.0
CleanupNestedCompositeServers removes component servers with composite runtimes from composite catalog entries. This handler cleans up entries that were created before API validation to prevent nested composite servers.
func (*Handler) CleanupUnusedOAuthCredentials ¶ added in v0.17.0
CleanupUnusedOAuthCredentials removes OAuth credentials for remote catalog entries that no longer require static OAuth configuration.
func (*Handler) DeleteEntriesWithoutRuntime ¶ added in v0.17.0
func (*Handler) DetectCompositeDrift ¶ added in v0.17.0
DetectCompositeDrift detects when a composite catalog entry's component snapshots have drifted from their source catalog entries or multi-user servers
func (*Handler) EnsureOAuthCredentialStatus ¶ added in v0.17.0
EnsureOAuthCredentialStatus updates the OAuthCredentialConfigured status field for remote catalog entries that require static OAuth.
func (*Handler) EnsureServerUserType ¶ added in v0.23.0
EnsureServerUserType backfills the serverUserType field to "singleUser" for existing catalog entries that were created before the field was introduced.
func (*Handler) EnsureUserCount ¶ added in v0.17.0
EnsureUserCount ensures that the user count for an MCP server catalog entry is up to date. For single-user entries, this counts unique users who have an MCPServer created from the entry. For multi-user entries, this sums the user count status from each MCPServer created from the entry.
func (*Handler) RemoveOAuthCredentials ¶ added in v0.17.0
RemoveOAuthCredentials removes OAuth credentials when a catalog entry is deleted.
func (*Handler) UpdateManifestHashAndLastUpdated ¶ added in v0.17.0
UpdateManifestHashAndLastUpdated updates the manifest hash and last updated timestamp when configuration changes