Documentation
¶
Index ¶
- func BinaryErrorCheck(err error, binaryPath string)
- func BuildBinaryPath() string
- func DoRequest(r *sling.Sling) *http.Response
- func Healthcheck(adminPort int)
- func Run(binary string, commands ...string) string
- type Hoverfly
- func (this Hoverfly) DeleteBoltDb()
- func (this Hoverfly) GetAdminPort() string
- func (this Hoverfly) GetMode() string
- func (this Hoverfly) GetProxyPort() string
- func (this Hoverfly) GetSimulation() io.Reader
- func (this Hoverfly) Proxy(r *sling.Sling) *http.Response
- func (this Hoverfly) SetMiddleware(binary, script string)
- func (this Hoverfly) SetMode(mode string)
- func (this *Hoverfly) Start(commands ...string)
- func (this Hoverfly) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryErrorCheck ¶
func BuildBinaryPath ¶
func BuildBinaryPath() string
func Healthcheck ¶
func Healthcheck(adminPort int)
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 (Hoverfly) GetProxyPort ¶
func (Hoverfly) GetSimulation ¶
func (Hoverfly) SetMiddleware ¶
Click to show internal directories.
Click to hide internal directories.