Documentation ¶
Overview ¶
Package test provides helper functions for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitJobsWithSequenceRetry ¶
InitJobs initializes some proto jobs.
func MakeHTTPRequest ¶
func MakeHTTPRequest(httpVerb, url string, payload []byte, respStruct interface{}) (int, http.Header, error)
MakeHTTPRequest is a helper function for making an http request. The response body of the http request is unmarshalled into the struct pointed to by the respStruct argument (if it's not nil). The status code of the response and the response headers are returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.