Documentation
¶
Index ¶
- func EnableEngine()
- type DockerEngineLibrary
- func (DockerEngineLibrary) CheckPrereqs() (bool, []string)
- func (l DockerEngineLibrary) GetProvider(version string) engine.Provider
- func (DockerEngineLibrary) IsSealedDistro() bool
- func (l DockerEngineLibrary) List() ([]engine.EngineMetadata, error)
- func (l DockerEngineLibrary) ShouldEnsurePlugins() bool
- type DockerMockEngine
- func (d *DockerMockEngine) GetID() string
- func (d *DockerMockEngine) GetVersionString() (string, error)
- func (d *DockerMockEngine) ListAllManaged() ([]engine.ManagedMock, error)
- func (d *DockerMockEngine) Restart(wg *sync.WaitGroup)
- func (d *DockerMockEngine) Start(wg *sync.WaitGroup) bool
- func (d *DockerMockEngine) Stop(wg *sync.WaitGroup)
- func (d *DockerMockEngine) StopAllManaged() int
- func (d *DockerMockEngine) StopImmediately(wg *sync.WaitGroup)
- func (d *DockerMockEngine) StopManaged(id string) (bool, error)
- type EngineImageProvider
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 (l DockerEngineLibrary) List() ([]engine.EngineMetadata, error)
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) 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
Click to show internal directories.
Click to hide internal directories.