proxy: decouple from sandbox

A proxy is mostly associated with an agent. Decouple it from sandbox
so that we can start it before linking vm with an actual sandbox.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
Peng Tao
2018-08-17 16:44:10 +08:00
parent f39fa5d489
commit 8f77c33d68
12 changed files with 177 additions and 130 deletions

View File

@@ -12,5 +12,5 @@ import (
func TestCCProxyStart(t *testing.T) {
proxy := &ccProxy{}
testProxyStart(t, nil, proxy, CCProxyType)
testProxyStart(t, nil, proxy)
}