v1

package
v0.0.0-...-44f477e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

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) (string, error)

GetScanReport provides a mock function with given fields: scanRequestID, reportMIMEType

func (*Client) SubmitScan

func (_m *Client) SubmitScan(req *v1.ScanRequest) (*v1.ScanResponse, error)

SubmitScan provides a mock function with given fields: req

type ClientPool

type ClientPool struct {
	mock.Mock
}

ClientPool is an autogenerated mock type for the ClientPool type

func (*ClientPool) Get

func (_m *ClientPool) Get(url string, authType string, accessCredential string, skipCertVerify bool) (v1.Client, error)

Get provides a mock function with given fields: url, authType, accessCredential, skipCertVerify

type RequestResolver

type RequestResolver struct {
	mock.Mock
}

RequestResolver is an autogenerated mock type for the RequestResolver type

func (*RequestResolver) Execute

func (_m *RequestResolver) Execute(req *http.Request)

Execute provides a mock function with given fields: req

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL