Versions in this module Expand all Collapse all v0 v0.12.4 Jan 17, 2024 Changes in this version + func NewCacheResultStorage(wc *Controller) solver.CacheResultStorage + func NewWorkerRefResult(ref cache.ImmutableRef, worker Worker) solver.Result + type Controller struct + func (c *Controller) Add(w Worker) error + func (c *Controller) Close() error + func (c *Controller) Get(id string) (Worker, error) + func (c *Controller) GetDefault() (Worker, error) + func (c *Controller) List(filterStrings ...string) ([]Worker, error) + func (c *Controller) WorkerInfos() []client.WorkerInfo + type Infos interface + GetDefault func() (Worker, error) + WorkerInfos func() []client.WorkerInfo + type Worker interface + BuildkitVersion func() client.BuildkitVersion + CacheManager func() cache.Manager + ContentStore func() *containerdsnapshot.Store + DiskUsage func(ctx context.Context, opt client.DiskUsageInfo) ([]*client.UsageInfo, error) + Executor func() executor.Executor + Exporter func(name string, sm *session.Manager) (exporter.Exporter, error) + FromRemote func(ctx context.Context, remote *solver.Remote) (cache.ImmutableRef, error) + GCPolicy func() []client.PruneInfo + ID func() string + Labels func() map[string]string + LeaseManager func() *leaseutil.Manager + LoadRef func(ctx context.Context, id string, hidden bool) (cache.ImmutableRef, error) + Platforms func(noCache bool) []ocispecs.Platform + Prune func(ctx context.Context, ch chan client.UsageInfo, opt ...client.PruneInfo) error + PruneCacheMounts func(ctx context.Context, ids []string) error + ResolveImageConfig func(ctx context.Context, ref string, opt llb.ResolveImageConfigOpt, ...) (string, digest.Digest, []byte, error) + ResolveOp func(v solver.Vertex, s frontend.FrontendLLBBridge, sm *session.Manager) (solver.Op, error) + type WorkerRef struct + ImmutableRef cache.ImmutableRef + Worker Worker + func (wr *WorkerRef) GetRemotes(ctx context.Context, createIfNeeded bool, refCfg cacheconfig.RefConfig, ...) ([]*solver.Remote, error) + func (wr *WorkerRef) ID() string + func (wr *WorkerRef) Release(ctx context.Context) error