local

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFS

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

func New

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

func NewProgressHandler

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

Types

type CreateFSOpts

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

func (*CreateFSOpts) Load

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

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