Documentation ¶
Index ¶
- func AssertContains(t *testing.T, slice []string, elements ...string)
- func AssertDoesNotContain(t *testing.T, slice []string, elements ...string)
- func AssertEq(t *testing.T, actual, expected interface{})
- func AssertError(t *testing.T, actual error, expected string)
- func AssertMatch(t *testing.T, actual string, expected *regexp.Regexp)
- func AssertNil(t *testing.T, actual interface{})
- func AssertNotEq(t *testing.T, v1, v2 interface{})
- func CopySingleFileFromContainer(dockerCli *dockercli.Client, ctrID, path string) (string, error)
- func CopySingleFileFromImage(dockerCli *dockercli.Client, repoName, path string) (string, error)
- func CreateImageOnLocal(t *testing.T, dockerCli *dockercli.Client, repoName, dockerFile string, ...)
- func CreateImageOnRemote(t *testing.T, dockerCli *dockercli.Client, repoName, dockerFile string, ...) string
- func CreateSingleFileTar(path, txt string) (io.Reader, error)
- func DockerCli(t *testing.T) *dockercli.Client
- func DockerRmi(dockerCli *dockercli.Client, repoNames ...string) error
- func Eventually(t *testing.T, test func() bool, every time.Duration, timeout time.Duration)
- func HttpGetE(url string) (string, error)
- func ImageID(t *testing.T, repoName string) string
- func PullImage(dockerCli *dockercli.Client, ref string) error
- func RandString(n int) string
- type DockerRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertDoesNotContain ¶
func AssertNotEq ¶
func CopySingleFileFromImage ¶
func CreateImageOnLocal ¶
func CreateImageOnRemote ¶
func Eventually ¶
func RandString ¶
Types ¶
type DockerRegistry ¶
func NewDockerRegistry ¶
func NewDockerRegistry() *DockerRegistry
func (*DockerRegistry) Start ¶
func (registry *DockerRegistry) Start(t *testing.T)
func (*DockerRegistry) Stop ¶
func (registry *DockerRegistry) Stop(t *testing.T)
Click to show internal directories.
Click to hide internal directories.