chariot_container

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(containerPath string, cmd string, cwd string, mounts []Mount, stdOut io.Writer, stdErr io.Writer) error

func HostInit

func HostInit()

Types

type ExecContext

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

func Use

func Use(containerPath string, cwd string, mounts []Mount, stdOut io.Writer, stdErr io.Writer) *ExecContext

func (*ExecContext) Exec

func (context *ExecContext) Exec(cmd string) error

type Mount

type Mount struct {
	To   string
	From string
}

Jump to

Keyboard shortcuts

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