Help us shape the future of Go! Take the 2026 Go Developer Survey

workloadrelocation

package
v0.54.8 Latest Latest
Warning

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

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

Documentation

Overview

Package workloadrelocation moves PaaS workloads (projects, applications, databases and their data) from one server's platform to another's.

Each step runs on exactly one server, as every StackKit operation does: the source plans, the destination checks that plan, and Techstack carries the plan between them. A plan holds names, sizes and fingerprints only; data transfer keys and credentials travel separately through Wallet host delivery, never inside a plan, check or log.

Index

Constants

View Source
const CheckFormat = "kombify.io/stackkit-relocation-check/v1"

CheckFormat is the StackKits envelope of a destination check.

Variables

This section is empty.

Functions

func Clear

func Clear(b []byte)

Clear overwrites a secret value in place.

func LoadTransferSecret

func LoadTransferSecret(workspace, tenantRef, itemRef string) ([]byte, error)

LoadTransferSecret reads the move's transfer secret from this node's Wallet item custody. Techstack delivers the same item, sealed, to the source and the destination (`stackkit wallet-item import`); it never arrives any other way. The caller clears the returned value after deriving from it.

Types

type Check

type Check struct {
	Format   string          `json:"format"`
	Platform Platform        `json:"platform"`
	Engine   Engine          `json:"engine"`
	Ready    bool            `json:"ready"`
	Blockers []string        `json:"blockers"`
	Warnings []string        `json:"warnings"`
	Detail   json.RawMessage `json:"detail"`
}

Check is the destination's verdict on a plan. Ready is false while any blocker remains; Detail is the engine's own check document.

type Engine

type Engine struct {
	Name           string `json:"name"`
	Version        string `json:"version"`
	UpstreamCommit string `json:"upstream_commit"`
	ForkRevision   string `json:"fork_revision"`
}

Engine identifies the exact relocation engine build that produced a result.

type Platform

type Platform string

Platform names a Layer-2 PaaS platform with a relocation engine.

const PlatformCoolify Platform = "coolify"

PlatformCoolify is Coolify, relocated with the pinned coolify-mirror fork.

Directories

Path Synopsis
Package coolify relocates Coolify workloads with the pinned coolify-mirror fork in third_party/coolify-mirror.
Package coolify relocates Coolify workloads with the pinned coolify-mirror fork in third_party/coolify-mirror.

Jump to

Keyboard shortcuts

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