Documentation ¶
Index ¶
- func Register(test Test)
- type Options
- type Suite
- func (suite *Suite) Capture(resp *http.Response) (*roundtripper.CapturedRequest, *roundtripper.CapturedResponse, error)
- func (suite *Suite) Delete(path string, header http.Header) (*http.Response, error)
- func (suite *Suite) Get(path string, header http.Header) (*http.Response, error)
- func (suite *Suite) Head(path string, header http.Header) (*http.Response, error)
- func (suite *Suite) K8sClient() client.Client
- func (suite *Suite) Patch(path string, header http.Header, body io.Reader) (*http.Response, error)
- func (suite *Suite) Post(path string, header http.Header, body io.Reader) (*http.Response, error)
- func (suite *Suite) Put(path string, header http.Header, body io.Reader) (*http.Response, error)
- func (suite *Suite) Run(t *testing.T)
- type Test
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Suite ¶
type Suite struct { Opt Options // contains filtered or unexported fields }
func (*Suite) Capture ¶
func (suite *Suite) Capture(resp *http.Response) (*roundtripper.CapturedRequest, *roundtripper.CapturedResponse, error)
Capture is modified from gateway-api's CapturedRequest, under Apache License 2.0.
Click to show internal directories.
Click to hide internal directories.