Lines Matching defs:instance
48 type instance struct { struct
49 cfg *Config
50 archConfig *archConfig
51 image string
52 debug bool
53 os string
54 workdir string
55 sshkey string
56 sshuser string
57 port int
58 rpipe io.ReadCloser
59 wpipe io.WriteCloser
60 qemu *exec.Cmd
61 merger *vmimpl.OutputMerger
62 files map[string]string
63 diagnose chan bool
279 func (inst *instance) Close() {
295 func (inst *instance) Boot() error {
389 func (inst *instance) Forward(port int) (string, error) {
397 func (inst *instance) targetDir() string {
404 func (inst *instance) Copy(hostSrc string) (string, error) {
429 func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command string) (
504 func (inst *instance) Diagnose() bool {