package local

import "github.com/moby/buildkit/exporter/local"

Index

Functions

func CreateFS

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

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)

func (*CreateFSOpts) UsePlatformSplit

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

type Opt

type Opt struct {
	SessionManager *session.Manager
}

Source Files

export.go export_unix.go fs.go

Version
v0.23.0-rc1
Published
Jun 11, 2025
Platform
darwin/amd64
Imports
31 packages
Last checked
12 hours ago

Tools for package owners.