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 + type Controller struct + func NewController(opt Opt) (*Controller, error) + func (c *Controller) DiskUsage(ctx context.Context, r *controlapi.DiskUsageRequest) (*controlapi.DiskUsageResponse, error) + func (c *Controller) ListWorkers(ctx context.Context, r *controlapi.ListWorkersRequest) (*controlapi.ListWorkersResponse, error) + func (c *Controller) Prune(req *controlapi.PruneRequest, stream controlapi.Control_PruneServer) error + func (c *Controller) Register(server *grpc.Server) error + func (c *Controller) Session(stream controlapi.Control_SessionServer) error + func (c *Controller) Solve(ctx context.Context, req *controlapi.SolveRequest) (*controlapi.SolveResponse, error) + func (c *Controller) Status(req *controlapi.StatusRequest, stream controlapi.Control_StatusServer) error + type Opt struct + CacheKeyStorage solver.CacheKeyStorage + Frontends map[string]frontend.Frontend + ResolveCacheExporterFunc remotecache.ResolveCacheExporterFunc + ResolveCacheImporterFunc remotecache.ResolveCacheImporterFunc + SessionManager *session.Manager + WorkerController *worker.Controller + type ResolveCacheExporterFunc func(ctx context.Context, typ, target string) (remotecache.Exporter, error)