Documentation
¶
Index ¶
- type ClientService
- type ClientService_Expecter
- type ClientService_GetMe_Call
- func (_c *ClientService_GetMe_Call) Return(getMeOK *user.GetMeOK, err error) *ClientService_GetMe_Call
- func (_c *ClientService_GetMe_Call) Run(run func(params *user.GetMeParams, authInfo runtime.ClientAuthInfoWriter, ...)) *ClientService_GetMe_Call
- func (_c *ClientService_GetMe_Call) RunAndReturn(...) *ClientService_GetMe_Call
- type ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶ added in v0.18.1
func NewClientService(t interface {
mock.TestingT
Cleanup(func())
}) *ClientService
NewClientService creates a new instance of ClientService. 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 (*ClientService) EXPECT ¶ added in v0.42.4
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) GetMe ¶
func (_mock *ClientService) GetMe(params *user.GetMeParams, authInfo runtime.ClientAuthInfoWriter, opts ...user.ClientOption) (*user.GetMeOK, error)
GetMe provides a mock function for the type ClientService
func (*ClientService) SetTransport ¶
func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function for the type ClientService
type ClientService_Expecter ¶ added in v0.42.4
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) GetMe ¶ added in v0.42.4
func (_e *ClientService_Expecter) GetMe(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetMe_Call
GetMe is a helper method to define mock.On call
- params *user.GetMeParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...user.ClientOption
func (*ClientService_Expecter) SetTransport ¶ added in v0.42.4
func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
SetTransport is a helper method to define mock.On call
- transport runtime.ClientTransport
type ClientService_GetMe_Call ¶ added in v0.42.4
ClientService_GetMe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMe'
func (*ClientService_GetMe_Call) Return ¶ added in v0.42.4
func (_c *ClientService_GetMe_Call) Return(getMeOK *user.GetMeOK, err error) *ClientService_GetMe_Call
func (*ClientService_GetMe_Call) Run ¶ added in v0.42.4
func (_c *ClientService_GetMe_Call) Run(run func(params *user.GetMeParams, authInfo runtime.ClientAuthInfoWriter, opts ...user.ClientOption)) *ClientService_GetMe_Call
func (*ClientService_GetMe_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_GetMe_Call) RunAndReturn(run func(params *user.GetMeParams, authInfo runtime.ClientAuthInfoWriter, opts ...user.ClientOption) (*user.GetMeOK, error)) *ClientService_GetMe_Call
type ClientService_SetTransport_Call ¶ added in v0.42.4
ClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'
func (*ClientService_SetTransport_Call) Return ¶ added in v0.42.4
func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) Run ¶ added in v0.42.4
func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call