kubernetes: show Kubernetes Pods as buildx "Nodes" in docker buildx inspect

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2019-11-12 19:10:39 +09:00
parent 6b65b0c982
commit c6f8de90aa
5 changed files with 54 additions and 11 deletions

View File

@ -3,6 +3,7 @@ package driver
import (
"context"
"github.com/docker/buildx/store"
"github.com/docker/buildx/util/progress"
"github.com/moby/buildkit/client"
"github.com/pkg/errors"
@ -39,6 +40,8 @@ func (s Status) String() string {
type Info struct {
Status Status
// DynamicNodes must be empty if the actual nodes are statically listed in the store
DynamicNodes []store.Node
}
type Driver interface {