run

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMisconfiguredTemplate = errors.New("template misconfigured")

Functions

func RunContainer

func RunContainer(ctx context.Context, client client.DockerClient, meta CommonEnv, template containers.Template, waitLogCleanup bool) (string, *errors.E)

func WaitThenLog added in v0.0.14

func WaitThenLog(ctx context.Context, client client.DockerClient, id string) *errors.E

Types

type CommonEnv

type CommonEnv struct {
	VolumeName string
	BackupId   string
	FileExt    string
}

Jump to

Keyboard shortcuts

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