Versions in this module Expand all Collapse all v0 v0.2.0 Nov 22, 2026 v0.1.0 Sep 6, 2026 Changes in this version + const DescriptorFormatVersion + func ValidateIdentity(identity Identity) error + type CapabilityResolution struct + AdapterDigest string + AdapterID string + AdapterRevision string + Contract string + Name string + ProviderDigest string + ProviderID string + ProviderRevision string + type Cardinality string + const One + const Variadic + type ConfigValidator interface + ValidateConfig func(json.RawMessage) error + type DeliveryResult string + const Delivered + const Dropped + type Dependency struct + Name string + Optional bool + type Descriptor struct + CompositeFingerprint string + ConfigSchema string + Dependencies []Dependency + Effects []Effect + FormatVersion uint64 + Generics []string + Name string + Ports []Port + Reaction Reaction + Revision uint64 + StateSchema string + StateTransfer *StateTransferCapabilities + func (descriptor Descriptor) Canonical() (Descriptor, error) + func (descriptor Descriptor) Clone() Descriptor + func (descriptor Descriptor) Digest() (string, error) + func (descriptor Descriptor) Identity() (Identity, error) + func (descriptor Descriptor) Port(name string) (Port, bool) + func (descriptor Descriptor) Validate() error + type Direction string + const Input + const Output + type Effect struct + Authority string + External bool + Name string + Reversible bool + type Envelope struct + CancellationScope string + CaptureNS uint64 + CausalParents []string + ItemID string + OpportunityID string + Payload any + ReceiveNS uint64 + RunID string + Sequence uint64 + SessionID string + SourceID string + TraceID string + Type Type + func (envelope Envelope) Clone() Envelope + func (envelope Envelope) ValidateFor(expected Type) error + type Factory interface + Descriptor func() Descriptor + Mount func(context.Context, MountContext) (Runnable, error) + type Identity struct + Digest string + Name string + Revision uint64 + type InputPort interface + Lanes func() []Receiver + Name func() string + Receive func(context.Context) (Envelope, error) + ReceiveAny func(context.Context) (Envelope, string, error) + Type func() Type + type InspectionCauseKind string + const CauseModelRun + const CauseObservation + const CausePolicy + const CauseStateRevision + func SupportedInspectionCauseKinds() []InspectionCauseKind + func (kind InspectionCauseKind) Validate() error + type InspectionCauseProvider interface + InspectionCause func() InspectionCauseKind + type InspectionDecision struct + Crossed bool + Kind InspectionDecisionKind + Operation InspectionDecisionOperation + func (decision InspectionDecision) Validate() error + type InspectionDecisionKind string + const DecisionCanceled + const DecisionDenied + const DecisionFailed + const DecisionIgnored + const DecisionRejected + const DecisionSucceeded + const DecisionTimedOut + func SupportedInspectionDecisionKinds() []InspectionDecisionKind + type InspectionDecisionOperation string + const DecisionAccepted + const DecisionAction + const DecisionAdmit + const DecisionAlreadyCommitted + const DecisionAttest + const DecisionAuthorize + const DecisionCancel + const DecisionCandidate + const DecisionCommit + const DecisionCommitted + const DecisionComplete + const DecisionConfirm + const DecisionContext + const DecisionExecute + const DecisionFence + const DecisionJoin + const DecisionLookup + const DecisionNormalize + const DecisionPrepare + const DecisionPromote + const DecisionProposal + const DecisionProvenance + const DecisionQueue + const DecisionRejection + const DecisionResult + const DecisionRetry + const DecisionSelect + const DecisionTimeout + func SupportedInspectionDecisionOperations() []InspectionDecisionOperation + type InspectionDecisionProvider interface + InspectionDecision func() InspectionDecision + type Lifecycle interface + Defer func(name string, dispose func(context.Context) error) error + Do func(name string, work func(context.Context) error) error + Go func(name string, worker func(context.Context) error) error + type MountContext struct + Config json.RawMessage + Identity Identity + InstanceID string + Lifecycle Lifecycle + Ports Ports + Resolution ResolutionReporter + Services Services + State StateLifecycle + type OutputPort interface + Broadcast func(context.Context, Envelope) (SendResult, error) + Lanes func() []Sender + Name func() string + Type func() Type + type Port struct + Cardinality Cardinality + DefaultDepth int + Direction Direction + LossAllowed bool + MinConnections int + Name string + Required bool + Type Type + type Ports interface + Input func(name string) (InputPort, error) + Output func(name string) (OutputPort, error) + type Reaction struct + BreaksCycles bool + Interrupts []string + MaxConcurrency int + Outcomes []string + SampledState []string + Triggers []string + type Receiver interface + ID func() string + Receive func(context.Context) (Envelope, error) + Type func() Type + type ResolutionReporter interface + Capabilities func([]CapabilityResolution) error + Runtime func(artifactID, revision, digest string) error + type Runnable interface + Run func(context.Context) error + type RunnableFunc func(context.Context) error + func (function RunnableFunc) Run(ctx context.Context) error + type SendResult struct + Delivered int + Dropped int + type Sender interface + ID func() string + Send func(context.Context, Envelope) (DeliveryResult, error) + Type func() Type + type Services interface + Lookup func(name string) (value any, revision uint64, found bool) + type StateLifecycle interface + Quiesce func(StateQuiescer) error + Restored func() (snapshot json.RawMessage, available bool, err error) + Snapshot func(StateSnapshotter) error + type StateQuiescer func(context.Context) (StateResumer, error) + type StateResumer func(context.Context) error + type StateSnapshotter func(context.Context) (json.RawMessage, error) + type StateTransferCapabilities struct + Quiesce bool + Restore bool + Snapshot bool + func (capabilities *StateTransferCapabilities) Clone() *StateTransferCapabilities + func (capabilities StateTransferCapabilities) Validate() error + type Type struct + Arguments []Type + Name string + Variable string + func Event(payload Type) Type + func Interrupt(key Type) Type + func Named(name string, arguments ...Type) Type + func Reply(payload, key Type) Type + func Request(payload, key Type) Type + func Revisions(payload, key Type) Type + func Segmented(payload, key Type) Type + func State(payload Type) Type + func Stream(payload Type) Type + func Trigger(payload Type) Type + func Var(name string) Type + func (value Type) Clone() Type + func (value Type) ContainsVariable() bool + func (value Type) Equal(other Type) bool + func (value Type) IsProtocol() bool + func (value Type) IsVariable() bool + func (value Type) String() string + func (value Type) Validate(generics map[string]struct{}) error + func (value Type) ValidateConcretePort() error + func (value Type) ValidatePort(generics map[string]struct{}) error