vmcpinstance

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(gatewayClient *gateway.Client) *Handler

func (*Handler) DeleteUnauthorized

func (h *Handler) DeleteUnauthorized(req router.Request, _ router.Response) error

DeleteUnauthorized removes shared VMCP instances whose user no longer matches any profile.

func (*Handler) EnsureMCPServerInstances

func (*Handler) EnsureMCPServerInstances(req router.Request, _ router.Response) error

func (*Handler) EnsureMCPServers

func (*Handler) EnsureMCPServers(req router.Request, _ router.Response) error

EnsureMCPServers creates one MCPServer from each catalog-entry snapshot on the VMCP. Configuration credentials are intentionally not applied here.

func (*Handler) ReconcileToolSelection

func (h *Handler) ReconcileToolSelection(req router.Request, _ router.Response) error

ReconcileToolSelection permanently removes revoked tools from explicit selections.

func (*Handler) SyncUserConfigurationHash

func (h *Handler) SyncUserConfigurationHash(req router.Request, _ router.Response) error

SyncUserConfigurationHash records the current instance credential without exposing its values. Only values still allowed by the VMCP policy contribute to the hash.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL