Documentation
¶
Overview ¶
Package domainop owns configured-domain mutation, authored scaffold, synchronization, and orphan inspection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Outcome ¶ added in v0.41.0
type Outcome struct {
ConfigReplaced bool
ScaffoldCreated bool
Orphaned bool
Publisher publisher.Result
}
Outcome is the complete observed state of a domain mutation. Publisher remains the publication owner; this operation owns config and authored-source facts.
func AddLeased ¶ added in v0.41.0
func AddLeased(ctx context.Context, root, name string, loader *project.Loader, lease *filesystem.Lease) (outcome Outcome, err error)
AddLeased configures name, creates its initial current-state part, and synchronizes under a caller-held complete project transaction.
func RemoveLeased ¶ added in v0.41.0
func RemoveLeased(ctx context.Context, root, name string, loader *project.Loader, lease *filesystem.Lease) (outcome Outcome, err error)
RemoveLeased unconfigures name, synchronizes, and reports whether authored domain inputs remain orphaned under a caller-held complete project transaction.
type PartialError ¶ added in v0.41.0
PartialError retains every committed domain effect and the original cause.
func (*PartialError) Document ¶ added in v0.41.0
func (e *PartialError) Document() (presentation.Document, error)
func (*PartialError) Error ¶ added in v0.41.0
func (e *PartialError) Error() string
func (*PartialError) Unwrap ¶ added in v0.41.0
func (e *PartialError) Unwrap() error