local

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 30 Imported by: 108

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, 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             *time.Time
	AttestationPrefix string
	PlatformSplit     bool
}

func (*CreateFSOpts) Load added in v0.12.0

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