outputportable

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: AGPL-3.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package outputportable supplies best-effort restart storage using Go files. Platform-specific files supply filesystem primitives within this shared backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(path string, create bool) (outputcap.Platform, error)

Types

type Platform

type Platform struct {
	// contains filtered or unexported fields
}

func (*Platform) AcquirePublicOperationGuard

func (platform *Platform) AcquirePublicOperationGuard() (outputcap.PublicOperationGuard, error)

func (*Platform) BindDestinationIdentity

func (*Platform) BindDestinationIdentity(control outputcap.Directory) (outputcap.DestinationBindingID, error)

The private namespace owns the destination's restart identity. Native handles still guard live placement; directory timestamps never identify retained tasks.

func (*Platform) CanonicalComponentKey

func (*Platform) CanonicalComponentKey(name string) (string, error)

func (*Platform) CanonicalLocatorKey

func (*Platform) CanonicalLocatorKey(path string) (string, error)

These keys identify spellings, not filesystem equivalence classes. The catalog already excludes portable sibling collisions. Native lookup and no-replace publication must decide aliases; OS-wide casing tables can merge distinct names.

func (*Platform) Close

func (platform *Platform) Close() error

func (*Platform) DestinationCapabilities

func (platform *Platform) DestinationCapabilities() (outputcap.DestinationCapabilities, error)

func (*Platform) Durability

func (*Platform) Durability() transfer.DurabilityLevel

func (*Platform) IdentityScheme

func (*Platform) IdentityScheme() outputcap.IdentitySchemeID

func (*Platform) RetireDestinationIdentity

func (*Platform) RetireDestinationIdentity(control outputcap.Directory, expected outputcap.DestinationBindingID) error

func (*Platform) Root

func (platform *Platform) Root() outputcap.Directory

func (*Platform) RootOpenDisposition

func (platform *Platform) RootOpenDisposition() outputcap.RootOpenDisposition

func (*Platform) ValidateModifiedTime

func (*Platform) ValidateModifiedTime(catalog.ModifiedTime) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL