Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 Changes in this version type Plan + PackRef string v0.1.0 Jul 13, 2026 Changes in this version + const DefaultTTL + var ErrNotFound = errors.New("plan not found") + func MergeFirebaseTemplate(remoteTemplate, desiredJSON []byte, changes []RemoteParameterChange) ([]byte, error) + type AffectedEntity struct + CausedBySemanticChangeIDs []string + EntityID string + EntityRef string + EntityType string + ImpactKind string + NodeID string + type ArtifactMetadata struct + ArtifactName string + Available bool + ContentDigest string + MediaType string + Sensitive bool + SizeBytes int64 + type BlockingReason struct + NodeID string + ReasonCode string + RiskItemID string + Summary string + type BuildResult struct + Artifacts map[string][]byte + Plan Plan + func Build(in Input) (BuildResult, error) + type ConfirmationRequirements struct + EnvironmentIDRequirement string + PolicySource string + RequiredRiskItemIDs []string + RequiresAcknowledgement bool + type Input struct + BaseLayer map[string]any + Baseline map[string]any + Desired map[string]any + DraftRevision uint64 + EnvironmentID string + EnvironmentKind string + Now time.Time + PackRef string + ProductionLowRiskMode string + RemoteSnapshot remote.Snapshot + SourceDigest string + TTL time.Duration + ValidationReady bool + type Plan struct + AffectedEntities []AffectedEntity + ArtifactMetadata []ArtifactMetadata + BlockingReasons []BlockingReason + ConfirmationRequirements ConfirmationRequirements + ContentDigest string + CreatedAt time.Time + DraftRevision uint64 + EnvironmentID string + ExpiresAt time.Time + InvalidationReason string + PlanID string + RemoteETag *string + RemoteParameterChanges []RemoteParameterChange + RemoteSnapshot remote.Snapshot + RiskItems []RiskItem + SemanticChanges []SemanticChange + Severity string + SnapshotToken string + SourceDigest string + Status string + type RemoteParameterChange struct + AffectedEntityNodeIDs []string + AfterSummary string + BeforeSummary string + CausedBySemanticChangeIDs []string + ChangeKind string + Managed bool + NodeID string + ParameterKey string + ProjectionID string + type RiskItem struct + AcknowledgementRequired bool + EntityRef string + ReasonCode string + RemoteParameterNodeIDs []string + RiskItemID string + SemanticChangeIDs []string + Severity string + Summary string + type SemanticChange struct + AffectedEntityIDs []string + AffectedEntityNodeIDs []string + AfterSummary string + BeforeSummary string + ChangeKind string + DirectEntityRef string + FieldPath string + NodeID string + RemoteParameterNodeIDs []string + Summary string + type Store struct + func Open(root string) (*Store, error) + func (s *Store) Artifact(id, name string) ([]byte, ArtifactMetadata, error) + func (s *Store) Get(id string) (Plan, error) + func (s *Store) Save(result BuildResult) error + func (s *Store) Update(p Plan) error