Documentation ¶
Index ¶
- func NewContainer(ctx context.Context, w worker.Worker, sm *session.Manager, g session.Group, ...) (client.Container, error)
- func NewGatewayFrontend(w worker.Infos) frontend.Frontend
- type LLBBridgeForwarder
- type MakeMutable
- type Mount
- type MountMutableRef
- type MountRef
- type NewContainerRequest
- type PreparedMounts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶ added in v0.8.0
Types ¶
type LLBBridgeForwarder ¶
type LLBBridgeForwarder interface { pb.LLBBridgeServer Done() <-chan struct{} Result() (*frontend.Result, error) Discard() }
func NewBridgeForwarder ¶
func NewBridgeForwarder(ctx context.Context, llbBridge frontend.FrontendLLBBridge, workers worker.Infos, inputs map[string]*opspb.Definition, sid string, sm *session.Manager) LLBBridgeForwarder
type MakeMutable ¶ added in v0.8.0
type MakeMutable func(m *opspb.Mount, ref cache.ImmutableRef) (cache.MutableRef, error)
type Mount ¶ added in v0.8.0
Mount used for the gateway.Container is nearly identical to the client.Mount except is has a RefProxy instead of Ref to allow for a common abstraction between gateway clients.
type MountMutableRef ¶ added in v0.8.0
type MountMutableRef struct { Ref cache.MutableRef MountIndex int NoCommit bool }
type NewContainerRequest ¶ added in v0.8.0
type PreparedMounts ¶ added in v0.8.0
type PreparedMounts struct { Root executor.Mount ReadonlyRootFS bool Mounts []executor.Mount OutputRefs []MountRef Actives []MountMutableRef }
func PrepareMounts ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.