Documentation
¶
Index ¶
- type ClientService
- type ClientService_Expecter
- type ClientService_GetMasterdata_Call
- func (_c *ClientService_GetMasterdata_Call) Return(getMasterdataOK *masterdata.GetMasterdataOK, err error) *ClientService_GetMasterdata_Call
- func (_c *ClientService_GetMasterdata_Call) Run(...) *ClientService_GetMasterdata_Call
- func (_c *ClientService_GetMasterdata_Call) RunAndReturn(...) *ClientService_GetMasterdata_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.21
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.30.9
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) GetMasterdata ¶
func (_mock *ClientService) GetMasterdata(params *masterdata.GetMasterdataParams, authInfo runtime.ClientAuthInfoWriter, opts ...masterdata.ClientOption) (*masterdata.GetMasterdataOK, error)
GetMasterdata 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.30.9
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) GetMasterdata ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetMasterdata(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetMasterdata_Call
GetMasterdata is a helper method to define mock.On call
- params *masterdata.GetMasterdataParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...masterdata.ClientOption
func (*ClientService_Expecter) SetTransport ¶ added in v0.30.9
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_GetMasterdata_Call ¶ added in v0.30.9
ClientService_GetMasterdata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMasterdata'
func (*ClientService_GetMasterdata_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetMasterdata_Call) Return(getMasterdataOK *masterdata.GetMasterdataOK, err error) *ClientService_GetMasterdata_Call
func (*ClientService_GetMasterdata_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetMasterdata_Call) Run(run func(params *masterdata.GetMasterdataParams, authInfo runtime.ClientAuthInfoWriter, opts ...masterdata.ClientOption)) *ClientService_GetMasterdata_Call
func (*ClientService_GetMasterdata_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetMasterdata_Call) RunAndReturn(run func(params *masterdata.GetMasterdataParams, authInfo runtime.ClientAuthInfoWriter, opts ...masterdata.ClientOption) (*masterdata.GetMasterdataOK, error)) *ClientService_GetMasterdata_Call
type ClientService_SetTransport_Call ¶ added in v0.30.9
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.30.9
func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) Run ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call