Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) GetMetadata ¶
func (_m *Client) GetMetadata() (*v1.ScannerAdapterMetadata, error)
GetMetadata provides a mock function with given fields:
func (*Client) GetScanReport ¶
func (_m *Client) GetScanReport(scanRequestID string, reportMIMEType string, urlParameter string) (string, error)
GetScanReport provides a mock function with given fields: scanRequestID, reportMIMEType, urlParameter
func (*Client) SubmitScan ¶
func (_m *Client) SubmitScan(req *v1.ScanRequest) (*v1.ScanResponse, error)
SubmitScan provides a mock function with given fields: req
type ClientPool ¶
ClientPool is an autogenerated mock type for the ClientPool type
func NewClientPool ¶
func NewClientPool(t interface { mock.TestingT Cleanup(func()) }) *ClientPool
NewClientPool creates a new instance of ClientPool. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type RequestResolver ¶
RequestResolver is an autogenerated mock type for the RequestResolver type
func NewRequestResolver ¶
func NewRequestResolver(t interface { mock.TestingT Cleanup(func()) }) *RequestResolver
NewRequestResolver creates a new instance of RequestResolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RequestResolver) Execute ¶
func (_m *RequestResolver) Execute(req *http.Request)
Execute provides a mock function with given fields: req