Documentation
¶
Index ¶
Constants ¶
View Source
const ( TestCAFile = "anp-test-ca.crt" TestServerCertFile = "anp-test-server.crt" TestServerKeyFile = "anp-test-server.key" TestAgentCertFile = "anp-test-agent.crt" TestAgentKeyFile = "anp-test-agent.key" )
Variables ¶
View Source
var CertsDir string // Initialized with InitCertsDir
Functions ¶
func InitCertsDir ¶
func InitCertsDir() error
InitCertsDir writes the above certificates & keys to a temporary directory.
Types ¶
type Framework ¶
type Framework struct { AgentRunner AgentRunner ProxyServerRunner ProxyServerRunner }
type InProcessAgentRunner ¶
type InProcessAgentRunner struct{}
type InProcessProxyServerRunner ¶
type InProcessProxyServerRunner struct{}
func (*InProcessProxyServerRunner) Start ¶
func (*InProcessProxyServerRunner) Start(t testing.TB, opts ProxyServerOpts) (ProxyServer, error)
type ProxyServer ¶
type ProxyServerOpts ¶
type ProxyServerRunner ¶
type ProxyServerRunner interface {
Start(testing.TB, ProxyServerOpts) (ProxyServer, error)
}
Click to show internal directories.
Click to hide internal directories.