tim

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: EUPL-1.2 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDataNodeRequired = errors.New("datanode is required")
	ErrConfigIsNil      = errors.New("config is nil")
)
View Source
var (
	ExecCommand = exec.Command
)

Functions

func Run

func Run(timPath string) error

Types

type TerminalIsolationMatrix

type TerminalIsolationMatrix struct {
	Config []byte
	RootFS *datanode.DataNode
}

TerminalIsolationMatrix represents a runc bundle.

func FromDataNode

func FromDataNode(dn *datanode.DataNode) (*TerminalIsolationMatrix, error)

FromDataNode creates a new TerminalIsolationMatrix from a DataNode.

func New

New creates a new, empty TerminalIsolationMatrix.

func (*TerminalIsolationMatrix) ToTar

func (m *TerminalIsolationMatrix) ToTar() ([]byte, error)

ToTar serializes the TerminalIsolationMatrix to a tarball.

Jump to

Keyboard shortcuts

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