Documentation ¶
Index ¶
- type MockFrontendAPI
- type MockFrontendAPI_Expecter
- type MockFrontendAPI_ToSessionExecute_Call
- func (_c *MockFrontendAPI_ToSessionExecute_Call) Return(_a0 *client.Session, _a1 *http.Response, _a2 error) *MockFrontendAPI_ToSessionExecute_Call
- func (_c *MockFrontendAPI_ToSessionExecute_Call) Run(run func(r client.FrontendAPIToSessionRequest)) *MockFrontendAPI_ToSessionExecute_Call
- func (_c *MockFrontendAPI_ToSessionExecute_Call) RunAndReturn(...) *MockFrontendAPI_ToSessionExecute_Call
- type MockFrontendAPI_ToSession_Call
- func (_c *MockFrontendAPI_ToSession_Call) Return(_a0 client.FrontendAPIToSessionRequest) *MockFrontendAPI_ToSession_Call
- func (_c *MockFrontendAPI_ToSession_Call) Run(run func(ctx context.Context)) *MockFrontendAPI_ToSession_Call
- func (_c *MockFrontendAPI_ToSession_Call) RunAndReturn(run func(context.Context) client.FrontendAPIToSessionRequest) *MockFrontendAPI_ToSession_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFrontendAPI ¶
MockFrontendAPI is an autogenerated mock type for the FrontendAPI type
func NewMockFrontendAPI ¶
func NewMockFrontendAPI(t interface { mock.TestingT Cleanup(func()) }) *MockFrontendAPI
NewMockFrontendAPI creates a new instance of MockFrontendAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockFrontendAPI) EXPECT ¶
func (_m *MockFrontendAPI) EXPECT() *MockFrontendAPI_Expecter
func (*MockFrontendAPI) ToSession ¶
func (_m *MockFrontendAPI) ToSession(ctx context.Context) client.FrontendAPIToSessionRequest
ToSession provides a mock function with given fields: ctx
func (*MockFrontendAPI) ToSessionExecute ¶
func (_m *MockFrontendAPI) ToSessionExecute(r client.FrontendAPIToSessionRequest) (*client.Session, *http.Response, error)
ToSessionExecute provides a mock function with given fields: r
type MockFrontendAPI_Expecter ¶
type MockFrontendAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFrontendAPI_Expecter) ToSession ¶
func (_e *MockFrontendAPI_Expecter) ToSession(ctx interface{}) *MockFrontendAPI_ToSession_Call
ToSession is a helper method to define mock.On call
- ctx context.Context
func (*MockFrontendAPI_Expecter) ToSessionExecute ¶
func (_e *MockFrontendAPI_Expecter) ToSessionExecute(r interface{}) *MockFrontendAPI_ToSessionExecute_Call
ToSessionExecute is a helper method to define mock.On call
- r client.FrontendAPIToSessionRequest
type MockFrontendAPI_ToSessionExecute_Call ¶
MockFrontendAPI_ToSessionExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToSessionExecute'
func (*MockFrontendAPI_ToSessionExecute_Call) Return ¶
func (_c *MockFrontendAPI_ToSessionExecute_Call) Return(_a0 *client.Session, _a1 *http.Response, _a2 error) *MockFrontendAPI_ToSessionExecute_Call
func (*MockFrontendAPI_ToSessionExecute_Call) Run ¶
func (_c *MockFrontendAPI_ToSessionExecute_Call) Run(run func(r client.FrontendAPIToSessionRequest)) *MockFrontendAPI_ToSessionExecute_Call
func (*MockFrontendAPI_ToSessionExecute_Call) RunAndReturn ¶
func (_c *MockFrontendAPI_ToSessionExecute_Call) RunAndReturn(run func(client.FrontendAPIToSessionRequest) (*client.Session, *http.Response, error)) *MockFrontendAPI_ToSessionExecute_Call
type MockFrontendAPI_ToSession_Call ¶
MockFrontendAPI_ToSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToSession'
func (*MockFrontendAPI_ToSession_Call) Return ¶
func (_c *MockFrontendAPI_ToSession_Call) Return(_a0 client.FrontendAPIToSessionRequest) *MockFrontendAPI_ToSession_Call
func (*MockFrontendAPI_ToSession_Call) Run ¶
func (_c *MockFrontendAPI_ToSession_Call) Run(run func(ctx context.Context)) *MockFrontendAPI_ToSession_Call
func (*MockFrontendAPI_ToSession_Call) RunAndReturn ¶
func (_c *MockFrontendAPI_ToSession_Call) RunAndReturn(run func(context.Context) client.FrontendAPIToSessionRequest) *MockFrontendAPI_ToSession_Call