resolve

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitTag

func GitTag(command CommandFactory) string

GitTag returns a short git SHA when available, otherwise "latest".

func InternalPlatformURL

func InternalPlatformURL(logger *zap.Logger, kubectl KubectlCommand, cfg Config) string

InternalPlatformURL resolves the bundled registry host:port for platform pods rendered by setup. It intentionally ignores public ingress hosts derived from MCP_PLATFORM_DOMAIN/MCP_REGISTRY_INGRESS_HOST so operator and Sentinel pods do not need anonymous or pull-secret access to the public registry route.

func PlatformURL

func PlatformURL(logger *zap.Logger, kubectl KubectlCommand, cfg Config) string

PlatformURL resolves the registry host:port used for public/user-facing image names.

Types

type CommandFactory

type CommandFactory func(name string, args []string) (OutputCommand, error)

type Config

type Config struct {
	RegistryEndpoint        string
	DefaultRegistryEndpoint string
	RegistryIngressHost     string
	DefaultRegistryHost     string
	RegistryPort            int
}

type KubectlCommand

type KubectlCommand func(args []string) (OutputCommand, error)

type OutputCommand

type OutputCommand interface {
	Output() ([]byte, error)
}

Jump to

Keyboard shortcuts

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