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 DockerExecutorInput
- type NewDockerBuildExecutorInput
- type NewDockerPullExecutorInput
- type NewDockerRunExecutorInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageExistsLocally ¶ added in v0.1.1
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 DockerExecutorInput ¶
DockerExecutorInput common input params
type NewDockerBuildExecutorInput ¶
type NewDockerBuildExecutorInput struct { DockerExecutorInput ContextDir string ImageTag string }
NewDockerBuildExecutorInput the input for the NewDockerBuildExecutor function
type NewDockerPullExecutorInput ¶
type NewDockerPullExecutorInput struct { DockerExecutorInput Image string }
NewDockerPullExecutorInput the input for the NewDockerPullExecutor function
type NewDockerRunExecutorInput ¶
type NewDockerRunExecutorInput struct { DockerExecutorInput Image string Entrypoint []string Cmd []string WorkingDir string Env []string Binds []string Content map[string]io.Reader Volumes []string Name string ReuseContainers bool }
NewDockerRunExecutorInput the input for the NewDockerRunExecutor function
Click to show internal directories.
Click to hide internal directories.