docker

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

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 (d *DockerExecutor) Execute(ctx context.Context, execCtx executor.ExecutionContext) (map[string]string, error)

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