Directories
¶
Path | Synopsis |
---|---|
Package govmtest is an API for running Go unit tests in the guest and collecting their results and test coverage.
|
Package govmtest is an API for running Go unit tests in the guest and collecting their results and test coverage. |
Package guest has functions for use in tests running in VM guests.
|
Package guest has functions for use in tests running in VM guests. |
internal
|
|
cover
Package cover adds an internal coverage function.
|
Package cover adds an internal coverage function. |
eventchannel
Package eventchannel holds the JSON definition of an event.
|
Package eventchannel holds the JSON definition of an event. |
failtesting
Package failtesting can be used to expect test failure in a Go test.
|
Package failtesting can be used to expect test failure in a Go test. |
json2test
Package json2test parses Go JSON test output.
|
Package json2test parses Go JSON test output. |
testevent
Package testevent holds events shared by guest and host.
|
Package testevent holds events shared by guest and host. |
Package qemu provides a Go API for starting QEMU VMs.
|
Package qemu provides a Go API for starting QEMU VMs. |
qcoverage
Package qcoverage allows collecting kernel and Go integration test coverage.
|
Package qcoverage allows collecting kernel and Go integration test coverage. |
qevent
Package qevent implements a JSON-based event channel between guest and host.
|
Package qevent implements a JSON-based event channel between guest and host. |
qfirmware
Package qfirmware provides firmware configurators for use with the Go qemu API.
|
Package qfirmware provides firmware configurators for use with the Go qemu API. |
qnetwork
Package qnetwork provides net device configurators for use with the Go qemu API.
|
Package qnetwork provides net device configurators for use with the Go qemu API. |
quimage
Package quimage provides a Go API for creating QEMU VMs with u-root uimage initramfses.
|
Package quimage provides a Go API for creating QEMU VMs with u-root uimage initramfses. |
Package scriptvm is an API to run shell scripts in a VM guest.
|
Package scriptvm is an API to run shell scripts in a VM guest. |
tests
|
|
cmds/donothing
nolint
|
nolint |
cmds/eventemitter
Command eventemitter emits guest events for a qemu/ test.
|
Command eventemitter emits guest events for a qemu/ test. |
cmds/eventemitter/event
Package event has a test event structure.
|
Package event has a test event structure. |
cmds/helloworld
Package helloworld prints hello world and shuts down.
|
Package helloworld prints hello world and shuts down. |
cmds/httpdownload
Command httpdownload configures networking with DHCP and downloads one web page.
|
Command httpdownload configures networking with DHCP and downloads one web page. |
gocover
Package helloworld exists so coverage is collected for something.
|
Package helloworld exists so coverage is collected for something. |
Package testtmp provides a temporary directory for tests that is only removed if the test passes.
|
Package testtmp provides a temporary directory for tests that is only removed if the test passes. |
tools
|
|
runvmtest
Module
|
|
vminit
|
|
gouinit
Command gouinit runs Go tests in a guest VM.
|
Command gouinit runs Go tests in a guest VM. |
shelluinit
Command shelluinit runs commands from an elvish script.
|
Command shelluinit runs commands from an elvish script. |
shutdownafter
Command shutdownafter runs a command given in args and shuts down.
|
Command shutdownafter runs a command given in args and shuts down. |
vmmount
Command vmmount mounts 9P directories as defined by env vars, runs a command, and unmounts them.
|
Command vmmount mounts 9P directories as defined by env vars, runs a command, and unmounts them. |
Click to show internal directories.
Click to hide internal directories.