modelinfosource

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package modelinfosource syncs ModelInfo records from an external source.

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(defaultSourceURL string, urlValidation mcp.RemoteMCPURLValidationConfig) *Handler

func (*Handler) SetUpDefaultModelInfoSource

func (h *Handler) SetUpDefaultModelInfoSource(ctx context.Context, c kclient.Client) error

SetUpDefaultModelInfoSource reconciles the default ModelInfoSource from config.

func (*Handler) Sync

func (h *Handler) Sync(req router.Request, resp router.Response) error

Sync refreshes ModelInfo records when forced or stale.

Jump to

Keyboard shortcuts

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