cachestore

package
v0.0.0-...-01c3886 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL