Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasePool ¶
type BasePool struct {
// contains filtered or unexported fields
}
func (*BasePool) Return ¶
func (p *BasePool) Return(d *DockerDaemon)
type ClientInit ¶
type DockerDaemon ¶
func NewDockerInDockerDaemon ¶
func NewDockerInDockerDaemon() (*DockerDaemon, error)
func NewNativeDockerDaemon ¶
func NewNativeDockerDaemon() (*DockerDaemon, error)
func (*DockerDaemon) KillAllContainers ¶
func (d *DockerDaemon) KillAllContainers() error
func (*DockerDaemon) Run ¶
func (d *DockerDaemon) Run(createOpts dockerapi.CreateContainerOptions, startConfig *dockerapi.HostConfig) (string, error)
type DockerInDocker ¶
type DockerInDocker struct {
// contains filtered or unexported fields
}
func (*DockerInDocker) Close ¶
func (d *DockerInDocker) Close() error
type DockerInDockerPool ¶
type DockerInDockerPool struct { BasePool // contains filtered or unexported fields }
func NewDockerInDockerPool ¶
func NewDockerInDockerPool(preloadImages ...string) (*DockerInDockerPool, error)
func (*DockerInDockerPool) Borrow ¶
func (p *DockerInDockerPool) Borrow() (*DockerDaemon, error)
type NativePool ¶
type NativePool struct {
BasePool
}
func NewNativePool ¶
func NewNativePool(preloadImages ...string) (*NativePool, error)
func (*NativePool) Borrow ¶
func (p *NativePool) Borrow() (*DockerDaemon, error)
type Pool ¶
type Pool interface { Borrow() (*DockerDaemon, error) Return(*DockerDaemon) Close() }
Click to show internal directories.
Click to hide internal directories.