Documentation
¶
Index ¶
- type MockServer
- type ProxyTestEmvironment
- func (p *ProxyTestEmvironment) CacheFile() string
- func (p *ProxyTestEmvironment) ConfigFile() string
- func (p *ProxyTestEmvironment) DockerComposeFile() string
- func (p *ProxyTestEmvironment) FixturePath() string
- func (p *ProxyTestEmvironment) HasDockerInstalled() bool
- func (p *ProxyTestEmvironment) RunDockerCompose(arg ...string)
- func (p *ProxyTestEmvironment) RunTestUsingExternalAuthLibrary() bool
- func (p *ProxyTestEmvironment) ScriptsPath() string
- func (p *ProxyTestEmvironment) StartProxyEnvironment()
- func (p *ProxyTestEmvironment) StopProxyEnvironment()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServer ¶
type MockServer struct {
Port int
ResponseList []*http.Response
RequestList []*http.Request
// contains filtered or unexported fields
}
func NewMockServer ¶
func NewMockServer() *MockServer
func (*MockServer) Listen ¶
func (m *MockServer) Listen()
func (*MockServer) ServeHTTP ¶
func (m *MockServer) ServeHTTP(writer http.ResponseWriter, request *http.Request)
type ProxyTestEmvironment ¶
type ProxyTestEmvironment struct {
// contains filtered or unexported fields
}
func NewProxyTestEnvironment ¶
func NewProxyTestEnvironment(RepositoryBaseDirectory string) *ProxyTestEmvironment
func (*ProxyTestEmvironment) CacheFile ¶
func (p *ProxyTestEmvironment) CacheFile() string
func (*ProxyTestEmvironment) ConfigFile ¶
func (p *ProxyTestEmvironment) ConfigFile() string
func (*ProxyTestEmvironment) DockerComposeFile ¶
func (p *ProxyTestEmvironment) DockerComposeFile() string
func (*ProxyTestEmvironment) FixturePath ¶
func (p *ProxyTestEmvironment) FixturePath() string
func (*ProxyTestEmvironment) HasDockerInstalled ¶
func (p *ProxyTestEmvironment) HasDockerInstalled() bool
func (*ProxyTestEmvironment) RunDockerCompose ¶
func (p *ProxyTestEmvironment) RunDockerCompose(arg ...string)
func (*ProxyTestEmvironment) RunTestUsingExternalAuthLibrary ¶
func (p *ProxyTestEmvironment) RunTestUsingExternalAuthLibrary() bool
func (*ProxyTestEmvironment) ScriptsPath ¶
func (p *ProxyTestEmvironment) ScriptsPath() string
func (*ProxyTestEmvironment) StartProxyEnvironment ¶
func (p *ProxyTestEmvironment) StartProxyEnvironment()
func (*ProxyTestEmvironment) StopProxyEnvironment ¶
func (p *ProxyTestEmvironment) StopProxyEnvironment()
Click to show internal directories.
Click to hide internal directories.