local

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 31 Imported by: 144

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFS added in v0.11.0

func CreateFS(ctx context.Context, sessionID string, k string, ref cache.ImmutableRef, attestations []exporter.Attestation, defaultTime time.Time, isMap bool, opt CreateFSOpts) (fsutil.FS, func() error, error)

func New

func New(opt Opt) (exporter.Exporter, error)

func NewProgressHandler added in v0.11.0

func NewProgressHandler(ctx context.Context, id string) func(int, bool)

Types

type CreateFSOpts added in v0.11.0

type CreateFSOpts struct {
	Epoch             *epoch.Epoch
	AttestationPrefix string
	PlatformSplit     *bool
}

func (*CreateFSOpts) Load added in v0.12.0

func (c *CreateFSOpts) Load(opt map[string]string) (map[string]string, error)

func (*CreateFSOpts) UsePlatformSplit added in v0.23.0

func (c *CreateFSOpts) UsePlatformSplit(isMap bool) bool

type Opt

type Opt struct {
	SessionManager *session.Manager
}

Jump to

Keyboard shortcuts

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