Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
BuildkitdAddr() string
// Solve calls Solve on the controller.
Solve(ctx context.Context, def *llb.Definition,
opt client.SolveOpt, statusChan chan *client.SolveStatus) (*client.SolveResponse, error)
Build(ctx context.Context, opt client.SolveOpt, product string,
buildFunc gateway.BuildFunc, statusChan chan *client.SolveStatus,
) (*client.SolveResponse, error)
Prune(ctx context.Context, keepDuration time.Duration,
maxUsed float64, minFree float64, reserved float64, filter []string, verbose, all bool) error
Close() error
}
Client is a client for the buildkitd daemon. It's up to the caller to close the client.
func NewClient ¶
func NewClient(ctx context.Context, driver types.BuilderType, socket string, config *buildkitutil.BuildkitConfig) (Client, error)
func NewMobyClient ¶ added in v0.3.12
func NewMobyClient(ctx context.Context, driver types.BuilderType, socket string, config *buildkitutil.BuildkitConfig) (Client, error)
Click to show internal directories.
Click to hide internal directories.