Versions in this module Expand all Collapse all v0 v0.3.1 Oct 17, 2018 v0.3.0 Oct 12, 2018 Changes in this version + const LabelExecutor + const LabelHostname + const LabelSnapshotter + 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) 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 Worker interface + DiskUsage func(ctx context.Context, opt client.DiskUsageInfo) ([]*client.UsageInfo, error) + Exec func(ctx context.Context, meta executor.Meta, rootFS cache.ImmutableRef, ...) error + Exporter func(name string) (exporter.Exporter, error) + FromRemote func(ctx context.Context, remote *solver.Remote) (cache.ImmutableRef, error) + GCPolicy func() []client.PruneInfo + GetRemote func(ctx context.Context, ref cache.ImmutableRef, createIfNeeded bool) (*solver.Remote, error) + ID func() string + Labels func() map[string]string + LoadRef func(id string, hidden bool) (cache.ImmutableRef, error) + Platforms func() []specs.Platform + Prune func(ctx context.Context, ch chan client.UsageInfo, opt ...client.PruneInfo) error + ResolveImageConfig func(ctx context.Context, ref string, opt gw.ResolveImageConfigOpt) (digest.Digest, []byte, error) + ResolveOp func(v solver.Vertex, s frontend.FrontendLLBBridge) (solver.Op, error) + type WorkerRef struct + ImmutableRef cache.ImmutableRef + Worker Worker + func (wr *WorkerRef) ID() string