package control

import "github.com/moby/buildkit/control"

Index

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(opt Opt) (*Controller, error)

func (*Controller) DiskUsage

func (*Controller) ListWorkers

func (*Controller) Prune

func (*Controller) Register

func (c *Controller) Register(server *grpc.Server) error

func (*Controller) Session

func (c *Controller) Session(stream controlapi.Control_SessionServer) error

func (*Controller) Solve

func (*Controller) Status

type Opt

type Opt struct {
	SessionManager           *session.Manager
	WorkerController         *worker.Controller
	Frontends                map[string]frontend.Frontend
	CacheKeyStorage          solver.CacheKeyStorage
	ResolveCacheExporterFunc remotecache.ResolveCacheExporterFunc
	ResolveCacheImporterFunc remotecache.ResolveCacheImporterFunc
}

type ResolveCacheExporterFunc

type ResolveCacheExporterFunc func(ctx context.Context, typ, target string) (remotecache.Exporter, error)

Source Files

control.go

Directories

PathSynopsis
control/gateway
Version
v0.3.1
Published
Oct 17, 2018
Platform
js/wasm
Imports
22 packages
Last checked
12 hours ago

Tools for package owners.