Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerClient ¶
type DockerClient interface {
// Client returns the underlying *docker.Client
Client() *docker.Client
// LatestImageByRegex returns the docker api image object if that object is
// tagged with at least one tag that matches "regex"
LatestImageByRegex(regex string) (*docker.APIImages, error)
}
DockerClient wraps docker.Client, adding a few handy functions
func FakeClient ¶
func FakeClient() DockerClient
FakeClient returns a DockerClient implementation that is suitable for testing
func NewDockerClient ¶
func NewDockerClient() (DockerClient, error)
NewDockerClient returns the dockerclient used by the artifactory package
Click to show internal directories.
Click to hide internal directories.
