base

package
v0.0.0-...-731e0e7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient() (client *http.Client)

func ReadBodyJson

func ReadBodyJson(res *http.Response, target interface{}, assert *assert.Assertions)

func ReadBodyString

func ReadBodyString(res *http.Response, assert *assert.Assertions) string

func Send

func Send(req *http.Request, client *http.Client, t *testing.T) (res *http.Response)

Types

type ServiceInfo

type ServiceInfo struct {
	Name string
	// contains filtered or unexported fields
}

func ServiceSetup

func ServiceSetup(setupName string) *ServiceInfo

func (*ServiceInfo) ClearEnv

func (serviceInfo *ServiceInfo) ClearEnv() *ServiceInfo

func (*ServiceInfo) Env

func (serviceInfo *ServiceInfo) Env(key, value string) *ServiceInfo

func (*ServiceInfo) RestartFPA

func (serviceInfo *ServiceInfo) RestartFPA() *ServiceInfo

func (*ServiceInfo) Start

func (serviceInfo *ServiceInfo) Start() *ServiceInfo

func (*ServiceInfo) Stop

func (serviceInfo *ServiceInfo) Stop()

Jump to

Keyboard shortcuts

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