container

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

type DockerExecutorInput struct {
	Ctx    context.Context
	Logger *logrus.Entry
	Dryrun bool
}

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
}

NewDockerRunExecutorInput the input for the NewDockerRunExecutor function

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL