runtime

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteKubernetesAgent added in v0.1.11

func DeleteKubernetesAgent(ctx context.Context, name, version, namespace string) error

DeleteKubernetesAgent deletes a kagent Agent CR by name/version.

func DeleteKubernetesMCPServer added in v0.1.11

func DeleteKubernetesMCPServer(ctx context.Context, name, namespace string) error

DeleteKubernetesMCPServer deletes a kagent MCPServer CR by name.

func DeleteKubernetesRemoteMCPServer added in v0.1.11

func DeleteKubernetesRemoteMCPServer(ctx context.Context, name, namespace string) error

DeleteKubernetesRemoteMCPServer deletes a kagent RemoteMCPServer CR by name.

func ValidateRuntime

func ValidateRuntime(runtime string) error

ValidateRuntime checks if a runtime is valid

Types

type AgentRegistryRuntime

type AgentRegistryRuntime interface {
	ReconcileAll(
		ctx context.Context,
		servers []*registry.MCPServerRunRequest,
		agents []*registry.AgentRunRequest,
	) error
}

func NewAgentRegistryRuntime

func NewAgentRegistryRuntime(
	registryTranslator registry.Translator,
	translator api.RuntimeTranslator,
	runtimeDir string,
	verbose bool,
) AgentRegistryRuntime

type RuntimeValidator

type RuntimeValidator func(runtime string) error

RuntimeValidator is a function that validates if a runtime value is supported

var (
	// SupportedRuntimes defines the available runtimes
	SupportedRuntimes = []string{"local", "kubernetes"}

	// CustomRuntimeValidator allows extending the runtimes
	CustomRuntimeValidator RuntimeValidator
)

Directories

Path Synopsis
translation
api

Jump to

Keyboard shortcuts

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