Documentation
¶
Overview ¶
Package pipeline validates portable pipeline declarations and binds one authenticated entry to reviewed platform workers. It does not authenticate requests, fetch source, install workflows, or give out credentials.
Index ¶
Constants ¶
const MaxDocument = 128 * 1024
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bound ¶
type Bound struct {
// contains filtered or unexported fields
}
Bound is a validated graph for exactly one registration. Consumers must pin its source/definition digest in authoritative state before running it.
func (Bound) WorkflowID ¶
type Capability ¶
type Catalog ¶
type Catalog struct {
Version int `json:"version"`
Capabilities []Capability `json:"capabilities"`
}
func ParseCatalog ¶
ParseCatalog rejects unknown fields; this public document must not contain worker refs, grant data, deploy destinations, or secrets.
type EntryKey ¶
EntryKey is independent of workflow placement. The entry name must be bound to authenticated evidence (for example the OIDC audience) by the adapter.
type Manifest ¶
A repository can carry independent application and infrastructure entries. Entry is a logical name, not an xyOps workflow ID or a permission.
func ParseManifest ¶
type Registration ¶
type Registration struct {
EntryKey
Pipeline, Environment, WorkflowID string
Workflow string
RefPolicy RefPolicy
Input, Output Ref
Grants []Ref
}
Registration is private site policy. Input and Output pin the entry boundary even if a contributor edits the manifest. A successful release cannot skip a mandatory capability by ending with a weaker output.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry(c Catalog, registrations ...Registration) (Registry, error)
type Source ¶
Source is populated ONLY after verifying identity, release/branch, revision, and exact-commit CI against authoritative records. This type is not proof.
type Spec ¶
type Spec struct {
// Secrets requests logical names, never values, environment overrides or vault IDs.
// Management adapters compare these with trusted grants before executing.
Secrets []string `json:"secrets,omitempty"`
Entry string `json:"entry"`
Input Ref `json:"input"`
Steps []Step `json:"steps"`
}