This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
/
inspector_v2.go
56 lines (47 loc) · 1.96 KB
/
inspector_v2.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/cloudquery/cq-provider-aws/client (interfaces: InspectorV2Client)
// Package mocks is a generated GoMock package.
package mocks
import (
context "context"
reflect "reflect"
inspector2 "github.com/aws/aws-sdk-go-v2/service/inspector2"
gomock "github.com/golang/mock/gomock"
)
// MockInspectorV2Client is a mock of InspectorV2Client interface.
type MockInspectorV2Client struct {
ctrl *gomock.Controller
recorder *MockInspectorV2ClientMockRecorder
}
// MockInspectorV2ClientMockRecorder is the mock recorder for MockInspectorV2Client.
type MockInspectorV2ClientMockRecorder struct {
mock *MockInspectorV2Client
}
// NewMockInspectorV2Client creates a new mock instance.
func NewMockInspectorV2Client(ctrl *gomock.Controller) *MockInspectorV2Client {
mock := &MockInspectorV2Client{ctrl: ctrl}
mock.recorder = &MockInspectorV2ClientMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockInspectorV2Client) EXPECT() *MockInspectorV2ClientMockRecorder {
return m.recorder
}
// ListFindings mocks base method.
func (m *MockInspectorV2Client) ListFindings(arg0 context.Context, arg1 *inspector2.ListFindingsInput, arg2 ...func(*inspector2.Options)) (*inspector2.ListFindingsOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListFindings", varargs...)
ret0, _ := ret[0].(*inspector2.ListFindingsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListFindings indicates an expected call of ListFindings.
func (mr *MockInspectorV2ClientMockRecorder) ListFindings(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListFindings", reflect.TypeOf((*MockInspectorV2Client)(nil).ListFindings), varargs...)
}