package dockerd
import "github.com/moby/buildkit/util/testutil/dockerd"
Index ¶
- Constants
- type BuilderConfig
- type BuilderEntitlements
- type Config
- type Daemon
- func NewDaemon(workingDir string, ops ...Option) (*Daemon, error)
- func (d *Daemon) Sock() string
- func (d *Daemon) StartWithError(daemonLogs map[string]*bytes.Buffer, providedArgs ...string) error
- func (d *Daemon) StopWithError() (err error)
- type LogT
- type Option
Constants ¶
const (
DefaultDockerdBinary = "dockerd"
)
Types ¶
type BuilderConfig ¶
type BuilderConfig struct {
Entitlements BuilderEntitlements
}
type BuilderEntitlements ¶
type BuilderEntitlements struct {
NetworkHost bool `json:"network-host,omitempty"`
SecurityInsecure bool `json:"security-insecure,omitempty"`
Device bool `json:"device,omitempty"`
}
type Config ¶
type Config struct {
Features map[string]bool `json:"features,omitempty"`
Mirrors []string `json:"registry-mirrors,omitempty"`
Builder BuilderConfig `json:"builder"`
}
type Daemon ¶
func NewDaemon ¶
func (*Daemon) Sock ¶
func (*Daemon) StartWithError ¶
func (*Daemon) StopWithError ¶
type LogT ¶
type Option ¶
type Option func(*Daemon)
func WithBinary ¶
func WithExtraEnv ¶
Source Files ¶
config.go daemon.go daemon_windows.go
Directories ¶
| Path | Synopsis |
|---|---|
| util/testutil/dockerd/client |
- Version
- v0.27.0
- Published
- Jan 21, 2026
- Platform
- windows/amd64
- Imports
- 12 packages
- Last checked
- 40 minutes ago –
Tools for package owners.