Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientOption ¶
ClientOption defines the type for functional options.
func WithHost ¶
func WithHost(host string) ClientOption
WithHost sets the host for the Docker client.
func WithTLS ¶
func WithTLS(certFile, keyFile, caFile string) ClientOption
WithTLS sets the TLS configuration for the Docker client.
type Docker ¶
Docker struct is used to pass Context and EncodedAuth around client.APIClient interface is used to make mock testing easier
func (*Docker) LoginDocker ¶
LoginDocker logs in registry with given credentials and sets encodedauth to Docker object for further use in other functions
func (*Docker) PullDockerImage ¶
PullDockerImage pulls a Docker image from a registry
Click to show internal directories.
Click to hide internal directories.