compositemigration

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MigrationName is the durable gateway marker for the composite migration.
	MigrationName = "composite_mcp_to_vmcp"

	// DefaultCatalogSourceAnnotation preserves the removed parent's default-catalog, non-workspace scope.
	DefaultCatalogSourceAnnotation = "obot.ai/composite-migration-default-catalog-source"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(client *gateway.Client) *Handler

func (*Handler) Migrate

func (h *Handler) Migrate(ctx context.Context, client kclient.Client, entry *v1.MCPServerCatalogEntry) error

func (*Handler) MigrateAll

func (h *Handler) MigrateAll(ctx context.Context, client kclient.WithWatch) error

MigrateAll runs before controllers and API traffic start. Deleting sources may still have finalizers; their cleanup must be left to the controllers.

Jump to

Keyboard shortcuts

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