gateway

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DockerCatalogURL = "https://desktop.docker.com/mcp/catalog/v2/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 Secret

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

func RequiredEnvVars

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

type Server

type Server struct {
	Secrets []Secret `json:"secrets,omitempty" yaml:"secrets,omitempty"`
}

Jump to

Keyboard shortcuts

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