Documentation
¶
Index ¶
- type ClientService
- type ClientService_Expecter
- type ClientService_Info_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) Info ¶
func (_mock *ClientService) Info(params *version.InfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...version.ClientOption) (*version.InfoOK, error)
Info 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) Info ¶ added in v0.42.4
func (_e *ClientService_Expecter) Info(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_Info_Call
Info is a helper method to define mock.On call
- params *version.InfoParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...version.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_Info_Call ¶ added in v0.42.4
ClientService_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*ClientService_Info_Call) Return ¶ added in v0.42.4
func (_c *ClientService_Info_Call) Return(infoOK *version.InfoOK, err error) *ClientService_Info_Call
func (*ClientService_Info_Call) Run ¶ added in v0.42.4
func (_c *ClientService_Info_Call) Run(run func(params *version.InfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...version.ClientOption)) *ClientService_Info_Call
func (*ClientService_Info_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_Info_Call) RunAndReturn(run func(params *version.InfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...version.ClientOption) (*version.InfoOK, error)) *ClientService_Info_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