package cachestore

import "github.com/moby/buildkit/util/cachestore"

Index

Types

type Link struct {
	Input    int           `json:"input"`
	Output   int           `json:"output"`
	Digest   digest.Digest `json:"digest,omitempty"`
	Selector digest.Digest `json:"selector,omitempty"`
	Record   *Record       `json:"-"`
	ID       int           `json:"target,omitempty"`
}

type Record

type Record struct {
	ID       int                          `json:"id"`
	Parents  []Link                       `json:"parents,omitempty"`
	Children map[int]map[*Record]struct{} `json:"-"`
	Digest   digest.Digest                `json:"digest,omitempty"`
	Random   bool                         `json:"random,omitempty"`
	ChildIDs map[int]map[int]struct{}     `json:"children,omitempty"`
}

func Records

func Records(ctx context.Context, store solver.CacheKeyStorage) ([]*Record, error)

Source Files

store.go

Version
v0.26.2
Published
Nov 20, 2025
Platform
js/wasm
Imports
8 packages
Last checked
24 minutes ago

Tools for package owners.