Documentation
¶
Index ¶
- Constants
- type Catalog
- func Get(ctx context.Context) (Catalog, error)
- func GetWithOptions(ctx context.Context, useConfigured bool, additionalCatalogs []string) (Catalog, error)
- func ReadFrom(ctx context.Context, fileOrURLs []string) (Catalog, error)
- func ReadOne(ctx context.Context, fileOrURL string) (Catalog, string, string, error)
- type Config
- type Container
- type Env
- type Items
- type OAuth
- type OAuthProvider
- type Parameters
- type Properties
- type Property
- type Remote
- type Run
- type Secret
- type Server
- type ServerConfig
- type Tool
- type ToolGroup
Constants ¶
View Source
const (
DockerCatalogFilename = "docker-mcp.yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type OAuth ¶
type OAuth struct {
Providers []OAuthProvider `yaml:"providers,omitempty" json:"providers,omitempty"`
Scopes []string `yaml:"scopes,omitempty" json:"scopes,omitempty"`
}
type OAuthProvider ¶
type Parameters ¶
type Parameters struct {
Type string `yaml:"type" json:"type"`
Properties Properties `yaml:"properties" json:"properties"`
Required []string `yaml:"required" json:"required"`
}
type Properties ¶
func (*Properties) ToMap ¶
func (p *Properties) ToMap() map[string]any
type Server ¶
type Server struct {
Name string `yaml:"name,omitempty" json:"name,omitempty"`
Type string `yaml:"type" json:"type"`
Image string `yaml:"image" json:"image"`
Description string `yaml:"description,omitempty" json:"description,omitempty"`
Title string `yaml:"title,omitempty" json:"title,omitempty"`
LongLived bool `yaml:"longLived,omitempty" json:"longLived,omitempty"`
Remote Remote `yaml:"remote" json:"remote"`
SSEEndpoint string `yaml:"sseEndpoint,omitempty" json:"sseEndpoint,omitempty"` // Deprecated: Use Remote instead
OAuth *OAuth `yaml:"oauth,omitempty" json:"oauth,omitempty"`
Secrets []Secret `yaml:"secrets,omitempty" json:"secrets,omitempty"`
Env []Env `yaml:"env,omitempty" json:"env,omitempty"`
Command []string `yaml:"command,omitempty" json:"command,omitempty"`
Volumes []string `yaml:"volumes,omitempty" json:"volumes,omitempty"`
User string `yaml:"user,omitempty" json:"user,omitempty"`
DisableNetwork bool `yaml:"disableNetwork,omitempty" json:"disableNetwork,omitempty"`
AllowHosts []string `yaml:"allowHosts,omitempty" json:"allowHosts,omitempty"`
Tools []Tool `yaml:"tools,omitempty" json:"tools,omitempty"`
Config []any `yaml:"config,omitempty" json:"config,omitempty"`
Prefix string `yaml:"prefix,omitempty" json:"prefix,omitempty"`
}
func (*Server) IsOAuthServer ¶ added in v0.27.0
func (*Server) IsRemoteOAuthServer ¶
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.