Lines Matching defs:instance
39 type instance struct {
78 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) {
116 inst := &instance{
126 // Kill the previous instance in case it's still running.
148 func (inst *instance) waitBoot() error {
187 func (inst *instance) runscCmd(add ...string) *exec.Cmd {
205 func (inst *instance) Close() {
215 func (inst *instance) Forward(port int) (string, error) {
223 func (inst *instance) Copy(hostSrc string) (string, error) {
234 func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command string) (
295 func (inst *instance) guestProxy() (*os.File, error) {
327 func (inst *instance) Diagnose() bool {