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 ¶
const CheckFormat = "kombify.io/stackkit-relocation-check/v1"
CheckFormat is the StackKits envelope of a destination check.
Variables ¶
This section is empty.
Functions ¶
func LoadTransferSecret ¶
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.