This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
/
mock_guardduty.go
96 lines (83 loc) · 3.63 KB
/
mock_guardduty.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/cloudquery/cq-provider-aws/client (interfaces: GuardDutyClient)
// Package mocks is a generated GoMock package.
package mocks
import (
context "context"
reflect "reflect"
guardduty "github.com/aws/aws-sdk-go-v2/service/guardduty"
gomock "github.com/golang/mock/gomock"
)
// MockGuardDutyClient is a mock of GuardDutyClient interface.
type MockGuardDutyClient struct {
ctrl *gomock.Controller
recorder *MockGuardDutyClientMockRecorder
}
// MockGuardDutyClientMockRecorder is the mock recorder for MockGuardDutyClient.
type MockGuardDutyClientMockRecorder struct {
mock *MockGuardDutyClient
}
// NewMockGuardDutyClient creates a new mock instance.
func NewMockGuardDutyClient(ctrl *gomock.Controller) *MockGuardDutyClient {
mock := &MockGuardDutyClient{ctrl: ctrl}
mock.recorder = &MockGuardDutyClientMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockGuardDutyClient) EXPECT() *MockGuardDutyClientMockRecorder {
return m.recorder
}
// GetDetector mocks base method.
func (m *MockGuardDutyClient) GetDetector(arg0 context.Context, arg1 *guardduty.GetDetectorInput, arg2 ...func(*guardduty.Options)) (*guardduty.GetDetectorOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetDetector", varargs...)
ret0, _ := ret[0].(*guardduty.GetDetectorOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetDetector indicates an expected call of GetDetector.
func (mr *MockGuardDutyClientMockRecorder) GetDetector(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, "GetDetector", reflect.TypeOf((*MockGuardDutyClient)(nil).GetDetector), varargs...)
}
// ListDetectors mocks base method.
func (m *MockGuardDutyClient) ListDetectors(arg0 context.Context, arg1 *guardduty.ListDetectorsInput, arg2 ...func(*guardduty.Options)) (*guardduty.ListDetectorsOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListDetectors", varargs...)
ret0, _ := ret[0].(*guardduty.ListDetectorsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListDetectors indicates an expected call of ListDetectors.
func (mr *MockGuardDutyClientMockRecorder) ListDetectors(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, "ListDetectors", reflect.TypeOf((*MockGuardDutyClient)(nil).ListDetectors), varargs...)
}
// ListMembers mocks base method.
func (m *MockGuardDutyClient) ListMembers(arg0 context.Context, arg1 *guardduty.ListMembersInput, arg2 ...func(*guardduty.Options)) (*guardduty.ListMembersOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListMembers", varargs...)
ret0, _ := ret[0].(*guardduty.ListMembersOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListMembers indicates an expected call of ListMembers.
func (mr *MockGuardDutyClientMockRecorder) ListMembers(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, "ListMembers", reflect.TypeOf((*MockGuardDutyClient)(nil).ListMembers), varargs...)
}