Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
Binding carries either a public value or an opaque secret reference. Plaintext secret material is not part of the portable runtime plan.
type ContainerPort ¶
ContainerPort is a workload-local endpoint. Host/public publishing is not part of the portable runtime handoff.
type EnvironmentVariable ¶
EnvironmentVariable is a runtime-consumable non-secret environment value.
type Observation ¶
type Observation struct {
Found bool
Services []WorkloadStatus
}
Observation is the current provider view of an application workload.
func (Observation) Ready ¶
func (o Observation) Ready() bool
type Service ¶
type Service struct {
Name string
Image string
Args []string
Environment []EnvironmentVariable
Ports []ContainerPort
}
Service is the normalized runtime workload service.
Important: source/build instructions are structurally absent. Image is an already-resolved OCI artifact reference before the runtime boundary.
type Target ¶
type Target struct {
Scope string
}
Target identifies the deployment-owned runtime scope selected for a workload. Scope is intentionally opaque. A Kubernetes provider may realize it as a namespace; Docker/Podman may realize it differently.
type WorkloadPlan ¶
type WorkloadPlan struct {
Application string
Environment string
Target Target
Services []Service
Bindings []Binding
}
WorkloadPlan is the provider-neutral handoff from BaseHarbor Core to a runtime provider. Runtime-native objects are derived only after this boundary.
func (WorkloadPlan) Validate ¶
func (p WorkloadPlan) Validate() error