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 `json:",omitempty"` }
type BuilderEntitlements ¶
type BuilderEntitlements struct { NetworkHost bool `json:"network-host,omitempty"` SecurityInsecure bool `json:"security-insecure,omitempty"` }
type Config ¶
type Config struct { Features map[string]bool `json:"features,omitempty"` Mirrors []string `json:"registry-mirrors,omitempty"` Builder BuilderConfig `json:"builder,omitempty"` }
type Daemon ¶
func NewDaemon ¶
func (*Daemon) Sock ¶
func (*Daemon) StartWithError ¶
func (*Daemon) StopWithError ¶
type LogT ¶
type LogT interface { Logf(string, ...interface{}) }
type Option ¶
type Option func(*Daemon)
func WithBinary ¶
func WithExtraEnv ¶
Source Files ¶
- Version
- v0.15.0-rc2
- Published
- Jul 10, 2024
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 3 seconds ago –
Tools for package owners.