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 (latest)
Published
Apr 15, 2025
Platform
js/wasm
Imports
21 packages
Last checked
17 hours ago

Tools for package owners.