Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotConnecting = errors.Errorf("driver not connecting")
View Source
var ErrNotRunning = errors.Errorf("driver not running")
Functions ¶
Types ¶
type BuildkitConfig ¶
type BuildkitConfig struct {
}
type Driver ¶
type Factory ¶
type Factory interface {
Name() string
Usage() string
Priority(context.Context, dockerclient.APIClient) int
New(ctx context.Context, cfg InitConfig) (Driver, error)
AllowsInstances() bool
}
func GetDefaultFactory ¶
func GetFactory ¶
type Feature ¶
type Feature string
const CacheExport Feature = "cache export"
const DockerExporter Feature = "Docker exporter"
const MultiPlatform Feature = "multiple platforms"
const OCIExporter Feature = "OCI exporter"
type InitConfig ¶
type InitConfig struct {
// This object needs updates to be generic for different drivers
Name string
DockerAPI dockerclient.APIClient
BuildkitConfig BuildkitConfig
Meta map[string]interface{}
}
Click to show internal directories.
Click to hide internal directories.