Documentation
¶
Index ¶
- Constants
- func BuildLocalImageName(name, version string) string
- func BuildMCPServerRegistryName(author, name string) string
- func BuildRegistryImageName(registryURL, name, version string) string
- func GetImageNameFromManifest(loader manifest.ManifestLoader) (string, error)
- func ResolveVersion(flagVersion, manifestVersion string) string
- func ValidateProjectDir(projectDir string) error
Constants ¶
View Source
const DefaultUserName = "user"
Variables ¶
This section is empty.
Functions ¶
func BuildLocalImageName ¶
BuildLocalImageName constructs a local Docker image name from a project name and version. Returns format: "kebab-case-name:version"
func BuildRegistryImageName ¶
BuildRegistryImageName constructs a full Docker registry image reference. Returns format: "registry-url/kebab-case-name:version"
func GetImageNameFromManifest ¶
func GetImageNameFromManifest(loader manifest.ManifestLoader) (string, error)
GetImageNameFromManifest loads the project manifest and constructs a Docker image name in the format "kebab-case-name:version".
func ResolveVersion ¶
ResolveVersion returns the version to use based on priority: flag > manifest > "latest".
func ValidateProjectDir ¶
ValidateProjectDir checks if the provided project directory exists and is a directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.