Documentation ¶
Overview ¶
Package mock_grafeas is a generated GoMock package.
Index ¶
- type MockGrafeasAPIService
- func (m *MockGrafeasAPIService) CreateOccurrence(arg0 context.Context, arg1 string, arg2 objects.Occurrence) (objects.Occurrence, error)
- func (m *MockGrafeasAPIService) EXPECT() *MockGrafeasAPIServiceMockRecorder
- func (m *MockGrafeasAPIService) ListNotes(arg0 context.Context, arg1 string, arg2 *objects.ListOpts) (objects.ListNotesResponse, error)
- func (m *MockGrafeasAPIService) ListOccurrences(arg0 context.Context, arg1 string, arg2 *objects.ListOpts) (objects.ListOccurrencesResponse, error)
- type MockGrafeasAPIServiceMockRecorder
- func (mr *MockGrafeasAPIServiceMockRecorder) CreateOccurrence(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGrafeasAPIServiceMockRecorder) ListNotes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGrafeasAPIServiceMockRecorder) ListOccurrences(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGrafeasAPIService ¶
type MockGrafeasAPIService struct {
// contains filtered or unexported fields
}
MockGrafeasAPIService is a mock of GrafeasAPIService interface.
func NewMockGrafeasAPIService ¶
func NewMockGrafeasAPIService(ctrl *gomock.Controller) *MockGrafeasAPIService
NewMockGrafeasAPIService creates a new mock instance.
func (*MockGrafeasAPIService) CreateOccurrence ¶
func (m *MockGrafeasAPIService) CreateOccurrence(arg0 context.Context, arg1 string, arg2 objects.Occurrence) (objects.Occurrence, error)
CreateOccurrence mocks base method.
func (*MockGrafeasAPIService) EXPECT ¶
func (m *MockGrafeasAPIService) EXPECT() *MockGrafeasAPIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGrafeasAPIService) ListNotes ¶
func (m *MockGrafeasAPIService) ListNotes(arg0 context.Context, arg1 string, arg2 *objects.ListOpts) (objects.ListNotesResponse, error)
ListNotes mocks base method.
func (*MockGrafeasAPIService) ListOccurrences ¶
func (m *MockGrafeasAPIService) ListOccurrences(arg0 context.Context, arg1 string, arg2 *objects.ListOpts) (objects.ListOccurrencesResponse, error)
ListOccurrences mocks base method.
type MockGrafeasAPIServiceMockRecorder ¶
type MockGrafeasAPIServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGrafeasAPIServiceMockRecorder is the mock recorder for MockGrafeasAPIService.
func (*MockGrafeasAPIServiceMockRecorder) CreateOccurrence ¶
func (mr *MockGrafeasAPIServiceMockRecorder) CreateOccurrence(arg0, arg1, arg2 interface{}) *gomock.Call
CreateOccurrence indicates an expected call of CreateOccurrence.
func (*MockGrafeasAPIServiceMockRecorder) ListNotes ¶
func (mr *MockGrafeasAPIServiceMockRecorder) ListNotes(arg0, arg1, arg2 interface{}) *gomock.Call
ListNotes indicates an expected call of ListNotes.
func (*MockGrafeasAPIServiceMockRecorder) ListOccurrences ¶
func (mr *MockGrafeasAPIServiceMockRecorder) ListOccurrences(arg0, arg1, arg2 interface{}) *gomock.Call
ListOccurrences indicates an expected call of ListOccurrences.
Click to show internal directories.
Click to hide internal directories.