docker

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: BSD-2-Clause Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerContext

func NewDockerContext() *wfl.Context

NewDockerContext creates a new Context containing a DRMAA2 session manager which is capable for creating Docker containers.

func NewDockerContextByCfg

func NewDockerContextByCfg(cfg Config) *wfl.Context

NewDockerContextByCfg creates a new Context based on the given DockerConfig.

Types

type Config

type Config struct {
	DBFile             string
	DefaultDockerImage string
	DefaultTemplate    drmaa2interface.JobTemplate
}

Config determines configuration options for the Docker containers which are created by the Workflow. A common use-case is setting a default Docker image, which is used when Run() is called or when RunT() is used but the job category is not set in the job template.

Jump to

Keyboard shortcuts

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