Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/snyk/cli
/ Close
Method
Close
cliv2/internal/proxy/proxy.go:243–245 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
241
}
242
243
func
(p *WrapperProxy) Close() {
244
p.Stop()
245
}
246
247
func
setGlobalProxyCA(certPEMBlock []byte, keyPEMBlock []byte) error {
248
goproxyCa, err := tls.X509KeyPair(certPEMBlock, keyPEMBlock)
Callers
15
Test_canGoThroughProxy
Function · 0.95
Test_proxyRejectsWithoutBasicAuthHeader
Function · 0.95
Test_proxyWithErrorHandler
Function · 0.80
copyFile
Function · 0.80
WriteToFile
Function · 0.80
InitCA
Function · 0.80
TestNetworkInjector_ErrorHandling
Function · 0.80
TestLegacyFeatureFlagInterceptor_Routing
Function · 0.80
GetHandler
Method · 0.80
sendAnalytics
Function · 0.80
loadJsonFile
Function · 0.80
TestManualLicenseDownload
Function · 0.80
Calls
1
Stop
Method · 0.95
Tested by
10
Test_canGoThroughProxy
Function · 0.76
Test_proxyRejectsWithoutBasicAuthHeader
Function · 0.76
Test_proxyWithErrorHandler
Function · 0.64
TestNetworkInjector_ErrorHandling
Function · 0.64
TestLegacyFeatureFlagInterceptor_Routing
Function · 0.64
loadJsonFile
Function · 0.64
TestManualLicenseDownload
Function · 0.64
TestManualLicenseDownloadHTTPError
Function · 0.64
TestNewHTTPClient_SetsUserAgent
Function · 0.64
TestNewHTTPClient_RetriesOn429
Function · 0.64