Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToImmutableRef ¶
func ToImmutableRef(ref Ref) (cache.ImmutableRef, bool)
Types ¶
type CacheExporter ¶
type CacheExporter interface {
Export(context.Context) ([]cacheimport.CacheRecord, error)
}
type LLBOpt ¶
type LLBOpt struct { WorkerController *worker.Controller Frontends map[string]frontend.Frontend // used by nested invocations CacheExporter *cacheimport.CacheExporter CacheImporter *cacheimport.CacheImporter }
type ResolveOpFunc ¶
ResolveOpFunc finds an Op implementation for a vertex
type SharedRef ¶
type SharedRef struct { // contains filtered or unexported fields }
SharedRef is a wrapper around releasable that allows you to make new releasable child objects
func NewSharedRef ¶
type SolveRequest ¶
type SolveRequest = types.SolveRequest
type Solver ¶
type Solver struct {
// contains filtered or unexported fields
}
func New ¶
func New(resolve ResolveOpFunc, wc *worker.Controller, vwd VertexWorkerDeterminer, f map[string]frontend.Frontend, ce *cacheimport.CacheExporter, ci *cacheimport.CacheImporter) *Solver
func NewLLBOpSolver ¶
type VertexEvaluator ¶
type VertexEvaluator interface { Next(context.Context) (*VertexResult, error) Cancel() error }
type VertexResult ¶
type VertexSolver ¶
type VertexWorkerDeterminer ¶
FIXME: Also we need to track the workers of the inputs. TODO: REMOVE
Source Files ¶
Click to show internal directories.
Click to hide internal directories.