Versions in this module Expand all Collapse all v0 v0.1.0 Oct 23, 2019 v0.0.1 Oct 23, 2019 Changes in this version + func FindStages(content string) []string + func ParseDockerignore(dir string) ([]string, error) + func Tag(registry, image, tag string) string + type Client interface + ImageBuild func(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error) + ImagePush func(ctx context.Context, image string, options types.ImagePushOptions) (io.ReadCloser, error) + RegistryLogin func(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error) + type MockDocker struct + BrokenOutput bool + BuildContext []io.Reader + BuildCount int + BuildError []error + BuildOptions []types.ImageBuildOptions + Images []string + LoginError error + Password string + PushError error + PushOutput *string + ResponseError error + ServerAddress string + Username string + func (m *MockDocker) ImageBuild(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error) + func (m *MockDocker) ImagePush(ctx context.Context, image string, options types.ImagePushOptions) (io.ReadCloser, error) + func (m *MockDocker) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)