Documentation
¶
Overview ¶
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const ( CollectorPort = 4444 AgentPort = 4445 HttpProxyPort = 3128 ActualHttpsProxyPort = 3129 HttpProxyName = "http-proxy" ActualHttpsProxyName = "https-proxy" CaBundleDir = "/cabundle" CollectorCertFile = CaBundleDir + "/collector.pem" CollectorKeyFile = CaBundleDir + "/collector.key" )
Some data that may be also bundled in the testing configuration files (Dockerfiles, bash scripts...)
Variables ¶
View Source
var ( HttpProxy = fmt.Sprintf("http://%s:%d", HttpProxyName, HttpProxyPort) HttpsProxy = fmt.Sprintf("https://%s:%d", HttpProxyName, HttpProxyPort) ActualHttpsProxy = fmt.Sprintf("https://%s:%d", ActualHttpsProxyName, ActualHttpsProxyPort) )
Addresses to be run inside a container
View Source
var ( AgentRestart = fmt.Sprintf("http://localhost:%d/restart", AgentPort) Collector = fmt.Sprintf("https://localhost:%d", CollectorPort) CollectorCleanup = Collector + "/cleanup" CollectorNextEvent = Collector + "/nextevent" CollectorUsedProxy = Collector + "/lastproxy" )
Addresses to be run from the tests (through the exposed ports)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.