dockerd

package
v0.0.0-...-2745715 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

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