gateway

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerCatalogURL = "https://desktop.docker.com/mcp/catalog/v3/catalog.yaml"
)

Variables

This section is empty.

Functions

func ParseServerRef added in v1.0.7

func ParseServerRef(ref string) string

Types

type Catalog

type Catalog map[string]Server

type Remote added in v1.7.1

type Remote struct {
	URL           string `json:"url"`
	TransportType string `json:"transport_type"`
}

type Secret

type Secret struct {
	Name    string `json:"name"`
	Env     string `json:"env"`
	Example string `json:"example"`
}

func RequiredEnvVars

func RequiredEnvVars(ctx context.Context, serverName string) ([]Secret, error)

type Server

type Server struct {
	Type    string   `json:"type"`
	Secrets []Secret `json:"secrets,omitempty"`
	Remote  Remote   `json:"remote,omitempty"`
}

func ServerSpec added in v1.7.1

func ServerSpec(_ context.Context, serverName string) (Server, error)

Jump to

Keyboard shortcuts

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