runner

package
v0.0.0-...-c33ea8f Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteRun

func ExecuteRun(run Run, mode string) error

execute tasks in containers for the run

Types

type Container

type Container struct {
	Name  string
	Image string
	Tasks []Task
}

a container to run tasks in

func (Container) StopAndRemoveByName

func (c Container) StopAndRemoveByName(ctx context.Context, dockerClient *client.Client) error

type Run

type Run struct {
	Name       string
	Containers []Container
}

a run of a pipeline

type Task

type Task struct {
	Name    string
	Type    string
	Command string
	Uses    string
}

task to run in a container

Jump to

Keyboard shortcuts

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