Documentation ¶
Index ¶
- func CreateClient() (client *http.Client)
- func ReadBodyJson(res *http.Response, target interface{}, assert *assert.Assertions)
- func ReadBodyString(res *http.Response, assert *assert.Assertions) string
- func Send(req *http.Request, client *http.Client, t *testing.T) (res *http.Response)
- type ServiceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClient ¶
func ReadBodyJson ¶
func ReadBodyJson(res *http.Response, target interface{}, assert *assert.Assertions)
func ReadBodyString ¶
func ReadBodyString(res *http.Response, assert *assert.Assertions) string
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()
Click to show internal directories.
Click to hide internal directories.