docker

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableEngine

func EnableEngine()

Types

type DockerEngineLibrary

type DockerEngineLibrary struct {
	// contains filtered or unexported fields
}

func (DockerEngineLibrary) CheckPrereqs

func (DockerEngineLibrary) CheckPrereqs() (bool, []string)

func (DockerEngineLibrary) GetProvider

func (l DockerEngineLibrary) GetProvider(version string) engine.Provider

func (DockerEngineLibrary) IsSealedDistro

func (DockerEngineLibrary) IsSealedDistro() bool

func (DockerEngineLibrary) List

func (DockerEngineLibrary) ShouldEnsurePlugins

func (l DockerEngineLibrary) ShouldEnsurePlugins() bool

type DockerMockEngine

type DockerMockEngine struct {
	// contains filtered or unexported fields
}

func (*DockerMockEngine) GetID added in v1.8.0

func (d *DockerMockEngine) GetID() string

func (*DockerMockEngine) GetVersionString

func (d *DockerMockEngine) GetVersionString() (string, error)

func (*DockerMockEngine) ListAllManaged

func (d *DockerMockEngine) ListAllManaged() ([]engine.ManagedMock, error)

func (*DockerMockEngine) Restart

func (d *DockerMockEngine) Restart(wg *sync.WaitGroup)

func (*DockerMockEngine) Start

func (d *DockerMockEngine) Start(wg *sync.WaitGroup) bool

func (*DockerMockEngine) Stop

func (d *DockerMockEngine) Stop(wg *sync.WaitGroup)

func (*DockerMockEngine) StopAllManaged

func (d *DockerMockEngine) StopAllManaged() int

func (*DockerMockEngine) StopImmediately

func (d *DockerMockEngine) StopImmediately(wg *sync.WaitGroup)

func (*DockerMockEngine) StopManaged added in v1.8.0

func (d *DockerMockEngine) StopManaged(id string) (bool, error)

type EngineImageProvider

type EngineImageProvider struct {
	engine.EngineMetadata
	// contains filtered or unexported fields
}

func (*EngineImageProvider) Bundle

func (d *EngineImageProvider) Bundle(configDir string, dest string) error

Bundle implements the Docker engine steps to create a mock bundle. destFile is interpreted as the image tag.

func (*EngineImageProvider) GetEngineType

func (d *EngineImageProvider) GetEngineType() engine.EngineType

func (*EngineImageProvider) Provide

func (d *EngineImageProvider) Provide(policy engine.PullPolicy) error

func (*EngineImageProvider) Satisfied

func (d *EngineImageProvider) Satisfied() bool

Jump to

Keyboard shortcuts

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