Documentation ¶
Index ¶
- type Controller
- func (c *Controller) DiskUsage(ctx context.Context, r *controlapi.DiskUsageRequest) (*controlapi.DiskUsageResponse, 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 {
// 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) 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 { Snapshotter snapshot.Snapshotter CacheManager cache.Manager Worker worker.Worker SourceManager *source.Manager InstructionCache solver.InstructionCache Exporters map[string]exporter.Exporter SessionManager *session.Manager Frontends map[string]frontend.Frontend ImageSource source.Source CacheExporter *cacheimport.CacheExporter CacheImporter *cacheimport.CacheImporter }
Click to show internal directories.
Click to hide internal directories.