github.com/kata-containers/runtime@v0.0.0-20210505125100-04f29832a923/virtcontainers/no_proxy.go (about) 1 // Copyright (c) 2017 Intel Corporation 2 // 3 // SPDX-License-Identifier: Apache-2.0 4 // 5 6 package virtcontainers 7 8 // This is the no proxy implementation of the proxy interface. This 9 // is a generic implementation for any case (basically any agent), 10 // where no actual proxy is needed. This happens when the combination 11 // of the VM and the agent can handle multiple connections without 12 // additional component to handle the multiplexing. Both the runtime 13 // and the shim will connect to the agent through the VM, bypassing 14 // the proxy model. 15 // That's why this implementation is very generic, and all it does 16 // is to provide both shim and runtime the correct URL to connect 17 // directly to the VM. 18 type noProxy struct { 19 proxyBuiltin 20 }