mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-28 20:15:51 +00:00
For no proxy type, we also need the feature of watch hypervisor's console to help debug. Fixes:#1932 Signed-off-by: lifupan <lifupan@gmail.com>
21 lines
733 B
Go
21 lines
733 B
Go
// Copyright (c) 2017 Intel Corporation
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package virtcontainers
|
|
|
|
// This is the no proxy implementation of the proxy interface. This
|
|
// is a generic implementation for any case (basically any agent),
|
|
// where no actual proxy is needed. This happens when the combination
|
|
// of the VM and the agent can handle multiple connections without
|
|
// additional component to handle the multiplexing. Both the runtime
|
|
// and the shim will connect to the agent through the VM, bypassing
|
|
// the proxy model.
|
|
// That's why this implementation is very generic, and all it does
|
|
// is to provide both shim and runtime the correct URL to connect
|
|
// directly to the VM.
|
|
type noProxy struct {
|
|
proxyBuiltin
|
|
}
|