Documentation ¶
Index ¶
- type Controller
- 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) 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { *tracev1.UnimplementedTraceServiceServer // contains filtered or unexported fields }
func NewController ¶
func NewController(opt Opt) (*Controller, error)
func (*Controller) DiskUsage ¶
func (c *Controller) DiskUsage(ctx context.Context, r *controlapi.DiskUsageRequest) (*controlapi.DiskUsageResponse, error)
func (*Controller) Export ¶ added in v0.9.0
func (c *Controller) Export(ctx context.Context, req *tracev1.ExportTraceServiceRequest) (*tracev1.ExportTraceServiceResponse, error)
func (*Controller) ListWorkers ¶
func (c *Controller) ListWorkers(ctx context.Context, r *controlapi.ListWorkersRequest) (*controlapi.ListWorkersResponse, error)
func (*Controller) Prune ¶
func (c *Controller) Prune(req *controlapi.PruneRequest, stream controlapi.Control_PruneServer) error
func (*Controller) Session ¶
func (c *Controller) Session(stream controlapi.Control_SessionServer) error
func (*Controller) Solve ¶
func (c *Controller) Solve(ctx context.Context, req *controlapi.SolveRequest) (*controlapi.SolveResponse, error)
func (*Controller) Status ¶
func (c *Controller) Status(req *controlapi.StatusRequest, stream controlapi.Control_StatusServer) error
type Opt ¶
type Opt struct { SessionManager *session.Manager WorkerController *worker.Controller Frontends map[string]frontend.Frontend CacheKeyStorage solver.CacheKeyStorage ResolveCacheExporterFuncs map[string]remotecache.ResolveCacheExporterFunc ResolveCacheImporterFuncs map[string]remotecache.ResolveCacheImporterFunc Entitlements []string TraceCollector sdktrace.SpanExporter }
Click to show internal directories.
Click to hide internal directories.