Container for managing docker run containers
| 41 | |
| 42 | // Container for managing docker run containers |
| 43 | type Container interface { |
| 44 | Create(capAdd []string, capDrop []string) common.Executor |
| 45 | Copy(destPath string, files ...*FileEntry) common.Executor |
| 46 | CopyTarStream(ctx context.Context, destPath string, tarStream io.Reader) error |
| 47 | CopyDir(destPath string, srcPath string, useGitIgnore bool) common.Executor |
| 48 | GetContainerArchive(ctx context.Context, srcPath string) (io.ReadCloser, error) |
| 49 | Pull(forcePull bool) common.Executor |
| 50 | Start(attach bool) common.Executor |
| 51 | Exec(command []string, env map[string]string, user, workdir string) common.Executor |
| 52 | UpdateFromEnv(srcPath string, env *map[string]string) common.Executor |
| 53 | UpdateFromImageEnv(env *map[string]string) common.Executor |
| 54 | Remove() common.Executor |
| 55 | Close() common.Executor |
| 56 | ReplaceLogWriter(io.Writer, io.Writer) (io.Writer, io.Writer) |
| 57 | GetHealth(ctx context.Context) Health |
| 58 | } |
| 59 | |
| 60 | // NewDockerBuildExecutorInput the input for the NewDockerBuildExecutor function |
| 61 | type NewDockerBuildExecutorInput struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…