package
0.19.0
Repository: https://github.com/moby/buildkit.git
Documentation: pkg.go.dev

# Packages

# Functions

NewCachedResult combines a result and cache key into cached result.
NewCacheKey creates a new cache key for a specific output index.
NewCacheManager creates a new cache manager with specific storage backend.
NewInMemoryCacheManager creates a new in-memory cache manager.

# Constants

CacheExportModeMax exports all possible non-root vertexes.
CacheExportModeMin exports a topmost allowed vertex and its dependencies that already have transferable layers.
CacheExportModeRemoteOnly only exports vertexes that already have transferable layers.

# Variables

# Structs

CacheExportOpt defines options for exporting build cache.
CacheInfoLink is a link between two cache keys.
CacheKeyWithSelector combines a cache key with an optional selector digest.
CacheLink is a link between two cache records.
CacheMap is a description for calculating the cache key of an operation.
CacheRecord is an identifier for loading in cache.
CacheResult is a record for a single solve result.
Edge is a connection point between vertexes.
ExportableCacheKey is a cache key connected with an exporter that can export a chain of cacherecords pointing to that key.
Remote is a descriptor or a list of stacked descriptors that can be pulled from a content provider TODO: add closer to keep referenced data from getting deleted.
SharedResult is a result that can be cloned.
Solver provides a shared graph of all the vertexes currently being processed.
VertexOptions define optional metadata for a vertex that doesn't change the definition or equality check of it.

# Interfaces

CachedResult is a result connected with its cache key.
CacheExporter can export the artifacts of the build chain.
CacheExporterRecord is a single object being exported.
CacheExporterTarget defines object capable of receiving exports.
CacheKeyStorage is interface for persisting cache metadata.
CacheManager determines if there is a result that matches the cache keys generated during the build that could be reused instead of fully reevaluating the vertex and its inputs.
CacheResultStorage is interface for converting cache metadata result to actual solve result.
Op defines how the solver can evaluate the properties of a vertex operation.
Result is an abstract return value for a solve.
Vertex is a node in a build graph.

# Type aliases

CacheExportMode is the type for setting cache exporting modes.
Index is an index value for the return array of an operation.
ResolveOpFunc finds an Op implementation for a Vertex.