dockerd

package
v0.11.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderConfig added in v0.11.3

type BuilderConfig struct {
	Entitlements BuilderEntitlements `json:",omitempty"`
}

type BuilderEntitlements added in v0.11.3

type BuilderEntitlements struct {
	NetworkHost      bool `json:"network-host,omitempty"`
	SecurityInsecure bool `json:"security-insecure,omitempty"`
}

type Config added in v0.11.3

type Config struct {
	Features map[string]bool `json:"features,omitempty"`
	Mirrors  []string        `json:"registry-mirrors,omitempty"`
	Builder  BuilderConfig   `json:"builder,omitempty"`
}

type Daemon

type Daemon struct {
	Wait chan error

	Log LogT
	// contains filtered or unexported fields
}

func NewDaemon

func NewDaemon(workingDir string, ops ...Option) (*Daemon, error)

func (*Daemon) Sock

func (d *Daemon) Sock() string

func (*Daemon) StartWithError

func (d *Daemon) StartWithError(daemonLogs map[string]*bytes.Buffer, providedArgs ...string) error

func (*Daemon) StopWithError

func (d *Daemon) StopWithError() (err error)

type LogT

type LogT interface {
	Logf(string, ...interface{})
}

type Option

type Option func(*Daemon)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL