runtime

package
v0.1.163 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 4 Imported by: 1 module, 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 (
	Docker = "docker"
	Podman = "podman"
	Shell  = "shell"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mounter added in v0.1.18

type Mounter interface {
	Mount(ctx context.Context, mnt *tork.Mount) error
	Unmount(ctx context.Context, mnt *tork.Mount) error
}

type MultiMounter added in v0.1.18

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

func NewMultiMounter added in v0.1.18

func NewMultiMounter() *MultiMounter

func (*MultiMounter) Mount added in v0.1.18

func (m *MultiMounter) Mount(ctx context.Context, mnt *tork.Mount) error

func (*MultiMounter) RegisterMounter added in v0.1.18

func (m *MultiMounter) RegisterMounter(mtype string, mr Mounter)

func (*MultiMounter) Unmount added in v0.1.18

func (m *MultiMounter) Unmount(ctx context.Context, mnt *tork.Mount) error

type Runtime

type Runtime interface {
	Run(ctx context.Context, t *tork.Task) error
	HealthCheck(ctx context.Context) error
}

Runtime is the actual runtime environment that executes a task.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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