Documentation ¶
Index ¶
- func Boot(ctx, clientContext context.Context, d *DriverHandle, pw progress.Writer) (*client.Client, error)
- func BuilderName(name string) string
- func ParseBuilderName(name string) (string, error)
- func Register(f Factory)
- type Auth
- type BuildkitConfig
- type Driver
- type DriverHandle
- type ErrNotConnecting
- type ErrNotRunning
- type Factory
- type Feature
- type Info
- type InitConfig
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuilderName ¶ added in v0.13.1
func ParseBuilderName ¶ added in v0.13.1
Types ¶
type Auth ¶ added in v0.5.0
type Auth interface {
GetAuthConfig(registryHostname string) (clitypes.AuthConfig, error)
}
type BuildkitConfig ¶
type BuildkitConfig struct { }
type Driver ¶
type Driver interface { Factory() Factory Bootstrap(context.Context, progress.Logger) error Info(context.Context) (*Info, error) Version(context.Context) (string, error) Stop(ctx context.Context, force bool) error Rm(ctx context.Context, force, rmVolume, rmDaemon bool) error Dial(ctx context.Context) (net.Conn, error) Client(ctx context.Context, opts ...client.ClientOpt) (*client.Client, error) Features(ctx context.Context) map[Feature]bool HostGatewayIP(ctx context.Context) (net.IP, error) IsMobyDriver() bool Config() InitConfig }
type DriverHandle ¶ added in v0.11.0
type DriverHandle struct { Driver // contains filtered or unexported fields }
func GetDriver ¶
func GetDriver(ctx context.Context, f Factory, cfg InitConfig) (*DriverHandle, error)
func (*DriverHandle) HistoryAPISupported ¶ added in v0.11.0
func (d *DriverHandle) HistoryAPISupported(ctx context.Context) bool
type ErrNotConnecting ¶
type ErrNotConnecting struct{}
func (ErrNotConnecting) Error ¶ added in v0.17.0
func (ErrNotConnecting) Error() string
type ErrNotRunning ¶
type ErrNotRunning struct{}
func (ErrNotRunning) Error ¶ added in v0.17.0
func (ErrNotRunning) Error() string
type Factory ¶
type Factory interface { Name() string Usage() string Priority(ctx context.Context, endpoint string, api dockerclient.APIClient, dialMeta map[string][]string) int New(ctx context.Context, cfg InitConfig) (Driver, error) AllowsInstances() bool }
func GetDefaultFactory ¶
func GetFactories ¶ added in v0.3.0
type Feature ¶
type Feature string
const CacheExport Feature = "Cache export"
const DefaultLoad Feature = "Automatically load images to the Docker Engine image store"
const DockerExporter Feature = "Docker exporter"
const MultiPlatform Feature = "Multi-platform build"
const OCIExporter Feature = "OCI exporter"
type InitConfig ¶
Click to show internal directories.
Click to hide internal directories.