mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
move moby check to driver interface
Driver caching masked the method detection Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@ -57,6 +57,7 @@ type Driver interface {
|
||||
Rm(ctx context.Context, force bool) error
|
||||
Client(ctx context.Context) (*client.Client, error)
|
||||
Features() map[Feature]bool
|
||||
IsMobyDriver() bool
|
||||
}
|
||||
|
||||
func Boot(ctx context.Context, d Driver, pw progress.Writer) (*client.Client, error) {
|
||||
|
Reference in New Issue
Block a user