Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + func MakeExpiredTLSCert() tls.Certificate + func MakeSelfSignedTLSCert() tls.Certificate + func MakeTLSCertWithInvalidHost() tls.Certificate + func MakeUnauthorizedTLSCert() tls.Certificate + func RemoveWhiteSpaceFromBody(body string) string + type JSONArrayRequest []interface + func (json *JSONArrayRequest) String() string + type JSONMapRequest map[string]interface + func (json *JSONMapRequest) String() string + type RequestMatcher func(*http.Request) + func EmptyQueryParamMatcher() RequestMatcher + func RequestBodyMatcher(expectedBodyString string) RequestMatcher + func RequestBodyMatcherWithContentType(expectedBody, expectedContentType string) RequestMatcher + type TestHandler struct + CallCount int + Requests []TestRequest + func NewServer(requests []TestRequest) (*httptest.Server, *TestHandler) + func NewTLSServer(requests []TestRequest) (*httptest.Server, *TestHandler) + func (h *TestHandler) AllRequestsCalled() bool + func (h *TestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type TestRequest struct + Header http.Header + Matcher RequestMatcher + Method string + Path string + Response TestResponse + type TestResponse struct + Body string + Header http.Header + Status int Other modules containing this package github.com/LukasHeimann/cloudfoundrycli