Documentation
¶
Index ¶
- func ImageExistsLocally(ctx context.Context, imageName string) (bool, error)
- func NewDockerBuildExecutor(input NewDockerBuildExecutorInput) common.Executor
- func NewDockerPullExecutor(input NewDockerPullExecutorInput) common.Executor
- func NewDockerRunExecutor(input NewDockerRunExecutorInput) common.Executor
- type NewDockerBuildExecutorInput
- type NewDockerPullExecutorInput
- type NewDockerRunExecutorInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageExistsLocally ¶
ImageExistsLocally returns a boolean indicating if an image with the requested name (and tag) exist in the local docker image store
func NewDockerBuildExecutor ¶
func NewDockerBuildExecutor(input NewDockerBuildExecutorInput) common.Executor
NewDockerBuildExecutor function to create a run executor for the container
func NewDockerPullExecutor ¶
func NewDockerPullExecutor(input NewDockerPullExecutorInput) common.Executor
NewDockerPullExecutor function to create a run executor for the container
func NewDockerRunExecutor ¶
func NewDockerRunExecutor(input NewDockerRunExecutorInput) common.Executor
NewDockerRunExecutor function to create a run executor for the container
Types ¶
type NewDockerBuildExecutorInput ¶
NewDockerBuildExecutorInput the input for the NewDockerBuildExecutor function
type NewDockerPullExecutorInput ¶
NewDockerPullExecutorInput the input for the NewDockerPullExecutor function
type NewDockerRunExecutorInput ¶
type NewDockerRunExecutorInput struct { Image string Entrypoint []string Cmd []string WorkingDir string Env []string Binds []string Content map[string]io.Reader Volumes []string Name string ReuseContainers bool Stdout io.Writer Stderr io.Writer }
NewDockerRunExecutorInput the input for the NewDockerRunExecutor function
Click to show internal directories.
Click to hide internal directories.