Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockService ¶
func NewMockService(resp MockResponse, assertions ...func(r *http.Request)) *httptest.Server
func NewMockServiceMultiResponse ¶
func NewMockServiceMultiResponse(responses []MockResponse, assertions ...func(r *http.Request)) *httptest.Server
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) UploadSBOM ¶
UploadSBOM mocks base method.
func (*MockClient) UploadSourceCode ¶
UploadSourceCode mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) UploadSBOM ¶
func (mr *MockClientMockRecorder) UploadSBOM(arg0, arg1 interface{}) *gomock.Call
UploadSBOM indicates an expected call of UploadSBOM.
func (*MockClientMockRecorder) UploadSourceCode ¶
func (mr *MockClientMockRecorder) UploadSourceCode(arg0, arg1 interface{}) *gomock.Call
UploadSourceCode indicates an expected call of UploadSourceCode.
type MockResponse ¶
type MockResponse struct {
// contains filtered or unexported fields
}
func NewMockResponse ¶
func NewMockResponse(c string, b []byte, status int) MockResponse
Click to show internal directories.
Click to hide internal directories.