local

package
v0.17.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 31 Imported by: 122

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