Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 v0.1.0 Jul 13, 2026 Changes in this version + var ErrAlreadyExists = errors.New("project resource already exists") + var ErrInvalidManifest = errors.New("invalid project manifest") + var ErrNotFound = errors.New("project resource not found") + var ErrRevisionMismatch = errors.New("project revision mismatch") + func Create(workspace string, manifest Manifest) (string, error) + func CreateExample(workspace string) (string, error) + func ManifestPath(workspace string) string + func Validate(manifest Manifest) error + type Environment struct + ID string + Kind string + Name string + Provider Provider + Publish Publish + type Manifest struct + Environments []Environment + Pack PackReference + Project Project + Source Source + Version int + func Load(workspace string) (Manifest, error) + type PackReference struct + ID string + type Project struct + ID string + Name string + ReleaseConfirmationPolicy ReleaseConfirmationPolicy + type Provider struct + ProjectID string + Type string + type Publish struct + RequiresConfirmation bool + type ReleaseConfirmationPolicy struct + ProductionLowRiskMode string + type RevisionMismatchError struct + Current uint64 + Expected uint64 + Snapshot Snapshot + func (e *RevisionMismatchError) Error() string + func (e *RevisionMismatchError) Unwrap() error + type Snapshot struct + Digest string + Manifest Manifest + Revision uint64 + type Source struct + Profile string + Type string + type Store struct + func Open(workspace string) (*Store, error) + func (s *Store) Snapshot() (Snapshot, error) + func (s *Store) Update(expectedRevision uint64, mutate func(*Manifest) error) (Snapshot, error)