Documentation ¶
Index ¶
- func Load(def *pb.Definition, opts ...LoadOpt) (solver.Edge, error)
- func NewContentHashFunc(selectors []string) solver.ResultBasedCacheFunc
- type ExporterRequest
- type LoadOpt
- type ResolveWorkerFunc
- type Solver
- func (s *Solver) Bridge(b solver.Builder) frontend.FrontendLLBBridge
- func (s *Solver) Solve(ctx context.Context, id string, req frontend.SolveRequest, exp ExporterRequest) (*client.SolveResponse, error)
- func (s *Solver) Status(ctx context.Context, id string, statusChan chan *client.SolveStatus) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContentHashFunc ¶
func NewContentHashFunc(selectors []string) solver.ResultBasedCacheFunc
Types ¶
type ExporterRequest ¶
type ExporterRequest struct { Exporter exporter.ExporterInstance CacheExporter *remotecache.RegistryCacheExporter CacheExportMode solver.CacheExportMode }
type LoadOpt ¶
type LoadOpt func(*solver.VertexOptions)
func WithCacheSources ¶
func WithCacheSources(cms []solver.CacheManager) LoadOpt
type ResolveWorkerFunc ¶
ResolveWorkerFunc returns default worker for the temporary default non-distributed use cases
type Solver ¶
type Solver struct {
// contains filtered or unexported fields
}
func New ¶
func New(wc *worker.Controller, f map[string]frontend.Frontend, cacheStore solver.CacheKeyStorage, ci *remotecache.CacheImporter) *Solver
func (*Solver) Solve ¶
func (s *Solver) Solve(ctx context.Context, id string, req frontend.SolveRequest, exp ExporterRequest) (*client.SolveResponse, error)
Click to show internal directories.
Click to hide internal directories.