-
Notifications
You must be signed in to change notification settings - Fork 1
/
mock.go
186 lines (162 loc) · 8.93 KB
/
mock.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/sagemakerfeaturestoreruntimeiface (interfaces: SageMakerFeatureStoreRuntimeAPI)
// Package sagemakerfeaturestoreruntimemock is a generated GoMock package.
package sagemakerfeaturestoreruntimemock
import (
context "context"
request "github.com/aws/aws-sdk-go/aws/request"
sagemakerfeaturestoreruntime "github.com/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockSageMakerFeatureStoreRuntimeAPI is a mock of SageMakerFeatureStoreRuntimeAPI interface
type MockSageMakerFeatureStoreRuntimeAPI struct {
ctrl *gomock.Controller
recorder *MockSageMakerFeatureStoreRuntimeAPIMockRecorder
}
// MockSageMakerFeatureStoreRuntimeAPIMockRecorder is the mock recorder for MockSageMakerFeatureStoreRuntimeAPI
type MockSageMakerFeatureStoreRuntimeAPIMockRecorder struct {
mock *MockSageMakerFeatureStoreRuntimeAPI
}
// NewMockSageMakerFeatureStoreRuntimeAPI creates a new mock instance
func NewMockSageMakerFeatureStoreRuntimeAPI(ctrl *gomock.Controller) *MockSageMakerFeatureStoreRuntimeAPI {
mock := &MockSageMakerFeatureStoreRuntimeAPI{ctrl: ctrl}
mock.recorder = &MockSageMakerFeatureStoreRuntimeAPIMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockSageMakerFeatureStoreRuntimeAPI) EXPECT() *MockSageMakerFeatureStoreRuntimeAPIMockRecorder {
return m.recorder
}
// DeleteRecord mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) DeleteRecord(arg0 *sagemakerfeaturestoreruntime.DeleteRecordInput) (*sagemakerfeaturestoreruntime.DeleteRecordOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteRecord", arg0)
ret0, _ := ret[0].(*sagemakerfeaturestoreruntime.DeleteRecordOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteRecord indicates an expected call of DeleteRecord
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) DeleteRecord(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRecord", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).DeleteRecord), arg0)
}
// DeleteRecordRequest mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) DeleteRecordRequest(arg0 *sagemakerfeaturestoreruntime.DeleteRecordInput) (*request.Request, *sagemakerfeaturestoreruntime.DeleteRecordOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteRecordRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*sagemakerfeaturestoreruntime.DeleteRecordOutput)
return ret0, ret1
}
// DeleteRecordRequest indicates an expected call of DeleteRecordRequest
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) DeleteRecordRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRecordRequest", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).DeleteRecordRequest), arg0)
}
// DeleteRecordWithContext mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) DeleteRecordWithContext(arg0 context.Context, arg1 *sagemakerfeaturestoreruntime.DeleteRecordInput, arg2 ...request.Option) (*sagemakerfeaturestoreruntime.DeleteRecordOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteRecordWithContext", varargs...)
ret0, _ := ret[0].(*sagemakerfeaturestoreruntime.DeleteRecordOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteRecordWithContext indicates an expected call of DeleteRecordWithContext
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) DeleteRecordWithContext(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, "DeleteRecordWithContext", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).DeleteRecordWithContext), varargs...)
}
// GetRecord mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) GetRecord(arg0 *sagemakerfeaturestoreruntime.GetRecordInput) (*sagemakerfeaturestoreruntime.GetRecordOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetRecord", arg0)
ret0, _ := ret[0].(*sagemakerfeaturestoreruntime.GetRecordOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetRecord indicates an expected call of GetRecord
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) GetRecord(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRecord", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).GetRecord), arg0)
}
// GetRecordRequest mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) GetRecordRequest(arg0 *sagemakerfeaturestoreruntime.GetRecordInput) (*request.Request, *sagemakerfeaturestoreruntime.GetRecordOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetRecordRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*sagemakerfeaturestoreruntime.GetRecordOutput)
return ret0, ret1
}
// GetRecordRequest indicates an expected call of GetRecordRequest
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) GetRecordRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRecordRequest", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).GetRecordRequest), arg0)
}
// GetRecordWithContext mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) GetRecordWithContext(arg0 context.Context, arg1 *sagemakerfeaturestoreruntime.GetRecordInput, arg2 ...request.Option) (*sagemakerfeaturestoreruntime.GetRecordOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetRecordWithContext", varargs...)
ret0, _ := ret[0].(*sagemakerfeaturestoreruntime.GetRecordOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetRecordWithContext indicates an expected call of GetRecordWithContext
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) GetRecordWithContext(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, "GetRecordWithContext", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).GetRecordWithContext), varargs...)
}
// PutRecord mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) PutRecord(arg0 *sagemakerfeaturestoreruntime.PutRecordInput) (*sagemakerfeaturestoreruntime.PutRecordOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PutRecord", arg0)
ret0, _ := ret[0].(*sagemakerfeaturestoreruntime.PutRecordOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PutRecord indicates an expected call of PutRecord
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) PutRecord(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutRecord", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).PutRecord), arg0)
}
// PutRecordRequest mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) PutRecordRequest(arg0 *sagemakerfeaturestoreruntime.PutRecordInput) (*request.Request, *sagemakerfeaturestoreruntime.PutRecordOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PutRecordRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*sagemakerfeaturestoreruntime.PutRecordOutput)
return ret0, ret1
}
// PutRecordRequest indicates an expected call of PutRecordRequest
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) PutRecordRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutRecordRequest", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).PutRecordRequest), arg0)
}
// PutRecordWithContext mocks base method
func (m *MockSageMakerFeatureStoreRuntimeAPI) PutRecordWithContext(arg0 context.Context, arg1 *sagemakerfeaturestoreruntime.PutRecordInput, arg2 ...request.Option) (*sagemakerfeaturestoreruntime.PutRecordOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "PutRecordWithContext", varargs...)
ret0, _ := ret[0].(*sagemakerfeaturestoreruntime.PutRecordOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PutRecordWithContext indicates an expected call of PutRecordWithContext
func (mr *MockSageMakerFeatureStoreRuntimeAPIMockRecorder) PutRecordWithContext(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, "PutRecordWithContext", reflect.TypeOf((*MockSageMakerFeatureStoreRuntimeAPI)(nil).PutRecordWithContext), varargs...)
}