Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerClient ¶
type DockerClient struct {
Action *action.Action
ExecSvc execsvc.CommandRunner
}
DockerClient provides functionality for Docker operations
func New ¶
func New(action *action.Action, execSvc execsvc.CommandRunner) *DockerClient
New creates a new DockerClient instance
func (*DockerClient) Close ¶
func (dc *DockerClient) Close(client *client.Client)
func (*DockerClient) ForcePullImage ¶
func (dc *DockerClient) ForcePullImage(imageName string) (finalImageName string, err error)
type DockerClientRunner ¶
type DockerClientRunner interface {
Create() (*client.Client, error)
Close(client *client.Client)
PushImage(namespace string, imageName string) error
ForcePullImage(imageName string) (finalImageName string, err error)
}
TODO Add testcontainers tests DockerClientRunner defines the interface for Docker client operations
Click to show internal directories.
Click to hide internal directories.