docker

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	WORKING_DIR  = "/flows"
	ArtifactsDir = "/tmp/flow/artifacts"
)

Variables

This section is empty.

Functions

func GetCapabilities added in v0.7.0

func GetCapabilities() executor.Capability

func GetSchema

func GetSchema() interface{}

func NewDockerExecutor

func NewDockerExecutor(name string, node executor.Node, execID string) (executor.Executor, error)

Types

type DockerExecutor

type DockerExecutor struct {
	// contains filtered or unexported fields
}

func (*DockerExecutor) Close added in v0.9.0

func (d *DockerExecutor) Close() error

func (*DockerExecutor) Execute

func (*DockerExecutor) GetArtifactsDir added in v0.4.0

func (d *DockerExecutor) GetArtifactsDir() string

type DockerExecutorPlugin added in v0.9.0

type DockerExecutorPlugin struct{}

DockerExecutorPlugin implements executor.ExecutorPlugin for the docker executor.

func (*DockerExecutorPlugin) GetCapabilities added in v0.9.0

func (p *DockerExecutorPlugin) GetCapabilities() executor.Capability

func (*DockerExecutorPlugin) GetName added in v0.9.0

func (p *DockerExecutorPlugin) GetName() string

func (*DockerExecutorPlugin) GetSchema added in v0.9.0

func (p *DockerExecutorPlugin) GetSchema() interface{}

func (*DockerExecutorPlugin) New added in v0.9.0

func (p *DockerExecutorPlugin) New(name string, node executor.Node, execID string) (executor.Executor, error)

type DockerRunnerOptions

type DockerRunnerOptions struct {
	ShowImagePull     bool
	MountDockerSocket bool
	KeepContainer     bool
}

type DockerWithConfig

type DockerWithConfig struct {
	Image       string `` /* 131-byte string literal not displayed */
	Script      string `yaml:"script" json:"script" jsonschema:"title=script" jsonschema_extras:"widget=codeeditor"`
	Interpreter string `` /* 184-byte string literal not displayed */
	Extension   string `` /* 175-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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