Documentation
¶
Index ¶
- func RunMCPServer(projectRoot string) error
- type AddImageInput
- type AddImageOutput
- type AddImageVariantInput
- type AddImageVariantOutput
- type Field
- type GetDependenciesInput
- type GetDependenciesOutput
- type GetDocumentationInput
- type GetDocumentationOutput
- type GetImageInput
- type GetImageOutput
- type ListImagesInput
- type ListImagesOutput
- type SearchConfig
- type SearchDoc
- type SearchDocumentationInput
- type SearchDocumentationOutput
- type SearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMCPServer ¶
Types ¶
type AddImageInput ¶
type AddImageInput struct {
Name string `json:"name" jsonschema:"name of the image to create"`
Description string `json:"description" jsonschema:"description of the image"`
BaseTag string `json:"base_tag" jsonschema:"base docker tag (e.g., ubuntu:22.04)"`
DockerfileContent string `json:"dockerfile_content,omitempty" jsonschema:"optional custom Dockerfile content"`
}
type AddImageOutput ¶
type AddImageOutput struct {
Message string `json:"message"`
}
type AddImageVariantInput ¶
type AddImageVariantInput struct {
ImageName string `json:"image_name" jsonschema:"name of the image to add variant to"`
VariantName string `json:"variant_name" jsonschema:"name of the variant"`
TagSuffix string `json:"tag_suffix" jsonschema:"suffix to append to tags (e.g., -slim)"`
Versions map[string]string `json:"versions,omitempty" jsonschema:"version overrides for this variant"`
BuildArgs map[string]string `json:"build_args,omitempty" jsonschema:"build args for this variant"`
}
type AddImageVariantOutput ¶
type AddImageVariantOutput struct {
Message string `json:"message"`
}
type GetDependenciesInput ¶
type GetDependenciesOutput ¶
type GetDependenciesOutput struct {
Images []string `json:"images"`
}
type GetDocumentationInput ¶
type GetDocumentationInput struct {
Path string `json:"path" jsonschema:"path to the documentation page (e.g., index.html, usage/mcp.html)"`
}
type GetDocumentationOutput ¶
type GetImageInput ¶
type GetImageInput struct {
Name string `json:"name" jsonschema:"name of the image to get"`
}
type GetImageOutput ¶
type GetImageOutput struct {
Image *imageDetail `json:"image"`
}
type ListImagesInput ¶
type ListImagesInput struct {
}
type ListImagesOutput ¶
type ListImagesOutput struct {
Images []imageInfo `json:"images"`
}
type SearchConfig ¶
type SearchDocumentationOutput ¶
type SearchDocumentationOutput struct {
Results []SearchResult `json:"results"`
}
type SearchResult ¶
Click to show internal directories.
Click to hide internal directories.