functional_tests

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryErrorCheck

func BinaryErrorCheck(err error, binaryPath string)

func BuildBinaryPath

func BuildBinaryPath() string

func DoRequest

func DoRequest(r *sling.Sling) *http.Response

func Healthcheck

func Healthcheck(adminPort int)

func Run

func Run(binary string, commands ...string) string

Types

type Hoverfly

type Hoverfly struct {
	// contains filtered or unexported fields
}

func NewHoverfly

func NewHoverfly() *Hoverfly

func (Hoverfly) DeleteBoltDb

func (this Hoverfly) DeleteBoltDb()

func (Hoverfly) GetAdminPort

func (this Hoverfly) GetAdminPort() string

func (Hoverfly) GetMode

func (this Hoverfly) GetMode() string

func (Hoverfly) GetProxyPort

func (this Hoverfly) GetProxyPort() string

func (Hoverfly) GetSimulation

func (this Hoverfly) GetSimulation() io.Reader

func (Hoverfly) Proxy

func (this Hoverfly) Proxy(r *sling.Sling) *http.Response

func (Hoverfly) ProxyWithAuth added in v0.10.2

func (this Hoverfly) ProxyWithAuth(r *sling.Sling, user, password string) *http.Response

func (Hoverfly) SetMiddleware

func (this Hoverfly) SetMiddleware(binary, script string)

func (Hoverfly) SetMode

func (this Hoverfly) SetMode(mode string)

func (*Hoverfly) Start

func (this *Hoverfly) Start(commands ...string)

func (Hoverfly) Stop

func (this Hoverfly) Stop()

Jump to

Keyboard shortcuts

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