vmm

package
v0.0.0-...-34aeca7 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	ID string
	// contains filtered or unexported fields
}

type ContextWrapper

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

func (*ContextWrapper) Deadline

func (self *ContextWrapper) Deadline() (deadline time.Time, ok bool)

func (*ContextWrapper) Done

func (self *ContextWrapper) Done() <-chan struct{}

func (*ContextWrapper) Err

func (self *ContextWrapper) Err() error

func (*ContextWrapper) Value

func (self *ContextWrapper) Value(key interface{}) interface{}

type DockerMux

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

func (*DockerMux) Close

func (m *DockerMux) Close() error

func (*DockerMux) Read

func (m *DockerMux) Read(b []byte) (int, error)

func (*DockerMux) Write

func (m *DockerMux) Write(b []byte) (int, error)

func (*DockerMux) WriteStream

func (m *DockerMux) WriteStream(stream uint8, b []byte) (int, error)

type Exec

type Exec struct {
	Cmd          []string
	WorkingDir   string
	Env          []string
	Tty          bool
	AttachStdin  bool
	AttachStdout bool
	AttachStderr bool
	DetachKeys   string
	Privileged   bool
	// contains filtered or unexported fields
}

type Log

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

func NewLog

func NewLog(size int) *Log

func (*Log) Attach

func (self *Log) Attach(consumer io.WriteCloser)

func (*Log) Clear

func (self *Log) Clear()

func (*Log) Close

func (self *Log) Close() error

func (*Log) Detach

func (self *Log) Detach(consumer io.WriteCloser)

func (*Log) Write

func (self *Log) Write(p []byte) (n int, err error)

func (*Log) WriteTo

func (self *Log) WriteTo(w io.Writer) (n int64, err error)

func (*Log) WriteWithDockerStream

func (self *Log) WriteWithDockerStream(p []byte, stream uint8) (n int, err error)

type Vmm

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

func New

func New(config *spec.Launch) *Vmm

func (*Vmm) Connect

func (self *Vmm) Connect(cradleSockPath string) (context.Context, error)

func (*Vmm) HttpHandler

func (self *Vmm) HttpHandler() http.Handler

func (*Vmm) Shutdown

func (self *Vmm) Shutdown(msg string) error

func (*Vmm) Write

func (self *Vmm) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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