helper

package
v0.0.0-...-9ed7c3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL