package pipe
import "github.com/moby/buildkit/solver/internal/pipe"
Index ¶
- type Pipe
- func New(req Request) *Pipe
- func NewWithFunction(f func(context.Context) (interface{}, error)) (*Pipe, func())
- type Receiver
- type Request
- type Sender
- type Status
Types ¶
type Pipe ¶
type Pipe struct {
Sender Sender
Receiver Receiver
OnReceiveCompletion func()
OnSendCompletion func()
}
func New ¶
func NewWithFunction ¶
type Receiver ¶
type Request ¶
type Request struct {
Payload interface{}
Canceled bool
}
type Sender ¶
type Sender interface {
Request() Request
Update(v interface{})
Finalize(v interface{}, err error)
Status() Status
}
type Status ¶
Source Files ¶
- Version
- v0.13.0-beta2
- Published
- Jan 30, 2024
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 minutes ago –
Tools for package owners.