Documentation
¶
Index ¶
- func NewDocker(ctx context.Context) containerruntime.ContainerRuntime
- type Docker
- func (d *Docker) CloseSocketConnection(ctx context.Context)
- func (d *Docker) CreateNetwork(ctx context.Context, name string)
- func (d *Docker) PullImage(ctx context.Context, ref string, policy containerruntime.ImagePullPolicy)
- func (d *Docker) RunContainer(ctx context.Context, options containerruntime.RunContainerOptions)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDocker ¶
func NewDocker(ctx context.Context) containerruntime.ContainerRuntime
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) CloseSocketConnection ¶
func (*Docker) CreateNetwork ¶
Ensures that the given Docker network exists.
func (*Docker) PullImage ¶
func (d *Docker) PullImage(ctx context.Context, ref string, policy containerruntime.ImagePullPolicy)
func (*Docker) RunContainer ¶
func (d *Docker) RunContainer(ctx context.Context, options containerruntime.RunContainerOptions)
Click to show internal directories.
Click to hide internal directories.