Documentation
¶
Index ¶
Constants ¶
const APIVersion = "stackkit.address-plan/v1"
Variables ¶
This section is empty.
Functions ¶
func BindPrefix ¶
BindPrefix returns a StackSpec candidate whose public route hosts exactly match the allocated prefix. The caller must pass the result through CUE validation before persisting or generating artifacts.
func BindZone ¶
BindZone returns a StackSpec candidate served from the allocated install zone <zone>.<domain>: the zone becomes the stack's domain and every public route host is <service>.<zone>.<domain>. Cloud identity, TinyAuth and the renderer then derive their hosts and cookie scope from that domain exactly as for an own domain (decision D-72). The caller must pass the result through CUE validation before persisting or generating artifacts.
Types ¶
type Plan ¶
type Plan struct {
APIVersion string `json:"api_version"`
Provider string `json:"provider"`
StackName string `json:"stack_name"`
Domain string `json:"domain"`
SubdomainPrefix string `json:"subdomain_prefix,omitempty"`
Services []Service `json:"services"`
}
func FromCanonicalStackSpec ¶
FromCanonicalStackSpec projects the secret-free address-registration input from CUE-validated StackSpec intent. It performs no network or account work.