Documentation
¶
Overview ¶
Package placement resolves the S1 (StackKit-Standalone) capability bindings for a StackSpec. It is the OSS-side implementation of the shared resolver-output contract (STACKKITS-SPEC-PIPELINE §10): each abstract capability (relational, vector, ai_inference, …) is bound to a concrete provider+target for the realizable placement modes.
StackKits-OSS realizes only S1 — local-only and standard+cloudless. The managed-serverless mode and any coupled placement are S2/S3 (TechStack / Control-Plane) and are rejected here with ErrNotS1; their per-deployment bindings live in the kombify-DB sk_* catalog (Control Plane), never in this repo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilityBinding ¶
CapabilityBinding is the resolved provider+target for one abstract capability.
type ErrNotS1 ¶
type ErrNotS1 struct{ Mode, Coupling string }
ErrNotS1 signals a placement that StackKits-OSS does not realize (managed-serverless mode or coupled coupling → TechStack/SaaS, S2/S3).
type Result ¶
type Result struct {
Mode string `json:"mode"`
Exposure string `json:"exposure"`
Coupling string `json:"coupling"`
Capabilities map[string]CapabilityBinding `json:"capabilities"`
}
Result is the resolved placement block (STACKKITS-SPEC-PIPELINE §10 shape).