package bundle

import "github.com/docker/buildx/util/desktop/bundle"

Index

Constants

const (
	HistoryRecordMediaTypeV0 = "application/vnd.buildkit.historyrecord.v0"
	RefDescriptorMediaType   = "vnd.export-build.descriptor.mediatype"
)

Functions

func Export

func Export(ctx context.Context, c []*client.Client, w io.Writer, records []*Record) error

Types

type Record

type Record struct {
	*controlapi.BuildHistoryRecord

	DefaultPlatform string
	LocalState      *localstate.State      `json:"localState,omitempty"`
	StateGroup      *localstate.StateGroup `json:"stateGroup,omitempty"`
}

Source Files

content.go export.go trace.go

Version
v0.23.0-rc1
Published
Apr 9, 2025
Platform
windows/amd64
Imports
21 packages
Last checked
1 hour ago

Tools for package owners.