Documentation
¶
Index ¶
- type ClientService
- func (_mock *ClientService) DeleteSwitch(params *switch_operations.DeleteSwitchParams, ...) (*switch_operations.DeleteSwitchOK, error)
- func (_m *ClientService) EXPECT() *ClientService_Expecter
- func (_mock *ClientService) FindSwitch(params *switch_operations.FindSwitchParams, ...) (*switch_operations.FindSwitchOK, error)
- func (_mock *ClientService) FindSwitches(params *switch_operations.FindSwitchesParams, ...) (*switch_operations.FindSwitchesOK, error)
- func (_mock *ClientService) ListSwitches(params *switch_operations.ListSwitchesParams, ...) (*switch_operations.ListSwitchesOK, error)
- func (_mock *ClientService) MigrateSwitch(params *switch_operations.MigrateSwitchParams, ...) (*switch_operations.MigrateSwitchOK, error)
- func (_mock *ClientService) NotifySwitch(params *switch_operations.NotifySwitchParams, ...) (*switch_operations.NotifySwitchOK, error)
- func (_mock *ClientService) RegisterSwitch(params *switch_operations.RegisterSwitchParams, ...) (*switch_operations.RegisterSwitchOK, *switch_operations.RegisterSwitchCreated, ...)
- func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_mock *ClientService) ToggleSwitchPort(params *switch_operations.ToggleSwitchPortParams, ...) (*switch_operations.ToggleSwitchPortOK, error)
- func (_mock *ClientService) UpdateSwitch(params *switch_operations.UpdateSwitchParams, ...) (*switch_operations.UpdateSwitchOK, error)
- type ClientService_DeleteSwitch_Call
- func (_c *ClientService_DeleteSwitch_Call) Return(deleteSwitchOK *switch_operations.DeleteSwitchOK, err error) *ClientService_DeleteSwitch_Call
- func (_c *ClientService_DeleteSwitch_Call) Run(run func(params *switch_operations.DeleteSwitchParams, ...)) *ClientService_DeleteSwitch_Call
- func (_c *ClientService_DeleteSwitch_Call) RunAndReturn(...) *ClientService_DeleteSwitch_Call
- type ClientService_Expecter
- func (_e *ClientService_Expecter) DeleteSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteSwitch_Call
- func (_e *ClientService_Expecter) FindSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSwitch_Call
- func (_e *ClientService_Expecter) FindSwitches(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSwitches_Call
- func (_e *ClientService_Expecter) ListSwitches(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListSwitches_Call
- func (_e *ClientService_Expecter) MigrateSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_MigrateSwitch_Call
- func (_e *ClientService_Expecter) NotifySwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_NotifySwitch_Call
- func (_e *ClientService_Expecter) RegisterSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_RegisterSwitch_Call
- func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
- func (_e *ClientService_Expecter) ToggleSwitchPort(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ToggleSwitchPort_Call
- func (_e *ClientService_Expecter) UpdateSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateSwitch_Call
- type ClientService_FindSwitch_Call
- func (_c *ClientService_FindSwitch_Call) Return(findSwitchOK *switch_operations.FindSwitchOK, err error) *ClientService_FindSwitch_Call
- func (_c *ClientService_FindSwitch_Call) Run(run func(params *switch_operations.FindSwitchParams, ...)) *ClientService_FindSwitch_Call
- func (_c *ClientService_FindSwitch_Call) RunAndReturn(...) *ClientService_FindSwitch_Call
- type ClientService_FindSwitches_Call
- func (_c *ClientService_FindSwitches_Call) Return(findSwitchesOK *switch_operations.FindSwitchesOK, err error) *ClientService_FindSwitches_Call
- func (_c *ClientService_FindSwitches_Call) Run(run func(params *switch_operations.FindSwitchesParams, ...)) *ClientService_FindSwitches_Call
- func (_c *ClientService_FindSwitches_Call) RunAndReturn(...) *ClientService_FindSwitches_Call
- type ClientService_ListSwitches_Call
- func (_c *ClientService_ListSwitches_Call) Return(listSwitchesOK *switch_operations.ListSwitchesOK, err error) *ClientService_ListSwitches_Call
- func (_c *ClientService_ListSwitches_Call) Run(run func(params *switch_operations.ListSwitchesParams, ...)) *ClientService_ListSwitches_Call
- func (_c *ClientService_ListSwitches_Call) RunAndReturn(...) *ClientService_ListSwitches_Call
- type ClientService_MigrateSwitch_Call
- func (_c *ClientService_MigrateSwitch_Call) Return(migrateSwitchOK *switch_operations.MigrateSwitchOK, err error) *ClientService_MigrateSwitch_Call
- func (_c *ClientService_MigrateSwitch_Call) Run(run func(params *switch_operations.MigrateSwitchParams, ...)) *ClientService_MigrateSwitch_Call
- func (_c *ClientService_MigrateSwitch_Call) RunAndReturn(...) *ClientService_MigrateSwitch_Call
- type ClientService_NotifySwitch_Call
- func (_c *ClientService_NotifySwitch_Call) Return(notifySwitchOK *switch_operations.NotifySwitchOK, err error) *ClientService_NotifySwitch_Call
- func (_c *ClientService_NotifySwitch_Call) Run(run func(params *switch_operations.NotifySwitchParams, ...)) *ClientService_NotifySwitch_Call
- func (_c *ClientService_NotifySwitch_Call) RunAndReturn(...) *ClientService_NotifySwitch_Call
- type ClientService_RegisterSwitch_Call
- func (_c *ClientService_RegisterSwitch_Call) Return(registerSwitchOK *switch_operations.RegisterSwitchOK, ...) *ClientService_RegisterSwitch_Call
- func (_c *ClientService_RegisterSwitch_Call) Run(run func(params *switch_operations.RegisterSwitchParams, ...)) *ClientService_RegisterSwitch_Call
- func (_c *ClientService_RegisterSwitch_Call) RunAndReturn(...) *ClientService_RegisterSwitch_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
- type ClientService_ToggleSwitchPort_Call
- func (_c *ClientService_ToggleSwitchPort_Call) Return(toggleSwitchPortOK *switch_operations.ToggleSwitchPortOK, err error) *ClientService_ToggleSwitchPort_Call
- func (_c *ClientService_ToggleSwitchPort_Call) Run(run func(params *switch_operations.ToggleSwitchPortParams, ...)) *ClientService_ToggleSwitchPort_Call
- func (_c *ClientService_ToggleSwitchPort_Call) RunAndReturn(...) *ClientService_ToggleSwitchPort_Call
- type ClientService_UpdateSwitch_Call
- func (_c *ClientService_UpdateSwitch_Call) Return(updateSwitchOK *switch_operations.UpdateSwitchOK, err error) *ClientService_UpdateSwitch_Call
- func (_c *ClientService_UpdateSwitch_Call) Run(run func(params *switch_operations.UpdateSwitchParams, ...)) *ClientService_UpdateSwitch_Call
- func (_c *ClientService_UpdateSwitch_Call) RunAndReturn(...) *ClientService_UpdateSwitch_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) DeleteSwitch ¶
func (_mock *ClientService) DeleteSwitch(params *switch_operations.DeleteSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.DeleteSwitchOK, error)
DeleteSwitch provides a mock function for the type ClientService
func (*ClientService) EXPECT ¶ added in v0.42.4
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) FindSwitch ¶
func (_mock *ClientService) FindSwitch(params *switch_operations.FindSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.FindSwitchOK, error)
FindSwitch provides a mock function for the type ClientService
func (*ClientService) FindSwitches ¶ added in v0.22.1
func (_mock *ClientService) FindSwitches(params *switch_operations.FindSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.FindSwitchesOK, error)
FindSwitches provides a mock function for the type ClientService
func (*ClientService) ListSwitches ¶
func (_mock *ClientService) ListSwitches(params *switch_operations.ListSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.ListSwitchesOK, error)
ListSwitches provides a mock function for the type ClientService
func (*ClientService) MigrateSwitch ¶ added in v0.38.0
func (_mock *ClientService) MigrateSwitch(params *switch_operations.MigrateSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.MigrateSwitchOK, error)
MigrateSwitch provides a mock function for the type ClientService
func (*ClientService) NotifySwitch ¶
func (_mock *ClientService) NotifySwitch(params *switch_operations.NotifySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.NotifySwitchOK, error)
NotifySwitch provides a mock function for the type ClientService
func (*ClientService) RegisterSwitch ¶
func (_mock *ClientService) RegisterSwitch(params *switch_operations.RegisterSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.RegisterSwitchOK, *switch_operations.RegisterSwitchCreated, error)
RegisterSwitch 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
func (*ClientService) ToggleSwitchPort ¶ added in v0.28.5
func (_mock *ClientService) ToggleSwitchPort(params *switch_operations.ToggleSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.ToggleSwitchPortOK, error)
ToggleSwitchPort provides a mock function for the type ClientService
func (*ClientService) UpdateSwitch ¶
func (_mock *ClientService) UpdateSwitch(params *switch_operations.UpdateSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.UpdateSwitchOK, error)
UpdateSwitch provides a mock function for the type ClientService
type ClientService_DeleteSwitch_Call ¶ added in v0.42.4
ClientService_DeleteSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSwitch'
func (*ClientService_DeleteSwitch_Call) Return ¶ added in v0.42.4
func (_c *ClientService_DeleteSwitch_Call) Return(deleteSwitchOK *switch_operations.DeleteSwitchOK, err error) *ClientService_DeleteSwitch_Call
func (*ClientService_DeleteSwitch_Call) Run ¶ added in v0.42.4
func (_c *ClientService_DeleteSwitch_Call) Run(run func(params *switch_operations.DeleteSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_DeleteSwitch_Call
func (*ClientService_DeleteSwitch_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_DeleteSwitch_Call) RunAndReturn(run func(params *switch_operations.DeleteSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.DeleteSwitchOK, error)) *ClientService_DeleteSwitch_Call
type ClientService_Expecter ¶ added in v0.42.4
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) DeleteSwitch ¶ added in v0.42.4
func (_e *ClientService_Expecter) DeleteSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteSwitch_Call
DeleteSwitch is a helper method to define mock.On call
- params *switch_operations.DeleteSwitchParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
func (*ClientService_Expecter) FindSwitch ¶ added in v0.42.4
func (_e *ClientService_Expecter) FindSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSwitch_Call
FindSwitch is a helper method to define mock.On call
- params *switch_operations.FindSwitchParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
func (*ClientService_Expecter) FindSwitches ¶ added in v0.42.4
func (_e *ClientService_Expecter) FindSwitches(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSwitches_Call
FindSwitches is a helper method to define mock.On call
- params *switch_operations.FindSwitchesParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
func (*ClientService_Expecter) ListSwitches ¶ added in v0.42.4
func (_e *ClientService_Expecter) ListSwitches(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListSwitches_Call
ListSwitches is a helper method to define mock.On call
- params *switch_operations.ListSwitchesParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
func (*ClientService_Expecter) MigrateSwitch ¶ added in v0.42.4
func (_e *ClientService_Expecter) MigrateSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_MigrateSwitch_Call
MigrateSwitch is a helper method to define mock.On call
- params *switch_operations.MigrateSwitchParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
func (*ClientService_Expecter) NotifySwitch ¶ added in v0.42.4
func (_e *ClientService_Expecter) NotifySwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_NotifySwitch_Call
NotifySwitch is a helper method to define mock.On call
- params *switch_operations.NotifySwitchParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
func (*ClientService_Expecter) RegisterSwitch ¶ added in v0.42.4
func (_e *ClientService_Expecter) RegisterSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_RegisterSwitch_Call
RegisterSwitch is a helper method to define mock.On call
- params *switch_operations.RegisterSwitchParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.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
func (*ClientService_Expecter) ToggleSwitchPort ¶ added in v0.42.4
func (_e *ClientService_Expecter) ToggleSwitchPort(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ToggleSwitchPort_Call
ToggleSwitchPort is a helper method to define mock.On call
- params *switch_operations.ToggleSwitchPortParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
func (*ClientService_Expecter) UpdateSwitch ¶ added in v0.42.4
func (_e *ClientService_Expecter) UpdateSwitch(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateSwitch_Call
UpdateSwitch is a helper method to define mock.On call
- params *switch_operations.UpdateSwitchParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...switch_operations.ClientOption
type ClientService_FindSwitch_Call ¶ added in v0.42.4
ClientService_FindSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSwitch'
func (*ClientService_FindSwitch_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FindSwitch_Call) Return(findSwitchOK *switch_operations.FindSwitchOK, err error) *ClientService_FindSwitch_Call
func (*ClientService_FindSwitch_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FindSwitch_Call) Run(run func(params *switch_operations.FindSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_FindSwitch_Call
func (*ClientService_FindSwitch_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FindSwitch_Call) RunAndReturn(run func(params *switch_operations.FindSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.FindSwitchOK, error)) *ClientService_FindSwitch_Call
type ClientService_FindSwitches_Call ¶ added in v0.42.4
ClientService_FindSwitches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSwitches'
func (*ClientService_FindSwitches_Call) Return ¶ added in v0.42.4
func (_c *ClientService_FindSwitches_Call) Return(findSwitchesOK *switch_operations.FindSwitchesOK, err error) *ClientService_FindSwitches_Call
func (*ClientService_FindSwitches_Call) Run ¶ added in v0.42.4
func (_c *ClientService_FindSwitches_Call) Run(run func(params *switch_operations.FindSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_FindSwitches_Call
func (*ClientService_FindSwitches_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_FindSwitches_Call) RunAndReturn(run func(params *switch_operations.FindSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.FindSwitchesOK, error)) *ClientService_FindSwitches_Call
type ClientService_ListSwitches_Call ¶ added in v0.42.4
ClientService_ListSwitches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSwitches'
func (*ClientService_ListSwitches_Call) Return ¶ added in v0.42.4
func (_c *ClientService_ListSwitches_Call) Return(listSwitchesOK *switch_operations.ListSwitchesOK, err error) *ClientService_ListSwitches_Call
func (*ClientService_ListSwitches_Call) Run ¶ added in v0.42.4
func (_c *ClientService_ListSwitches_Call) Run(run func(params *switch_operations.ListSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_ListSwitches_Call
func (*ClientService_ListSwitches_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_ListSwitches_Call) RunAndReturn(run func(params *switch_operations.ListSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.ListSwitchesOK, error)) *ClientService_ListSwitches_Call
type ClientService_MigrateSwitch_Call ¶ added in v0.42.4
ClientService_MigrateSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MigrateSwitch'
func (*ClientService_MigrateSwitch_Call) Return ¶ added in v0.42.4
func (_c *ClientService_MigrateSwitch_Call) Return(migrateSwitchOK *switch_operations.MigrateSwitchOK, err error) *ClientService_MigrateSwitch_Call
func (*ClientService_MigrateSwitch_Call) Run ¶ added in v0.42.4
func (_c *ClientService_MigrateSwitch_Call) Run(run func(params *switch_operations.MigrateSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_MigrateSwitch_Call
func (*ClientService_MigrateSwitch_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_MigrateSwitch_Call) RunAndReturn(run func(params *switch_operations.MigrateSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.MigrateSwitchOK, error)) *ClientService_MigrateSwitch_Call
type ClientService_NotifySwitch_Call ¶ added in v0.42.4
ClientService_NotifySwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotifySwitch'
func (*ClientService_NotifySwitch_Call) Return ¶ added in v0.42.4
func (_c *ClientService_NotifySwitch_Call) Return(notifySwitchOK *switch_operations.NotifySwitchOK, err error) *ClientService_NotifySwitch_Call
func (*ClientService_NotifySwitch_Call) Run ¶ added in v0.42.4
func (_c *ClientService_NotifySwitch_Call) Run(run func(params *switch_operations.NotifySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_NotifySwitch_Call
func (*ClientService_NotifySwitch_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_NotifySwitch_Call) RunAndReturn(run func(params *switch_operations.NotifySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.NotifySwitchOK, error)) *ClientService_NotifySwitch_Call
type ClientService_RegisterSwitch_Call ¶ added in v0.42.4
ClientService_RegisterSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterSwitch'
func (*ClientService_RegisterSwitch_Call) Return ¶ added in v0.42.4
func (_c *ClientService_RegisterSwitch_Call) Return(registerSwitchOK *switch_operations.RegisterSwitchOK, registerSwitchCreated *switch_operations.RegisterSwitchCreated, err error) *ClientService_RegisterSwitch_Call
func (*ClientService_RegisterSwitch_Call) Run ¶ added in v0.42.4
func (_c *ClientService_RegisterSwitch_Call) Run(run func(params *switch_operations.RegisterSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_RegisterSwitch_Call
func (*ClientService_RegisterSwitch_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_RegisterSwitch_Call) RunAndReturn(run func(params *switch_operations.RegisterSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.RegisterSwitchOK, *switch_operations.RegisterSwitchCreated, error)) *ClientService_RegisterSwitch_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
type ClientService_ToggleSwitchPort_Call ¶ added in v0.42.4
ClientService_ToggleSwitchPort_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToggleSwitchPort'
func (*ClientService_ToggleSwitchPort_Call) Return ¶ added in v0.42.4
func (_c *ClientService_ToggleSwitchPort_Call) Return(toggleSwitchPortOK *switch_operations.ToggleSwitchPortOK, err error) *ClientService_ToggleSwitchPort_Call
func (*ClientService_ToggleSwitchPort_Call) Run ¶ added in v0.42.4
func (_c *ClientService_ToggleSwitchPort_Call) Run(run func(params *switch_operations.ToggleSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_ToggleSwitchPort_Call
func (*ClientService_ToggleSwitchPort_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_ToggleSwitchPort_Call) RunAndReturn(run func(params *switch_operations.ToggleSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.ToggleSwitchPortOK, error)) *ClientService_ToggleSwitchPort_Call
type ClientService_UpdateSwitch_Call ¶ added in v0.42.4
ClientService_UpdateSwitch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSwitch'
func (*ClientService_UpdateSwitch_Call) Return ¶ added in v0.42.4
func (_c *ClientService_UpdateSwitch_Call) Return(updateSwitchOK *switch_operations.UpdateSwitchOK, err error) *ClientService_UpdateSwitch_Call
func (*ClientService_UpdateSwitch_Call) Run ¶ added in v0.42.4
func (_c *ClientService_UpdateSwitch_Call) Run(run func(params *switch_operations.UpdateSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption)) *ClientService_UpdateSwitch_Call
func (*ClientService_UpdateSwitch_Call) RunAndReturn ¶ added in v0.42.4
func (_c *ClientService_UpdateSwitch_Call) RunAndReturn(run func(params *switch_operations.UpdateSwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...switch_operations.ClientOption) (*switch_operations.UpdateSwitchOK, error)) *ClientService_UpdateSwitch_Call