Versions in this module Expand all Collapse all v0 v0.12.4 Jan 17, 2024 Changes in this version + type Controller struct + func NewController(opt Opt) (*Controller, error) + func (c *Controller) Close() error + func (c *Controller) DiskUsage(ctx context.Context, r *controlapi.DiskUsageRequest) (*controlapi.DiskUsageResponse, error) + func (c *Controller) Export(ctx context.Context, req *tracev1.ExportTraceServiceRequest) (*tracev1.ExportTraceServiceResponse, error) + func (c *Controller) Info(ctx context.Context, r *controlapi.InfoRequest) (*controlapi.InfoResponse, error) + func (c *Controller) ListWorkers(ctx context.Context, r *controlapi.ListWorkersRequest) (*controlapi.ListWorkersResponse, error) + func (c *Controller) ListenBuildHistory(req *controlapi.BuildHistoryRequest, ...) error + func (c *Controller) Prune(req *controlapi.PruneRequest, stream controlapi.Control_PruneServer) error + func (c *Controller) Register(server *grpc.Server) + 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 + func (c *Controller) UpdateBuildHistory(ctx context.Context, req *controlapi.UpdateBuildHistoryRequest) (*controlapi.UpdateBuildHistoryResponse, error) + type Opt struct + CacheManager solver.CacheManager + CacheStore *bboltcachestorage.Store + ContentStore *containerdsnapshot.Store + Entitlements []string + Frontends map[string]frontend.Frontend + HistoryConfig *config.HistoryConfig + HistoryDB *bbolt.DB + LeaseManager *leaseutil.Manager + ResolveCacheExporterFuncs map[string]remotecache.ResolveCacheExporterFunc + ResolveCacheImporterFuncs map[string]remotecache.ResolveCacheImporterFunc + SessionManager *session.Manager + TraceCollector sdktrace.SpanExporter + WorkerController *worker.Controller